Learn › Backend Engineering Essentials

🛠️ Backend Engineering Essentials

The 11 skills that keep a backend dev relevant in 2026 — APIs, auth, databases, caching, event-driven systems, concurrency, distributed systems, security, observability, cloud, and AI integration.

Goal
Speak to each of the 11 areas with real depth, defend tradeoffs under follow-up, and connect them into a coherent production architecture.
01
API Design: REST, gRPC & GraphQL
Design APIs interviewers respect: resource modeling, the right status codes, idempotency, pagination, versioning, error envelopes, and when to reach for gRPC or GraphQL over REST. Contract-first thinking and the resilience patterns that wrap every call.
medium ⏱ 30m
02
Authentication & Authorization: OAuth2, JWT, OIDC & Passkeys
Keep authentication (who you are) and authorization (what you can do) distinct, then design both right: sessions vs stateless JWTs and the revocation tradeoff, OAuth2 grant types with Authorization Code + PKCE as the modern default, OIDC as the identity layer, passkeys for phishing-resistant login, and RBAC/ABAC/ReBAC with enforcement at the edge.
medium ⏱ 30m
03
Databases: SQL, NoSQL, Sharding, Indexing & Query Tuning
The database knowledge an SDE-2 is expected to own: SQL vs NoSQL by access pattern, ACID vs BASE, normalization tradeoffs, B-tree indexing and the leftmost-prefix rule, reading EXPLAIN, killing N+1 and full scans, transaction isolation and locking, replication lag, and why you delay sharding.
medium ⏱ 32m
04
Caching: Redis, CDN & Edge Strategies
Cache to cut latency and offload the origin — the layers (browser, CDN/edge, Redis, DB), the patterns (cache-aside, read/write-through, write-behind), invalidation and eviction, Redis data structures and persistence, and the failure modes that bite in production: stampede, penetration, hot keys, and big keys.
medium ⏱ 30m
05
Event-Driven Systems: Kafka, Pulsar & Streaming
Decouple services with events instead of blocking calls. Messaging primitives — queue vs pub/sub vs log — and why Kafka's append-only log changes the game. Partitions, offsets, consumer groups, delivery semantics, idempotent consumers, the transactional outbox, DLQs, and stream processing with windowing and exactly-once.
medium ⏱ 32m
06
Concurrency & Async: Reactive & Structured Concurrency
The models that let one service handle thousands of in-flight requests: thread pools and their sizing, async/event-loop I/O, virtual threads, reactive streams with backpressure, and structured concurrency. Plus the hazards — races, deadlock, visibility — and how to reason about them.
hard ⏱ 32m
07
Distributed Systems: Microservices, Service Mesh & Eventual Consistency
The hard truths of running many services: the real microservices tradeoff, the fallacies that bite you, CAP/PACELC and consistency models, consensus and quorums, service discovery and mesh, why 2PC is avoided and Sagas win, and the resilience patterns that keep partial failure from becoming total failure.
hard ⏱ 35m
08
Security: HTTPS, Encryption, Zero Trust & OWASP Top 10
The backend security a senior is expected to reason about: how the TLS handshake actually works, symmetric vs asymmetric crypto, why passwords need salted slow hashes, secrets management, the OWASP Top 10 with one-line mitigations, XSS/CSRF, and the Zero Trust model that replaced castle-and-moat.
medium ⏱ 35m
09
Observability: Logs, Metrics, Traces & OpenTelemetry
Tell monitoring apart from observability, master the three pillars — structured logs, metrics (RED/USE, cardinality traps), and distributed traces with W3C context propagation — instrument once with OpenTelemetry, and run the SLI/SLO/error-budget loop that gates releases and kills alert fatigue.
medium ⏱ 30m
10
Cloud & Deployment: Docker, Kubernetes, Serverless & GitOps
How modern services actually ship: containers vs VMs, multi-stage Docker builds, Kubernetes objects and probes, rolling/blue-green/canary deploys, serverless tradeoffs, infrastructure-as-code, GitOps reconciliation, and the 12-factor principles that make all of it work.
medium ⏱ 32m
11
AI Integration: LLM APIs, Vector DBs & RAG
Integrate LLMs like any other remote dependency — non-deterministic, slow, and costly. Call shape (system + messages), tokens, streaming, retries and 429 backoff, structured output. Then model routing, embeddings + vector search, RAG end to end, tool calling, and the production concerns: prompt injection, hallucination, evals, observability, and semantic caching.
medium ⏱ 32m