Y
Hacker News
new
|
ask
|
show
|
jobs
by
theazureguy
38 days ago
haha not quite, db was struggling under the load for a few minutes. b1ms postgres doesn't love 6k requests in 30 mins.
3 comments
firefoxd
38 days ago
A 30 second memcached/redis/etc goes a long way when sharing on HN. You go from 6k db hits to 60 hits in 30 minutes. Worked for me since 2013 [0].
[0]:
https://idiallo.com/blog/handling-1-million-web-request
link
theazureguy
38 days ago
already on it, just shipped in-memory output caching while the thread was live. next step redis if it needs it
link
GordonS
38 days ago
Those tiny b1ms VMs are absolutely pitiful (long time Azure sufferer here). It's crazy how little compute and memory Azure give you for so much money.
link
theazureguy
38 days ago
yeah scaling it up now, was hoping to keep costs down but HN had other ideas
link
isoprophlex
38 days ago
Using azure managed PG is certainly an interesting choice if you were hoping to keep costs down
link
alentodorov
38 days ago
try CF. tried a
version of this in feb, and it handles quite fine even under ai bot surges of 1.5m hits per day. and it’s still within the free limit btw ;)
stationwatch.co.uk
link
kaiwn
38 days ago
That’s… 3.3 r/s?
link
[0]: https://idiallo.com/blog/handling-1-million-web-request