且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

碉堡完整的高性能PHP应用服务器appserver

更新时间:2022-07-18 15:09:42

完全企业级的开发模式,是一个多线程的 PHP 应用服务器,实现真正多线程的 PHP 编程,高效安全而且快速,以Magento 为例比基于 Nginx标准安装要快 50%。概念上非常像 Java 的 Servlet。

完全是企业级开发所需要的特性,你懂吗?

http://www.appserver.io/

这比我要用Quercus来实现这些企业级特性来得更直接!!!

亮点:

  • Servlet引擎,完整支持 HTTP 1.1
  • Web Socket引擎,基于Ratchet
  • 集群特性
  • 应用热部署
  • 使用 Doctrine 作为标准的持久层

  • Session Beans (stateful, stateless + singleton)

  • Message Beans

  • Timer Service (tbd) 

  • Servlet Engine

  • 集成消息队列

  • Webservices

要求:

  • PHP 5.4+ on x64 or x86

  • ZTS enabled (thread safety)

  • POSIX threads implementation

  • Memcached (2.1+)

 

安装

Debian Wheezy

root@debian:~# echo “deb http://deb.appserver.io/ wheezy main” >> /etc/apt/sources.list
root@debian:~# wget http://deb.appserver.io/appserver.gpg
root@debian:~# cat appserver.gpg | apt-key add -
root@debian:~# aptitude update
root@debian:~# aptitude install appserver