- Technical tests
- Databases and caching
Databases and caching
How to store and read data in production without it becoming the bottleneck.
3 guides45 min in totalTechnical tests
The guides, in order
Read them top to bottom: each one builds on the ones before. The ones you've read carry a check.
- Relational Databases in Production: SQL Interview GuideThe production SQL concepts mid and senior engineers get asked about: indexes, isolation, locking, pagination, migrations, pooling, replicas and integrity.14 min readStart here
- MongoDB in Production: Concepts for Mid and Senior EngineersSchema design, indexing, write and read concerns, replica sets, sharding, transactions and aggregation as they work in production MongoDB clusters.15 min read
- Caching for Interviews: When, Where and How to InvalidateLearn when caching pays off, which layer to cache in, and how to invalidate safely without stale data, stampedes or race conditions.16 min read
About this group
- What you'll find
- SQL databases (indexes, isolation, locking, zero-downtime migrations), MongoDB and caching with its invalidation.
- It's for you if…
- you expect questions about slow queries, indexes or when to add a cache.
- How each guide works
- Each guide brings together the key concepts, each with an explanation, an example and the usual traps. It includes a recommended study order, with the reason for each step, and frequently asked questions.
More groups in Technical tests
- Languages and runtimesWhat you're expected to know about your main language in production, not just the syntax.See the 7 guides
- Frontend and APIsInterview concepts for the layer that talks to users and to other services: React, REST and GraphQL APIs, HTTP, caching and auth.See the 4 guides
- Distributed systemsWhat changes when your code depends on the network, queues and other services that can fail.See the 4 guides
- Quality and operationsInterview concepts on testing your code and on deploying and running it without surprises: test strategy, CI/CD, observability.See the 2 guides