Re: [PEPr] Comment on HTTP::HTTP_SessionServer
| From: | Stephan Schmidt | Date: | Sat, 16 Oct 2004 12:50:05 +0000 |
| Subject: | Re: [PEPr] Comment on HTTP::HTTP_SessionServer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33889@lists.php.net to get a copy of this message | ||
Hi,
Olivier Guilyardi wrote:
The protocol you use looks simple and efficient. But wouldn't it be more portable to write a msession client in PHP ? It could be loaded in case the msession extension is not available.This package is not about the client, but a server implementation in PHP. Writing a client for msession shouldn't be very hard, but this should be Net_MSession and would only be using fsockopen().
This way, by coding the client-side only, and relying on the msession original daemon, it should scale pretty well.As Net_Server scales very well (I did not expect PHP to handle 100 simultanous connections, but it does), HTTP_SessionServer should not cause any problems. Stephan