A backend roadmap aimed at interviews spends less time on "which framework to pick" and more on fundamentals that don't change: how HTTP works, how a database stores and retrieves data, what happens when two processes touch the same row, and how a system keeps working when traffic grows a hundredfold. Those are the topics backend interviews cover, almost regardless of language. This roadmap is ordered the way it's worth learning, and each step says what interviews test and where to practice.
TL;DR
- One language in depth
- HTTP and APIs
- Databases and SQL
- Caching
- Concurrency and queues
- Distributed systems and scale
- API and low-level design
- System design
- Algorithms and data structures
Step 1: One language in depth
Pick one language (Java, Go, Python, Node.js or C#) and learn it properly: built-in data structures, error handling, memory management and its concurrency model. In an interview, knowing one language well beats knowing four superficially.
Step 2: HTTP and APIs
Methods, status codes, headers, idempotency, and how to design a clean REST API. Also know the alternatives (GraphQL, gRPC) and when each fits, plus the basics of authentication and authorization.
What interviews test: PUT vs. PATCH, why POST isn't idempotent and how to fix that for payments, sessions vs. JWT, and pagination done right.
Where to practice: HTTP, REST and idempotency, REST, GraphQL and gRPC, sessions, JWT and OAuth, pagination.
Step 3: Databases and SQL
The topic candidates underestimate most and interviewers ask about most. You need to write SQL confidently (joins, GROUP BY, window functions, CTEs), understand indexes, and know transactions and isolation levels.
What interviews test: queries like "second-highest salary" or "top three earners per department", why a query is slow and how an index helps, and when to choose SQL or NoSQL.
Where to practice: SQL challenges running on real PostgreSQL in your browser, plus the theory questions on indexing, ACID and isolation levels and SQL vs. NoSQL.
Step 4: Caching
Cache-aside, write-through, TTLs and invalidation. When a cache helps, and when it creates stale-data bugs.
Where to practice: caching strategies, and the LRU cache design question.
Step 5: Concurrency and queues
Threads, event loops and async, race conditions and locks. Then message queues and streams (Kafka, RabbitMQ, SQS): why they exist, what at-least-once delivery means, and how to handle duplicate messages.
Where to practice: concurrency models, message queues and streams.
Step 6: Distributed systems and scale
Load balancing, replication, sharding, the CAP theorem, rate limiting and resilience patterns like retries, circuit breakers and timeouts. The monolith vs. microservices discussion also comes up often.
Where to practice: replication, sharding and consistent hashing, CAP and consistency, resilience patterns.
Step 7: API and low-level design
Questions like "design a parking lot" or "design a rate limiter": classes, interfaces, core logic and edge cases. Interviewers check whether you can break a problem into entities and write code that's easy to extend.
Where to practice: API and low-level design questions, for example the rate limiter and the parking lot.
Step 8: System design
The stage that decides your level (mid or senior). You design a whole system: requirements, capacity estimates, architecture, data model, API and deep dives into bottlenecks.
Where to practice: backend system design questions. Start with the URL shortener and move on to the notification system.
Step 9: Algorithms and data structures
Most product companies send an algorithms test early on. Work through the core patterns by topic instead of solving random problems.
Where to practice: DSA problems by topic.
How long does it take?
If you already work as a backend developer, focused interview prep usually takes 4-8 weeks, with system design taking the longest. Starting from zero, build one real service along the way with a database, a cache and a queue, because you'll be able to use it as an example in interviews.
For a week-by-week plan, see how to prepare for a tech interview.