News for hackers. Stuff that matters.
Re:HN Plays 2048 by thedufer on Thursday March 20, 2014 @11:24AM (#7436085)
How does this work for non-socket transports? You have to be saving the broadcasts in case someone is polling, right?
Re:HN Plays 2048 by babuskov on Friday March 21, 2014 @08:53PM (#7446276)
I'm not sure what you mean by "saving the broadcasts". Can you give an example?

Some 11% of clients are using XHR or JSONP protocols and it it Just Works(tm), I did not add anything special.

Re:HN Plays 2048 by thedufer on Tuesday March 25, 2014 @12:10PM (#7466699)
You said you don't use Redis/MemoryStore, but when you broadcast something it has to be saved somewhere until all of the polling sessions get it. Where is it being saved?