Career guide

Backend Engineering

APIs (REST/gRPC), SQL depth and NoSQL tradeoffs, caching, queues, distributed systems, authn/z, testing, and observability.

23 lessons
Across 6 stages, 23 topics
3 portfolio projects
Specs, milestones and rubrics
Mock interviews
AI interviewer tuned to this role

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.

  1. Stage 1
    Foundations

    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).
  2. Stage 2
    Databases

    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.
  3. Stage 3
    Caching & 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.
  4. Stage 4
    Distributed 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.
  5. Stage 5
    Security & 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.
  6. Stage 6
    Quality & 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

Payment-grade wallet service
advanced

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.

Event-driven order system
advanced

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.

Distributed rate limiter
intermediate

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

One backend language (Java / Go / Node / Python)REST & gRPC API designSQL & schema design (Postgres / MySQL)NoSQL tradeoffs (Redis / MongoDB / DynamoDB)Caching strategiesMessage queues (Kafka / RabbitMQ / SQS)Distributed systems fundamentalsAuthN/AuthZ (OAuth2 / JWT / RBAC)System designTesting (unit / integration / contract)Observability (logs, metrics, traces)Docker & deployment basics

What you get

  • Free with an account: stage 1, previews of every lesson, the roadmap and your study plan