11 ms·
Once you add a CDN into the picture, it almost doesn't matter what you use to serve static assets for your web app. Plus, like you said, 10-20ms extra on top o
by pier25 3y ago
Once you add a CDN into the picture, it almost doesn't matter what you use to serve static assets for your web app.
Plus, like you said, 10-20ms extra on top of the actual latency from the server is not going to make any difference to the end user.
There are use cases where you probably need something like Nginx or whatever to handle lots of requests without a CDN but these are rare.
- ngrilly 3y agoI agree on the CDN. Reading assets from files instead of a RAM cache won’t add “10-20ms”. This is measured in microseconds, not milliseconds. Most servers nowadays are using SSDs or eNVM. And as I wrote earlier, the files are likely already cached in RAM by the OS anyway :)
- pier25 3y ago> Reading assets from files instead of a RAM cache won’t add “10-20ms”. I know. I was just using a hypothetical worst case scenario to exemplify that it doesn't matter.