3 ms·
To me it seems a little over-engineered but it held up so props to them.
by soup10 10y ago
To me it seems a little over-engineered but it held up so props to them.
- joezydeco 10y agoI 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.
- dmihal 10y agoReddit is like the 7th most popular website, features like this need to be able to handle significant load
- nojvek 10y agoWhy 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?
- soup10 10y agoFor 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.