william-os4y / fapws3

Fast Asynchronous Python Web Server (based on libev)
GNU General Public License v2.0
341 stars 38 forks source link

Http push #26

Closed caruccio closed 13 years ago

caruccio commented 13 years ago

Hi, as I told you 2 days ago, here is a prototype that adds http-push capabilities into fapws3. It is, obviously, bad written. Lots of improvements needed, but nothing supernatural. I have done some ab tests and got a really good performance with 40k concurrent clients. Instantaneous response.

To test it, you need to:

All clients should receive the same posted message (for the time it's generated inside push.py, but plan to use data from the POST).

PS: I hope to be doing the right pull-request. This is the first time I do it in github.