Backend Developer Interview Guide: Concepts, Scenarios & System Design
Use this backend developer interview guide to prepare APIs, databases, caching, distributed systems, production scenarios, and system design.
Structured learning path
Follow this series from the first concept to the final deep dive. Every article is arranged in the recommended reading order.
Start with article 1Your path
32 focused lessons
Use this backend developer interview guide to prepare APIs, databases, caching, distributed systems, production scenarios, and system design.
Learn client-server architecture for backend interviews: request flow, tiers, state, scaling trade-offs, and production failure points.
What is a REST API? Learn resource design, HTTP semantics, idempotency, and the interview answers backend engineers need.
Master HTTP methods for backend interviews: GET, POST, PUT, PATCH, and DELETE semantics, retries, caching, and API design trade-offs.
Master HTTP status codes for backend interviews: 200, 201, 400, 401, 403, 404, 409, 429, 500, and 503 with API examples.
Learn stateless vs stateful architecture for backend interviews: where state lives, scaling trade-offs, sessions, Redis, and failure recovery.
Master authentication vs authorization for backend interviews, including 401 vs 403, sessions, JWTs, API checks, and permission models.
Learn how JWT works for backend interviews: header, payload, signature, expiry, validation, key rotation, and API security pitfalls.
Learn API gateway architecture for backend interviews: routing, authentication, rate limiting, aggregation, failure handling, and trade-offs.
Learn API rate limiting for backend interviews: fixed and sliding windows, token bucket, Redis atomicity, 429 responses, and trade-offs.
Learn idempotency in REST APIs for backend interviews: idempotency keys, retries, race conditions, response replay, and duplicate-payment prevention.
Compare offset, cursor, and keyset pagination for backend interviews: performance, consistency, indexes, API contracts, and trade-offs.
Learn webhooks for backend interviews: delivery flow, retries, HMAC signatures, replay protection, idempotency, queues, and failure handling.
Learn what CORS is for backend interviews: browser origins, preflight requests, credential rules, safe headers, and production debugging.
Compare API gateways, load balancers, and reverse proxies for backend interviews: responsibilities, request flow, overlap, and architecture trade-offs.
Compare SQL vs NoSQL for system design: data modeling, transactions, scale, trade-offs, and the right database for each workload.
Learn database indexing with SQL examples: B-tree indexes, query plans, composite index order, write costs, and interview questions.
Learn how to choose composite index column order for SQL queries using equality, range, sort, selectivity, and EXPLAIN plan trade-offs.
Learn database isolation levels through real transaction examples, including dirty reads, phantoms, write skew, retries, and SQL trade-offs.
Compare optimistic vs pessimistic locking with SQL examples, conflict handling, retries, deadlocks, and practical backend trade-offs.
Learn database deadlocks through transaction examples, wait-for cycles, retries, lock ordering, query design, and production prevention practices.
Learn database replication, read replicas, replication lag, stale reads, and failover trade-offs for reliable backend systems.
Learn why SQL queries are slow and use EXPLAIN ANALYZE, query plans, indexes, and production evidence to fix them safely.
Learn the cache-aside pattern, cache hit and miss flows, write invalidation, TTLs, stampede prevention, and production trade-offs.
Compare write-through vs write-back caching: write latency, durability, consistency, failure recovery, and when each cache write strategy fits.
Learn cache eviction policies including LRU, LFU, FIFO, and TTL. Choose a policy using workload patterns, memory limits, and production metrics.
Learn Redis architecture through data types, persistence, replication, failover, clustering, and the production trade-offs behind fast in-memory systems.
Learn cache invalidation strategies for backend systems: TTLs, delete-on-write, event-driven updates, versioned keys, race conditions, and trade-offs.
Learn cache stampede prevention for avalanche and penetration failures with TTL jitter, request coalescing, stale data, and Bloom filters.
Compare queue vs pub/sub patterns for backend systems. Learn delivery models, retries, fanout, ordering, and how to choose the right fit.
Learn Kafka architecture through producers, brokers, topics, partitions, consumers, and offsets. Understand ordering, replication, lag, and trade-offs.
Learn Kafka partitions, message keys, ordering, and consumer parallelism with production trade-offs, sizing guidance, and interview questions.