4 ms·
How are you exposing the rpi to the internet?
by brigadier132 2y ago
How are you exposing the rpi to the internet?
- fragmede 2y agoCould just port forwards in your home's router and then front it by Cloudflare, or use Tailscale funnel if you want to get fancy.
- mmastrac 2y agoIt's a CloudFlare tunnel which saves a lot of infrastructure on my end. There's definitely some caching wins from using CF but a significant amount of traffic still ends up hitting upstream. I think maybe 25% of requests are cached and that includes the infinitely cached strongly-named resources.
- hamandcheese 2y agoFor this page in particular, which is now on the front page of HN, does any of the HN load reach the Pi? Or is it completely handled by Cloudflare? Search still does seem responsive, which I find impressive. Curious what the search load is right now.
- mmastrac 2y agoCPU is about 10% according to grafana and that seems to have been the peak. Search load is approx 1,000 per hour but there are spikes of a few dozen per second here and there, mostly from bots (there's an amazonbot?). That CPU spike appears to be correlated with the search spikes.