摘要
Moodle 2需要运行在PHP 5.3平台上,如何利用PHP 5.3通过PHP-FPM服务器管理PHP FastCGI进程的特性来提升Moodle 2系统性能是一个亟待解决的关键问题。为此,提出了一种基于LNMP的Moodle 2分布式计算架构,并成功研制出样机。经功能测试和性能测试表明,该系统较单服务器系统提高了5倍的并发访问能力,而CPU使用率却降低了26.2%,实现了Moodle 2的高并发和高速访问,并具有负载均衡、弹性伸缩和容错性强的特点,为PHP系统特别是Moodle 2系统的大规模推广应用提供了重要技术参考。
Moodle 2 operates on PHP 5.3 platform. It is an urgent problem how to use PHP 5.Ys characteristic of PHP-FPM server managing PHP FastCGI process to enhance the Moodle system performance. Moodle 2 distributed computing architecture based on LNMP is proposed. A prototype is developed successfully. The functional testing and performance testing show that five-fold increase concurrent access capability is obtained compared to the single-server systems, while CPU usage is reduced by 26.2%. Moodle 2's high concurrency and high-speed access are achieved, together with characteristics of balance, flexibility, fault-tolerance, which provides an important technical reference for PHP system and especially for the Moodle system's large-scale application.
出处
《计算机时代》
2013年第6期5-8,共4页
Computer Era
基金
2012年度浙江省教育技术研究规划课题(重点JA013)