News for hackers. Stuff that matters.
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