3 ms·
Last time, wasn't there someone here saying it was easy to do and they could do it in a weekend, and then actually delivered? Can't find it, but perhaps someone
by matsemann 5y ago
Last time, wasn't there someone here saying it was easy to do and they could do it in a weekend, and then actually delivered? Can't find it, but perhaps someone here remember more about it?
- Liquid_Fire 5y agoI'm sure it's not too difficult to build if you don't need to scale it up to a similar number of users (especially bots). How would you test that it's actually capable of that? Even the article mentions they ran into unexpected issues despite all the load testing.
- pg_bot 5y agoGiven the right tools, you should be able to handle double the max load that they are expecting given a beefy enough server. Their architecture is a bit too complex for my taste, but given that reddit is written in python it is not surprising that this was the direction that they took. You could use tsung (http://tsung.erlang-projects.org/1/01/about/ http://tsung.erlang-projects.org/1/01/about/) to test workloads at that level. This would be a pretty straightforward project to build with erlang/elixir's gen_server abstraction.
- zild3d 5y agoit's not really a ton of code to write (around 3400 lines) https://github.com/reddit-archive/reddit-plugin-place-opensource https://github.com/reddit-archive/reddit-plugin-place-openso... the harder part is scaling the number of requests and active websockets
- Sohcahtoa82 5y agoThere are probably a lot of programs that could be built in a weekend. I imagine any competent full-stack developer could make a Twitter clone in an afternoon. The challenge is making it scale. That developed-in-an-afternoon Twitter clone probably won't be able to handle an active user count in the 4 digits, let alone the 7+ digits Twitter has now.
- hghmn 5y agoThe challenge: https://news.ycombinator.com/item?id=14111143 https://news.ycombinator.com/item?id=14111143, and the follow-through: https://news.ycombinator.com/item?id=14124934 https://news.ycombinator.com/item?id=14124934
- matsemann 5y agoThanks!