Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish I had a clearer memory or record of this, but I think I’ve also ~100ms for browser cache retrieval on an SSD. Has anyone else observed this and have an explanation? A sibling comment points out that SSD read latency should be ~10ms at most so the limitation must be in the software?

OP mentioned specifically that “there have been bugs in Chromium with request prioritisation, where cached resources were delayed while the browser fetched higher priority requests over the network” and that “Chrome actively throttles requests, including those to cached resources, to reduce I/O contention”. I wonder if there are also other limitations with how browsers retrieve from cache.



> Has anyone else observed this and have an explanation?

Yes that is the subject of this post.

https://simonhearne.com/2020/network-faster-than-cache/#the-...


The graphs in OP show that cache latency is mostly ~10ms for desktop browsers. ~100ms would still be an outlier.


The Y axis of the chart that I linked, entitled 'Cache Retrieval Time by Count of Cached Assets', shows latency well above 100ms.


Thanks. Switching the metric from Average to Max does show that the cache retrieval time can reach ~100ms even when cached resource count is low.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: