If performance and scalability are important you'll:
1) use xmpp as the backend
2) use evented anything over apache/fork/php (I recommend Twisted).
You can still serve all the html, etc, with php, but hit the twisted
server with the ajax long poll.
If you google around, you'll find the consensus of many before you.
-- troy
On Mar 14, 2009, at 5:36 AM, howard chen wrote:
Hi,
On Sat, Mar 14, 2009 at 8:20 PM, Sven Helmberger <[email protected]
> wrote:
This sounds like it could be the main performance problem. I would
expect
some form of COMET or even the long request pattern to improve your
performance.
Yes, but we are serving many concurrent users, so I don't want to hold
a persistence connection from the server to client. (we are using
Apache2/pre_fork, mod_php)
As since our polling interval is adaptive, is it quite easy to scale
by adding servers currently.
Howard