A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
11–20 of 24 posts
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#12I'm not going to remove SSL, but I'm surprised it is such a big part of the page load.
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#13Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#14It seems to me that this is mostly benchmarking the performance of the (low bandwidth, high latency) DSL uplink, not the Raspberry Pi. " I have seen it dynamically compress and serve at a sustained 2.7 times per second a small webpage " You should be able to get a lot more performance out of a Rasperry Pi 3 than that! It has similar capacity to the 2000-era workhorse Sun E450 https://fanf.livejournal.com/141066.html
Yeah these numbers seem way off. I did some stress tests for my thesis and was able to get 20-90 requests per second served from a Raspberry Pi 2 running a PHP website with a PostgreSQL database, depending on the complexity of the page. An equivalent site programmed in Elixir fared even better. With plain Nginx serving a static HTML file, I could hit 1000 requests per second. So it does seem the bottleneck here is th…
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#15It seems to me that this is mostly benchmarking the performance of the (low bandwidth, high latency) DSL uplink, not the Raspberry Pi. " I have seen it dynamically compress and serve at a sustained 2.7 times per second a small webpage " You should be able to get a lot more performance out of a Rasperry Pi 3 than that! It has similar capacity to the 2000-era workhorse Sun E450 https://fanf.livejournal.com/141066.html
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#16I ran my own Pi0w site through the test to see how it compares. About 35% of the time is spent on SSL, similar to what this person saw. I'm not going to remove SSL, but I'm surprised it is such a big part of the page load.
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#17Earlier quoted context omitted.
Yeah these numbers seem way off. I did some stress tests for my thesis and was able to get 20-90 requests per second served from a Raspberry Pi 2 running a PHP website with a PostgreSQL database, depending on the complexity of the page. An equivalent site programmed in Elixir fared even better. With plain Nginx serving a static HTML file, I could hit 1000 requests per second. So it does seem the bottleneck here is th…
TLS probably adds significant latency here. Was your 1k RPS with TLS?
A single webpage will often load a number of asset files over the same underlying connection, so it's not like CPS is the single, entirely accurate measure and RPS is just bad or something... they're both valid, interesting numbers.
Even then, TLS setup isn't that expensive, in my opinion. Someone else here mentioned 35% overhead from TLS on a Raspberry Pi, which seems high to me... but it would still be orders of magnitude better performance than what the original article on this thread was claiming.
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#18Not really stressing the parts which substantially improved in the Pi 4, so not that surprising that the results aren't drastically better. If you can use USB 3.0, saturate a GbE link or use lots of memory then the Pi 4 is a big upgrade.
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#19Not really stressing the parts which substantially improved in the Pi 4, so not that surprising that the results aren't drastically better. If you can use USB 3.0, saturate a GbE link or use lots of memory then the Pi 4 is a big upgrade.
It works surprisingly well as a Plex server.
Re: A Page Load Time Comparison of Raspberry Pi 3 and 4 Web Servers
#20Not really stressing the parts which substantially improved in the Pi 4, so not that surprising that the results aren't drastically better. If you can use USB 3.0, saturate a GbE link or use lots of memory then the Pi 4 is a big upgrade.