2009/7/22 Brian O'Connor <[email protected]>: > Hello all, > > I've been using pylons for a little while now (actually just developed a > major university's newspaper web site in it), and am considering it for my > next project. > > This project entails using long-polling extensively and am curious as to how > pylons holds up to that. I plan to use nginx as the webserver.
A threaded server like pylons it's not a good idea for long pollings. Each request is a thread with considerable overhead. Forgot using nginx for long polling. Things that made great nginx are things that makes inviable to long polling. Use HAProxy instead. > > I'm concerned about having paste having several thousands of idle requests > at a given time and its performance when that happens...does anyone have any > experience with this? > > I've looked in to orbited (http://orbited.org) but no other part of my > application uses a TCP server so I would be creating one solely for the > purpose of abstracting the long polling out of my application which would > create a major headache in the long run trying to run a TCP server and a web > server with the right permissions set up all around. > Orbited looks great (it have a very good architecture). If you don't use it, copy it. > Any ideas are welcome! Take a look to ape-project and a queue server. http://www.ape-project.org/ Excuse my poor english. I hope you can understand me. Regards, Javi > > Thanks, > Brian O'Connor > > -- > Brian O'Connor > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
