TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cache Management Lessons Learned

62 pointsby timfover 4 years ago

3 comments

harryfover 4 years ago
One thing I&#x27;ve seen smart developers do on multiple occasions is unknowingly throw out their ability to reason about their code while adding caching ( <a href="https:&#x2F;&#x2F;softwareengineering.stackexchange.com&#x2F;questions&#x2F;351244&#x2F;easy-to-reason-about-what-does-that-mean" rel="nofollow">https:&#x2F;&#x2F;softwareengineering.stackexchange.com&#x2F;questions&#x2F;3512...</a> ). Then when some weird bugs start showing up it&#x27;s like &quot;Ummm... this shouldn&#x27;t be happening&quot; and then end up having to restart _everything_ because the interplay between layers of caching and the rest of the program no longer make any sense.
lrossiover 4 years ago
&gt; So at least on Linux, cache performance hasn’t been an issue with LMDB. It’s noticeably worse on Windows, as is memory management in general on Windows, but obviously Windows is not a high performance platform to begin with.<p>This made me smile.
评论 #25885880 未加载
mvolfikover 4 years ago
What the hell is going on with the line breaks there? That&#x27;s painful to read on mobile
评论 #25944277 未加载