PHP 異步框架:phpdaemon
phpdaemon 是 PHP 異步框架,使用 libevent 實現,它擁有很多特性。為應對高負載而設計。每一個worker可以處理上千個并發連接。
主要特性:
-
High performance
- Cheap context switches,
high concurrency - Low memory consumption
for each connection/request - EIO support (asynchronous file
system I/O)
- Cheap context switches,
-
Flexibility
- Built-in SSL/TLS support (client/server)
- TCP/UDP transparent support (client/server)
- Extensible nature (PSR-0 compliance)
- Well configurable
- Feature-rich
-
Core features
- Dynamic Multi-Process Manager
- Chroot, nice, jail for worker processes
- Automatic graceful reloading user's
scripts when it's updated - Graceful worker shutdown (and
re-spawn if necessary) by the following
limits: memory, query counter, idle time
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!