4 ms·
I guess I don't understand why setnx locks would fail. Race conditions?
by MuffinFlavored 7y ago
I guess I don't understand why setnx locks would fail. Race conditions?
- GauntletWizard 7y agoThe redis server reboots. Simple as that. Redis is very very rarely run in a transaction mode that guarantees consistency across reboots (and it's rare enough to doubt the code works even when it is set to the necessary mode). If you're using redis in this mode, it's significantly slower than a proper database, so don't do that either.