Hands-on task
This task is step 13 of the course “Databases in an evening: SQLite, PostgreSQL, Redis”
A counter with INCRBY
Redis has a counter hits with the value 37. Increase it by 25 with a single atomic INCRBY command — no GET+SET and no overwriting the value.
Reference:redis-cli
What you'll practise:
- redis
- INCR
- INCRBY
- atomicity
- counter