Backend Engineering
APIs (REST/gRPC), SQL depth and NoSQL tradeoffs, caching, queues, distributed systems, authn/z, testing, and observability.
What the job looks like
- API design (REST & gRPC)
- Relational & NoSQL data modeling
- Caching & async processing
- Distributed systems & system design
- Authentication, authorization & security
- Testing & observability
Roadmap and lessons
Open any lesson to read its first section.
- Stage 1Foundations
Build a correct, well-shaped HTTP API in one language and defend every contract decision.
- Backend language mastery — One language deep: its concurrency model (goroutines, event loop, or threads), error handling idioms, profiling tools. Depth in one beats syntax in four.
- HTTP deep dive — Methods and their idempotency guarantees, status-code semantics, headers, keep-alive, timeouts. PUT vs PATCH vs POST is a real interview question with a real answer.
- REST API design — Resource modeling, cursor vs offset pagination, consistent error envelopes, versioning, idempotency keys for unsafe operations. Contracts outlive implementations.
- gRPC & schema-first APIs — Protobuf, streaming RPCs, deadlines, backward-compatible field evolution. Know when gRPC beats REST (internal service mesh) and when it hurts (browser clients).
- Stage 2Databases
Model data for its access patterns and diagnose any slow query with the planner.
- SQL mastery — Joins, aggregation, window functions, CTEs. Backend loops at product companies almost always include a live SQL round — write it, not just read it.
- Indexing & query plans — B+ trees, composite index column order, covering indexes, why the planner ignores yours (functions, leading wildcards, low selectivity). EXPLAIN is the answer key.
- Transactions & isolation — ACID, isolation levels and their anomalies (dirty/non-repeatable/phantom reads), MVCC, row locks, SELECT FOR UPDATE. The double-booking problem lives here.
- NoSQL tradeoffs — Redis data structures, MongoDB documents, DynamoDB partition-key design and hot partitions. Choose by access pattern and consistency need — never by fashion.
- Stage 3Caching & async processing
Take load off the database and the request path without corrupting data or dropping work.
- Caching patterns — Cache-aside vs write-through, TTLs, invalidation, stampede protection (locks, jittered expiry, single-flight). "How do you invalidate?" follows every cache answer.
- Message queues & streams — At-least-once vs at-most-once, Kafka partitions and consumer groups vs RabbitMQ routing, ordering guarantees, DLQs, backpressure. Decoupling with eyes open.
- Idempotency & the outbox pattern — Idempotency keys, exactly-once as idempotent processing (not delivery), transactional outbox for atomic DB-write-plus-publish. The heart of payment-grade design.
- Rate limiting & backpressure — Token bucket vs sliding window, per-user vs global limits, 429 + Retry-After, load shedding. A favorite "design a small thing well" interview question.
- Stage 4Distributed systems
Reason about consistency, replication, and partial failure with the standard vocabulary.
- CAP & consistency models — Linearizability vs eventual consistency, read-your-writes, quorum math (R + W > N). Know what your favorite database actually gives you by default.
- Replication & sharding — Leader/follower, replication lag and stale reads, partition-key choice, resharding pain, hot keys. Every scale question eventually lands here.
- Timeouts, retries & circuit breakers — Timeout budgets, exponential backoff with jitter, retry storms, circuit breakers, bulkheads, graceful degradation. Distinguishes operators from diagram-drawers.
- Distributed locks & coordination — Leader election, lock TTLs and fencing tokens, why "Redis lock" answers need a caveat, saga pattern for cross-service workflows. Senior-round territory.
- Stage 5Security & identity
Authenticate and authorize correctly, and not appear in a breach postmortem.
- Authentication patterns — Sessions vs JWTs (revocation, rotation, storage), OAuth2 flows (auth code + PKCE), OIDC, password hashing with bcrypt/argon2. Stateless is a tradeoff, not a default.
- Authorization models — RBAC vs ABAC, enforcing at the resource layer, IDOR — the most common real-world authz bug. "Who can call this and how do you know" applies to every endpoint.
- API security essentials — Parameterized queries vs SQL injection, secrets management, TLS everywhere, input validation at trust boundaries, OWASP API Top 10. Security questions decide senior loops.
- Stage 6Quality & operations
Ship services you can test, observe, and debug at 3am — then design whole systems in interviews.
- The backend testing pyramid — Fast unit tests on domain logic, integration tests against a real database (Testcontainers), contract tests at service boundaries. Mock the edges, not the DB.
- Observability basics — Structured logs with correlation IDs, RED metrics (rate, errors, duration), distributed traces across the queue boundary. If you cannot see it, you cannot fix it.
- System design method — Requirements → capacity estimates → API → data model → deep dives → failure modes. Drill the classics: rate limiter, notification system, Instagram, chat.
- Docker & deployment basics — Containerize your service, health/readiness endpoints, config via environment, zero-downtime restarts, migrations that roll forward safely.
Portfolio projects
A wallet with a double-entry ledger and idempotent transfers — the project that proves transactions, concurrency, and money-safety in one repo. Fintech interviewers lean in.
Order, inventory, and notification services stitched together with a broker — a working answer to half of all system-design questions, with the failure handling built in.
A small, sharply-scoped infrastructure component: token-bucket limiting backed by Redis, correct under concurrency — the "design a small thing perfectly" portfolio piece.
Skills you build
What you get
- Free with an account: stage 1, previews of every lesson, the roadmap and your study plan