News for hackers. Stuff that matters.
Re:Website is hosted on ESP32 ($3 chip) by 00deadbeef on Sunday November 05, 2023 @01:48PM (#38154242)
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?
Re:Website is hosted on ESP32 ($3 chip) by notRobot on Sunday November 05, 2023 @01:51PM (#38154273)
Does anyone have recent information on how much traffic being on the HN frontpage gets you? Would be helpful to know.
Re:Website is hosted on ESP32 ($3 chip) by mobilio on Sunday November 05, 2023 @01:52PM (#38154293)
15-20k but can be easy solved with CloudFlare full page cache rule
Re:Website is hosted on ESP32 ($3 chip) by yjftsjthsd-h on Sunday November 05, 2023 @02:03PM (#38154421)
Well yeah, anything is easy if your server isn't doing the work.
Re:Website is hosted on ESP32 ($3 chip) by mikercampbell on Sunday November 05, 2023 @02:35PM (#38154763)
“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”
Re:Website is hosted on ESP32 ($3 chip) by snvzz on Sunday November 05, 2023 @01:54PM (#38154318)
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.

Re:Website is hosted on ESP32 ($3 chip) by waveBidder on Sunday November 05, 2023 @02:43PM (#38154852)
it's currently dead
Re:Website is hosted on ESP32 ($3 chip) by LoganDark on Sunday November 05, 2023 @03:41PM (#38155448)
That explains why it instantly fell over
Re:Website is hosted on ESP32 ($3 chip) by osigurdson on Sunday November 05, 2023 @02:05PM (#38154446)
My website runs on baling twine and duct tape (...and CloudFlare).
Re:Website is hosted on ESP32 ($3 chip) by harry247 on Sunday November 05, 2023 @03:27PM (#38155305)
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!!
Re:Website is hosted on ESP32 ($3 chip) by korhojoa on Sunday November 05, 2023 @05:06PM (#38156125)
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.
Re:Website is hosted on ESP32 ($3 chip) by harry247 on Sunday November 05, 2023 @05:41PM (#38156430)
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
Re:Website is hosted on ESP32 ($3 chip) by harry247 on Sunday November 05, 2023 @06:09PM (#38156694)
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