计算机与现代化

• 应用与开发 • 上一篇    下一篇

一种面向高负载Sakai系统的性能优化方案

  

  1. 1.广西大学计算机与电子信息学院,广西南宁530004;
    2.百色职业学院,广西百色533000;3.百色市机电工程学校,广西百色533000
  • 收稿日期:2014-09-30 出版日期:2015-02-28 发布日期:2015-03-06
  • 作者简介:罗贵章(1973),男,广西柳州人,百色职业学院讲师,百色市机电工程学校讲师,广西大学计算机与电子信息学院硕士研究生,研究方向:计算机网络及并行分布式计算。

A Performance Optimization Schema for Huge Load Sakai System

  1. 1.School of Computer and Electronic Information, Guangxi University, Nanning 530004, China;〖HK〗
    2.Baise Vocational College, Baise 533000, China;
    3.Baise Mechanical and Electrical Engineering School, Baise 533000, China
  • Received:2014-09-30 Online:2015-02-28 Published:2015-03-06

摘要:

为了解决在大量用户参与的Sakai系统中,服务器承载巨大压力而导致服务质量下降甚至失效的问题,提出一种基于Linux高可用集群的解决方案。该方案通过HAProxy实现负载均衡,针对服务器结
点构建ActiveStandby和ActiveActive模式的热备份机制,提出并构建主从/读写分离的MySQL集群,实现可靠的、高并发读的数据库服务。实验结果表明本方案在负载均衡、数据库性能方面表现良好

关键词: Sakai, 高负载, 性能优化, 负载均衡, Session共享

Abstract:

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.

Key words: Sakai, huge load, performance optimization, load balancing, Session sharing

中图分类号: