Re:How We Built r/Place
by renlo on Friday April 14, 2017 @12:32PM
(#14115392)
Very cool man. For the real-time updates you keep the browser-client requests open, right? Any reason you did it that way?
[ Parent
| on HN ]
Well, the server needs to message the client with updates somehow. Either the client keeps a connection open or it has to periodically poll the client. Keeping a connection open is faster and it uses less system resources.