2 ms·
The 20ms is straight form the Stackexchange Performance page in your link, at the bottom of the page. That is server response time. I assume your 50ms is with l
by ksec 5y ago
The 20ms is straight form the Stackexchange Performance page in your link, at the bottom of the page. That is server response time. I assume your 50ms is with latency, and paint delay included?
They only cache static asset like images, they dont cache page in CDN. [1]
There is probably a better tweet which I cant find right now, but they dont cache page on their server either, every thing is generated on demand. [2]
StackOverflow is quite famous for not doing any cache and dont use CDN. HN doesn't use CDN either and uses minimal cache ( for non-logged in users ). But yes the hardware is quite far apart. My opinion is that I dont think we should settle for 500ms response time as acceptable. But then it is quite costly on Heroku......
[1] https://twitter.com/Nick_Craver/status/1318296453266231297 https://twitter.com/Nick_Craver/status/1318296453266231297
[2] https://twitter.com/Nick_Craver/status/1410549840493350915 https://twitter.com/Nick_Craver/status/1410549840493350915
- nickjj 5y ago50ms includes just latency (not paint). Yeah I don't know, their blog says they have almost 100GB of cached data and it's slow without it (their direct words from the post). I'm not sure why they would write about something but tweet something else, it's the same person too. > My opinion is that I dont think we should settle for 500ms response time as acceptable Sure, it's a perceivable amount of delay. Fortunately with Rails you can achieve <= 150ms response times without too much trouble which I think is fast enough where no one is going to notice a difference between a 125ms and 25ms back-end response when the total end to end time painted in their browser might be 750ms (back-end response + latency + paint). The total end to end time is what the user experiences.
- ksec 5y ago>have almost 100GB of cached data and it's slow without it They dont cache the the generated pages, but they do cache the common backend Data and some keys required for DB. They are used more like an In-Memory DB rather than Cache. Some of those cache are not longer required once they moved to .Net Core 6.0. But Nick went to work for Microsoft once StackOverflow were sold to some PE. So we may never get any updated figures.