Re:How to handle 1000s of concurrent users on a 360MB VPS
by StavrosK on Saturday May 28, 2011 @01:33PM
(#2594814)
I see, thanks. Since nginx would proxy gunicorn anyway, I don't think it would be any different, though, would it... It sounds like a good solution, I'll go with that, thanks.
[ Parent
| on HN ]
Re:How to handle 1000s of concurrent users on a 360MB VPS
by flexd on Saturday May 28, 2011 @03:38PM
(#2595041)
I don't know how websockets works with varnish though, but you could run varnish on port 80, nginx on 81 and have the websockets hit :81 to get proxied through nginx I guess, you would still get good caching of normal content through varnish! :)
Re:How to handle 1000s of concurrent users on a 360MB VPS
by StavrosK on Saturday May 28, 2011 @03:46PM
(#2595055)
That's a good idea, but if you can run WebSockets on a different port you can just have it go straight through :p
Re:How to handle 1000s of concurrent users on a 360MB VPS
by flexd on Saturday May 28, 2011 @04:02PM
(#2595090)
For some reason I can't respond to your other post, but yeah that makes sense too. Let me know what you end up doing, would be nice to discuss it more :-) I'm on irc a few places (freenode and efnet mostly) if you want.