phpdaemonPHP 異步框架
phpdaemon 是 PHP 異步框架,使用 libevent 實現(xiàn),它擁有很多特性。為應對高負載而設計。每一個worker可以處理上千個并發(fā)連接。
主要特性:
-
強大的服務器: HTTP, FastCGI, FlashPolicy, Ident, Socks4/5.
-
許多綁定的客戶端: DNS, MySQL, Postgresql, Memcache, MongoDB, Redis, HTTP, IRC, Jabber, ICMP, Valve games client, etc.
-
異步文件系統(tǒng) I/O (使用 eio).
-
許多有用的內(nèi)置應用: CGI.
-
交互式調(diào)試工作臺
-
Dynamic spawning workers.
-
Chroot & Chdir for workers.
-
更新后自動平滑重載用戶腳本
-
Graceful worker shutdown (and re-spawn if necessary) by the following limits: memory, query counter, idle time.
主進程信號:
SIGINT, SIGTERM, SIGQUIT - termination. SIGHUP - update config from file. SIGUSR1 - reopen log-file. SIGUSR2 - graceful restart all workers.
評論
圖片
表情
