[Twisted-Python] Persistence in browsers?
glyph at divmod.com
Fri Feb 4 21:46:59 EST 2005
Tibi Dondera wrote:
> Short version:
> I have 10.000 - 100.000 web browsers that are connected to my site, and
> I need to inform them __real-time__ (a max of 3-5 seconds delay) of an
> event that happened on the server. Is twisted the right way to go, given
> the fact that it promises asynchronous event handling ?
Wow. In short, "maybe". That is a lot of clients. I believe that
Twisted is probably up to the task, but regardless of which solution you
choose, you are going to have to do a lot of tuning. Have you done any
prototyping yet? If you do, I definitely recommend inspecting the
different reactors for performance differences with your application.
rather than XMLHTTPRequest, just so that you don't end up using one of
your persistent connections up. Or, perhaps the notification site
should be notify.yourdomain.com rather than yourdomain.com, so that the
persistent connection doesn't count towards your "site"...
More information about the Twisted-Python