News for hackers. Stuff that matters.
Re:How We Built r/Place by soup10 on Thursday April 13, 2017 @09:02PM (#14111998)
To me it seems a little over-engineered but it held up so props to them.
Re:How We Built r/Place by joezydeco on Thursday April 13, 2017 @09:17PM (#14112056)
I have this hunch that Reddit engineers know what they're up against when they launch something like this. It can get out of control extremely fast when something catches on.
Re:How We Built r/Place by nojvek on Thursday April 13, 2017 @10:32PM (#14112346)
Why do you think it's over engineered. The scaling issues made sense. Cdn was a great move to limit throughput of requests. Redis made sense, javascript canvas and typedarrays made sense. How else would you have done it?
Re:How We Built r/Place by soup10 on Friday April 14, 2017 @08:38AM (#14114093)
For the core application of writing pixels to the board, I would of used a more efficient monolithic design with less points of failure. One big server could handle 333 pixels/s(their expected volume). Not sure that using cassandra and redis is really necessary or makes things easier.

The secondary goal of pushing pixel updates to lots of users would probably want separate hardware. I would probably fake it so its not really realtime. If you send the web client batches of updates to replay on the board it looks realtime and doesn't require persistent connections.

Re:How We Built r/Place by dmihal on Thursday April 13, 2017 @09:32PM (#14112129)
Reddit is like the 7th most popular website, features like this need to be able to handle significant load