Hey everyone!
The next extension for the Redis challenge is now live: Optimistic Locking.
Optimistic Locking lets your Redis server handle concurrent updates safely by ensuring a transaction only succeeds if the data hasn’t changed since it was read.
By the end of this extension, your Redis implementation will support:
- Monitoring keys for changes using
WATCH - Aborting transactions if watched keys change before
EXEC - Watching multiple keys at once
- Handling missing keys correctly
- Clearing watches with
UNWATCH - Automatically unwatching on
EXECandDISCARD
Here’s the stage breakdown:
Please give this a try and let us know how it can be improved! @UdeshyaDhungana (author of this extension) and I will be available here to help out with any tester or instruction-related issues.

