3 ms·
For this case, eventually consistent is good enough
by yjftsjthsd-h 6y ago
For this case, eventually consistent is good enough
- dredmorbius 6y agoIf you're not locking the counter whilst reading, incrementing, applying, and updating it, what you're eventually getting ... isn't really consistency. "A widely shared myth" would be more accurate.
- anyfoo 6y agoYeah, the "it's just a web counter, so maybe just keep the window small" suggestion I made in the end was not meant to say that this provides any consistency, just that it keeps the underestimation of actual visitors smaller. By the way, I'm totally aware that those counters didn't matter, but I thought it's worth discussing anyway. Someone might read this and apply it to things that matter.