Skip to main content

TTL Countdown

Every key below has a Time-To-Live. When the TTL reaches 0, Redis deletes the key automatically.

No TTL entries found. Create one below or reseed from the Connection page.

Create a key with TTL:

Sliding Expiry

Access extends the TTL — like a session that stays alive while you're active. Click "Access" to reset the TTL.

Rate Limiting

Sliding window rate limiter powered by @upstash/ratelimit. Click repeatedly to see the limit in action.

Cache vs DB

When to use each data paradigm — a quick reference for choosing the right tool.

Cache (Redis) Relational (PostgreSQL) Graph (Neo4j) Object Storage (R2)
Data lifetime Ephemeral (TTL) Permanent Permanent Permanent
Data shape Key-value Tabular rows Nodes + edges Binary blobs
Best for Sessions, counters, rate limits Transactions, reports, CRUD Relationships, traversals Files, images, backups
Latency <10ms 50-200ms 100-500ms 50-300ms
Consistency Eventual ACID ACID Eventual
Query language Redis commands SQL Cypher S3 API