My £4 a month server can handle 4.2M requests a day
21–30 of 479 posts
Re: My £4 a month server can handle 4.2M requests a day
#22This is a good, simple way to show how much can be done with modest resources. Sometimes we see people fetishizing bigger and faster, then gatekeeping when people want to do the same work with modest means, whether it a four quid a month hosting service or a first generation Raspberry Pi. Not everyone has the money or desire for bigger & faster, and it's nice to see that here.
Re: My £4 a month server can handle 4.2M requests a day
#23How did this make it to the number two spot on HackerNews?
~10k rps (it was concurrent connections but close enough) was state of the art in 1999. Now 22 years later ~50 rps is somehow impressive.
Re: My £4 a month server can handle 4.2M requests a day
#24Re: My £4 a month server can handle 4.2M requests a day
#25I understand your excitement for being able to handle a decent amount of requests on such a small server, but just like many other websites that get on the frontpage of HN, your site is taking multiple seconds to load for me, depending on when I refresh. As you said in your post, adding caching to your site increased your throughput by ~20% (or +10/req/sec). What you and other sites seem to lack is a more distributed…
Yeah if I was building a business website I would want distributed caching/a CDN, mainly to support spikes, like what is happening now!
(Obviously the sales thing doesn't apply to OP)
Re: My £4 a month server can handle 4.2M requests a day
#26Sure, that's true - but to try to progress the conversation: how would you measure the complexity of serving web requests, in order to perform more advanced cost comparisons?
(bandwidth wouldn't be quite right.. or at least not sufficient - maybe something like I/O, memory and compute resource used?)
Re: My £4 a month server can handle 4.2M requests a day
#27I understand your excitement for being able to handle a decent amount of requests on such a small server, but just like many other websites that get on the frontpage of HN, your site is taking multiple seconds to load for me, depending on when I refresh. As you said in your post, adding caching to your site increased your throughput by ~20% (or +10/req/sec). What you and other sites seem to lack is a more distributed…
200 rps is not great.
I haven't read recently, but they were only doing 200 rps per server.
Re: My £4 a month server can handle 4.2M requests a day
#28I'm really more surprised that static serving is so slow at 180 rps. This should be able to easily saturate the network, statically serving files is very, very fast. From what I see in the blog I doubt that the files are very large, so there is probably some other bottleneck or I'm missing something here.
Re: My £4 a month server can handle 4.2M requests a day
#29Visitors don't come neatly one after the other. You might only have 1M requests a day but get random spikes with 100 requests at the same time.