3 ms·
Shouldn’t there be a random jitter added?
by hajile 3y ago
Shouldn’t there be a random jitter added?
- bvrmn 3y agoIt's SQLite's locking implementation. In real code it includes some backoff but on long timeouts it reaches 3s. Jitter doesn't help BTW it's still unfair. On high contention each worker only has a slim chance to get a lock.