Hacker News new | ask | show | jobs
by 00deadbeef 958 days ago
It’s down now. If the typical hackernews traffic could all be queued up, how long would it take the ESP32 to finish processing it all?
2 comments

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
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”
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.

That explains why it instantly fell over
it's currently dead
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.
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
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