chabotc.nl » phpSocketDaemon
-
Chris Chabot has released a new PHP package called phpSocketDaemon. This is a blazingly fast and easy to use to create daemons listening on a socket. Here’s some of the benchmarks on a httpd server created using phpSocketDaemon published by Chris himself:
Using apache bench (ab) on my home computer, using 256 concurrent , keep-alive requests over 50000 requests this server was able to serve over 4500(!) pages a second, and each page with a max latency of 0.15ms.
Download this package or get the latest svn code from
http://phpsocketdaemon.googlecode.com/svn/trunk/phpsocketdaemonProject Page: http://code.google.com/p/phpsocketdaemon/
Advertisement
2 Comments
Leave a Comment
























December 19th, 2006 at 2:33 pm
That is one very cool way to use PHP. I’ve tried the socket programming myself but never got a good working system. And since I didn’t really have any use for it at that point, I just let it go to pursue other interesting ways to use php.
December 19th, 2006 at 3:37 pm
The same here - I tried socket programming for a project a while back, but failed miserably to get anything workable at that time.
This package opens up a lot of options for socket programming in PHP. My first tries with phpSocketDaemon have been quite successful and it’s so easy to make a listening daemon.