Core Features
- Each Key can have a TTL (Time to Live) in The Map
- Supports Lists data structure with TTL as well
- You can even Queuing commands as a batch and executing it. Uses the concept of RESP (Redis serialization protocol) Bulk string Array
- Even has Type command to check type of the key!
- Also has Stream data structure, with operations like xadd and more coming soon!
So for testing two values name and age were set with ttl of k seconds as shown. after those k seconds the values were removed from the map!
server script
user$: python3 app/main.py
test using the Redis client
user$: redis-cli