🔑
Peek behind the curtain
Every key in Redis, right now
This is your live Redis state. Visit the lessons and watch keys appear and expire.
Key Type TTL (time to live) Value / Summary
demo:counter:stock string
A single text or number value
no expiry 100
demo:counter:visits string
A single text or number value
no expiry 4
demo:leaderboard zset
A set of members ranked by score
no expiry 5 members
💻 Commands used on this page
redis> KEYS demo:*
→ list of all keys matching the "demo:" prefix
Scans for keys by pattern. Fine for demos — in production, use SCAN instead to avoid blocking.
redis> TYPE <key>
→ string / zset / list / hash / set
redis> TTL <key>
→ seconds remaining (-1 = no expiry, -2 = expired/gone)
💡
TTL is the number of seconds until Redis deletes the key automatically. Watch the rate-limit key count down in real time by refreshing this page. When it hits 0, Redis removes the key and the next request starts a fresh window.

↺ Refresh to see the latest state