Concept Flow - INCR and DECR for counters
Start with a key holding a number
Receive INCR or DECR command
Fetch current value of key
Add 1 if INCR, subtract 1 if DECR
Store new value back to key
Return new value as result
End
The flow shows how Redis increments or decrements a numeric value stored at a key, updating and returning the new value.