Buildy: 1k HN users placed 250k objects in our HTML5 sandbox
blog.playbuildy.com
blog.playbuildy.com
Two questions:
1. As sockjs-tornado maintainer I'm very interested in project performance: what is average server load, how memory consumption looks like, etc;
2. Why do you use both Tornado and Firebase and not just one of them?
Setup: sockjs-tornado behind haproxy (on the same ec2 m1.large machine)
Over the 6-hour period the post was at the top of HN, there were about 480 concurrent users. At that time, the python process was using a grand 33 megabytes of memory and the overall system load was at 6%. Go sockjs-tornado :)
In the past couple days we've pushed 12+ gigabytes of real-time data through the server without restarting it. Memory usage has grown to a measly 60mb.
2. We've been using sockjs-tornado to push around ephemeral world update events, and Firebase for more persistent state-sync things like chat and presence. That's a pretty vague answer, I'll write it up better in a blog post!
Please feel free to reach out if you have any more questions -- my address is in my profile