On 2020-12-12, Groo Vee <
gro...@cyberdude.com> wrote:
> If I have the best CPU money can buy today, and the best SSD and best mobo - what is the maximum amount of data that a server can currently serve, assuming a static file (file.html) is being read from disk and sent straight to network, without "processing" of any kind? (i.e. "CGI scripts" or "PHP" etc - BACKENDS of any kind). I ask because there is a choice between a mobo with a 1GBps ethernet interface, and a 10 GBps one - if the server cannot shovel OUT data @ more than 1 GBps, it makes no sense to get the faster one.
Ethernets are rated at bits per second (Gbps) not bytes per second
(GBps). Also if the computer is capable of faster behaviour it can use
some of that to, for example, compress the data being sent out,
resulting in a higher throughput. Thus for example, a computer capable
of 100MB/s on a 1Gbps network matches the rate of the network, but a
computer capable of 1GB/s can use the extra factor of 10 to compress the
data and thus (say one acieves a 10-1 compression) achieve a 10Gbps rate over a 1Gbps network.
(Note that this is pretty optimistic. If the data is all encrypted then
the compression ratio will at best be 1 (no compression) so your
analysis would be right. If the data were lineart pictures with loads of
white and a bit of black. a 10 times compression could be possible. So,
it depends.
But yes, it can make sense to shell out for the faster one, even with
the slower ethernet interface.
>
>
> Thanks.