Does anyone have recent information on how much traffic being on the HN frontpage gets you? Would be helpful to know.
15-20k but can be easy solved with CloudFlare full page cache rule
Likely possible to handle HN load just fine... if the page was static.
edit: page loaded. It's apparently Microdot, a micro web framework running on micropython.
it's currently dead
That explains why it instantly fell over
Well yeah, anything is easy if your server isn't doing the work.
“This website is run on an ESP32 chip that only cost $3 as for my proxy, I’m using distributed cluster of rack servers and relays”
My website runs on baling twine and duct tape (...and CloudFlare).
I think it will drop most of the traffic, as I posted in load test results. The traffic coming to this is crazy. I can see nginx access logs and requests are not stopping!!
Why don't you configure the nginx that's in front to cache? I mean, it's still hosted on the device, it's just got a caching proxy in front, like all the big boys do.
Its good idea, I never tried or probably didn't know much about nginx caching. Will Nginx cache webpage and serve directly without hitting much the esp32 server. I am going to read on it now
Just did it !! Enabling 10m caching on nginx now (It is good atleast now the link will open from HN homepage). Thanks for suggesting this, I should have done it before