为了解决在大量用户参与的Sakai系统中,服务器承载巨大压力而导致服务质量下降甚至失效的问题,提出一种基于Linux高可用集群的解决方案。该方案通过HAProxy实现负载均衡,针对服务器结点构建Active-Standby和Active-Ac-tive模式的热备份机制,提出并构建主从/读写分离的MySQL集群,实现可靠的、高并发读的数据库服务。实验结果表明本方案在负载均衡、数据库性能方面表现良好。%To address the problem that server failed and QoS declined in Sakai system when a large number of users participate, a Linux-based high availability cluster solutions is proposed.This schema achieved high load-balancing by HAProxy, Hot-standby mechanisms as Active-Standby and Active-Active were built for servers.A master-slave, read-write separated MySQL architecture was proposed, and it achieved high concurrent read database service.Experiments show that this schema has good effects in load balancing and database performance.
展开▼