I'm building a long polling service with Redis pubsub with one channel per user. This thing should scale up to 1 million concurrent idle connections. Is it crazy or it should work?
I haven't quite wrapped my head around EM timers for EM.run. Should I use timers for long polling or .run method?
Also I can't seem to get the response streaming properly.
Deployment wise: I'm planning to use Nginx to reverse proxy to Goliath, and put Nginx's behind AWS ELB. That should work right?
There is nothing weird about Goliath like i.e. Websockets and ELB right?
And that last but not least, what's a good way to benchmark and perf test Goliath.
ab, httperf, any other suggestions?