key-value store
A database that stores each item under a unique key and fetches it by that key, very quickly and at large scale.
In more detail
Key-value stores suit known key lookups at high volume. They are poor at questions nobody planned for, which end up as slow full scans.
Related terms
- NoSQL — Databases that do not use the relational table model, such as key-value and document stores, trading query freedom for predictable scale.
- Amazon DynamoDB — Amazon's fully managed key-value and document database, which stores items in tables without any servers for you to run.
- partition key — The DynamoDB attribute whose value decides which storage partition an item lives in, and which every query must name.
- Redis — A very fast in-memory data store used for shared caches, rate-limit counters, session data and pub/sub messaging.
- conditional write — A write that only succeeds if the current value still matches a stated condition, such as the key being absent.
- distributed-lease — A lock that expires automatically after a set time unless the holder renews it.
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
Taught in
- Managed Relational Databases (RDS) — Cloud Infrastructure & Hyperscaler Architecture
- NoSQL and DynamoDB — Cloud Infrastructure & Hyperscaler Architecture
- When to Pick Which Database — Cloud Infrastructure & Hyperscaler Architecture
- The Storage Decision: Key Value, Search And Blob — Scalable System Design & Distributed Architecture
- Idempotency, And Exactly Once As A Fiction — Scalable System Design & Distributed Architecture
- Worked Design Two: A Global Chat System — Scalable System Design & Distributed Architecture
- Worked Design Two: Scaling Chat Fan Out — Scalable System Design & Distributed Architecture