3 ms·
As long as you're guaranteeing correctness[0], it's hard to disagree with the "simple" approach. As long as you don't over-promise or under-deliver, there's no
by Quekid5 6y ago
As long as you're guaranteeing correctness[0], it's hard to disagree with the "simple" approach. As long as you don't over-promise or under-deliver, there's no problem, AFAICS.
[0] Via mutex in your case. Have you thought about durability, though. That one's actually weirdly difficult to guarantee...
- a1369209993 6y ago> Have you thought about durability, though. That one's actually weirdly difficult to guarantee... Strictly speaking, it's literally impossible to guarantee[0], so it's more a question of what kinds and degrees of problems are in- versus out-of-scope for being able to recover from. 0: What happens if I smash your hard drive with a hammer? Oh, you have multiple hard drives? That's fine, I have multiple hammers.