So yesterday I won a prize for a bug I found in a Solana code snippet that was hosted by @EgisSec
Here is the bug and how to prevent it your projects from be rekt by it.......
Build it without Redis first.
You'll understand exactly what Redis solves β and exactly when you need it.
Full code on GitHub: https://t.co/kX3QCRy6ZY
I spent most of my time on the state machine.
The Heartbeat logic, retry logic, dead-letter handling where real system design lives.
The claiming and notification plumbing took an afternoon. Getting state transitions right under failure took days.