[HN Gopher] Cache Management Lessons Learned
___________________________________________________________________
Cache Management Lessons Learned
Author : timf
Score : 47 points
Date : 2021-01-23 14:38 UTC (8 hours ago)
(HTM) web link (symas.com)
(TXT) w3m dump (symas.com)
| lrossi wrote:
| > 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.
|
| This made me smile.
| KMag wrote:
| It's also why "just run WSL" or "just run Linux in a VM on OSX"
| is unsatisfying. The performance characteristics are quite
| different, which makes a big difference if you're trying to
| reproduce a race condition.
| mvolfik wrote:
| What the hell is going on with the line breaks there? That's
| painful to read on mobile
| harryf wrote:
| One thing I've seen smart developers do on multiple occasions is
| unknowingly throw out their ability to reason about their code
| while adding caching (
| https://softwareengineering.stackexchange.com/questions/3512...
| ). Then when some weird bugs start showing up it's like "Ummm...
| this shouldn't be happening" 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.
___________________________________________________________________
(page generated 2021-01-23 23:01 UTC)