Skip to content

Backend Developer roadmap

Backend Developer roadmap for 2–5 years experience

Move up to SDE-2 backend roles

With 2–5 years of experience, interviews test whether you understand what your framework and database do under the hood. Expect DSA screening, low-level design, a database deep dive and your first real system design rounds.

YOUR ROADMAP

What to study, step by step.

6 steps. Each topic says what to learn and has a button to practise it.

  • Must doInterviews ask this. Do not skip.
  • ImportantDo it if you can.
  • OptionalOnly if you have extra time.
Not started yetYou finished 0 of 20 topics (0 of 11 must-do)

Saved on this device. No login needed.

Jump to a step:

  1. Step 1 · Weeks 1–2 (2 weeks)

    Language & concurrency depth

    Answer the internals questions everyday feature work never forced on you.
    Must do

    One backend language in depth

    Pick one of Java, Node.js (JavaScript or TypeScript), Python, C# or Go and know its runtime, not just its syntax.

    What to learn
    • Core syntax, collections and error handling
    • How the runtime executes code: JVM and GC, the Node event loop, the Python GIL, goroutines
    • Memory, references and common leak patterns
    • Package management, builds and dependency versions
    • Idiomatic code and the standard library you use daily

    Runtime internals: GC, the event loop, the GIL or the Go scheduler, depending on your stack.

    Must do

    Concurrency & thread safety

    Servers handle many requests at once, so race conditions are a backend problem, not just a theory question.

    What to learn
    • Threads, thread pools and async I/O models
    • Race conditions, locks and atomic operations
    • Concurrent collections in your language
    • Double bookings and lost updates in real systems
    • Distributed locks and why they are tricky

    Be able to explain and fix a lost update or double booking.

    Important

    A backend framework

    Spring Boot, Express or NestJS, Django or FastAPI, ASP.NET Core: learn one well enough to explain what it does for you.

    What to learn
    • Routing, controllers and request validation
    • Dependency injection and application layering
    • Middleware or filters for logging, auth and errors
    • ORM basics and the N+1 query problem
    • Configuration, profiles and environment variables

    How DI, transactions and connection pools work inside your framework.

    You are done with this step when:You can explain how a request flows through your stack, from socket to database and back.

  2. Step 2 · Weeks 3–5 (3 weeks)

    Databases in depth

    Diagnose slow queries and keep data correct under concurrency.
    Must do

    Indexes, query plans & transactions

    Explaining why a query is slow and whether data stays correct under load is core backend judgement.

    What to learn
    • B-tree indexes, composite indexes and column order
    • Reading EXPLAIN plans and spotting full scans
    • ACID, isolation levels and the anomalies each prevents
    • Locking, deadlocks and optimistic concurrency
    • Connection pooling and its limits

    Read EXPLAIN plans and explain isolation-level anomalies with examples.

    Must do

    SQL & relational databases

    SQL is asked in nearly every backend loop, often as a live query to write.

    What to learn
    • Joins, GROUP BY, HAVING and subqueries
    • Window functions: ROW_NUMBER, RANK, running totals
    • Constraints, keys and referential integrity
    • Normalisation and when to denormalise
    • Reading and writing queries against a real schema

    Window functions and multi-join queries written live.

    Must do

    Data modelling & schema design

    Good schemas make features easy and bad ones haunt a team for years.

    What to learn
    • Entities, relationships and cardinality
    • Modelling for read patterns, not just for the domain
    • Soft deletes, audit trails and multi-tenancy
    • Schema migrations without downtime
    • Partition and shard keys and their trade-offs
    Important

    NoSQL & choosing a datastore

    Pick the right store for the access pattern instead of defaulting to one database for everything.

    What to learn
    • Key-value, document, wide-column and search stores
    • MongoDB or DynamoDB modelling around queries
    • Elasticsearch or OpenSearch for full-text search
    • Consistency and durability settings
    • When a relational database is still the right answer

    Know when a document or key-value store fits better than SQL.

    You are done with this step when:A slow query from your work, or a sample dataset, tuned with an index and a before-and-after plan.

  3. Step 3 · Weeks 6–7 (2 weeks)

    Backend building blocks

    Use caches, queues and auth correctly, including their failure modes.
    Must do

    Caching

    Caching is the first lever for performance and a frequent source of subtle bugs.

    What to learn
    • Cache-aside, write-through and write-behind
    • Redis data structures and TTLs
    • Invalidation strategies and stale reads
    • Cache stampede and hot keys
    • HTTP and CDN caching for APIs

    Invalidation and stampede questions are common.

    Must do

    Message queues & async processing

    Queues decouple services and absorb spikes, but bring ordering, retry and duplication problems.

    What to learn
    • Kafka vs RabbitMQ vs SQS: logs vs queues
    • At-least-once delivery and idempotent consumers
    • Ordering, partitions and consumer groups
    • Dead-letter queues and retry with backoff
    • Background jobs and scheduled work

    Idempotent consumers and dead-letter queues.

    Must do

    Authentication, authorisation & API security

    Backend developers own the code that keeps user data safe.

    What to learn
    • Password hashing with bcrypt or Argon2
    • Sessions vs JWTs, and refresh-token flows
    • OAuth 2.0 and OpenID Connect at a working level
    • Role- and attribute-based access control
    • OWASP API risks: injection, broken object-level auth, mass assignment

    OAuth 2.0 flows, JWT pitfalls and object-level authorisation.

    Important

    Resilience patterns

    Networks fail and dependencies slow down; resilient services degrade gracefully instead of falling over.

    What to learn
    • Timeouts, retries with exponential backoff and jitter
    • Idempotency keys for safe retries
    • Circuit breakers and bulkheads
    • Rate limiting: token bucket and sliding window
    • Graceful degradation and load shedding
    Important

    AI for developers & LLM APIs

    Backend teams increasingly call LLM APIs and use AI assistants daily, so you need to understand how models behave and how to use them safely.

    What to learn
    • How LLMs work: tokens, context window, temperature and why they hallucinate
    • Prompting and structured output: JSON schemas, validation and retries
    • Calling an LLM API from a service: timeouts, rate limits, caching and cost per request
    • RAG basics: embeddings, a vector store and grounding answers in your own data
    • Using AI coding assistants with judgement: review and test everything, especially generated SQL and auth code
    • Responsible use: prompt injection, PII in prompts and keeping secrets and client code out of public tools

    Ship one endpoint backed by an LLM API with validation, timeouts and fallbacks, and treat AI suggestions as code you must review and test.

    You are done with this step when:You can explain how you would add a cache and a queue to a service, and what breaks when each fails.

  4. Step 4 · Weeks 8–9 (2 weeks)

    Low-level design

    Design and code a small system cleanly within the round.
    Must do

    Low-level design

    Design classes, interfaces and interactions for a small system with clean, extensible code.

    What to learn
    • SOLID principles applied to real code
    • Patterns: strategy, factory, observer, decorator, builder
    • Prompts: parking lot, rate limiter, splitwise, logger, in-memory key-value store
    • Layering: controllers, services and repositories
    • Writing runnable code within 60–90 minutes

    Practise at least six problems with runnable code.

    Important

    Backend testing

    Tests let you change code safely; interviewers notice when projects have none.

    What to learn
    • Unit tests with mocks and fakes
    • Integration tests against a real database (Testcontainers or similar)
    • Contract tests between services
    • Testing pyramid and CI quality gates

    Writing tests in the round shows maturity.

    You are done with this step when:A rate limiter and an in-memory key-value store with TTL, each coded in under 90 minutes.

  5. Step 5 · Weeks 10–12 (3 weeks)

    System design foundations

    Design a common backend service with sensible trade-offs.
    Must do

    System design

    Design a backend service end to end: APIs, data, scaling, and the trade-offs behind each choice.

    What to learn
    • A framework: requirements, estimates, API, data model, design, deep dives
    • Building blocks: load balancers, caches, queues, object storage, CDNs
    • Prompts: URL shortener, notification service, rate limiter, chat, payments
    • Scaling reads and writes: replicas, sharding, caching
    • Monolith vs microservices and where to draw boundaries

    Start with URL shortener, notification service and rate limiter.

    Important

    Distributed systems

    Senior backend loops test whether you can reason about consistency, failure and coordination.

    What to learn
    • CAP and PACELC in practical terms
    • Replication, leader election and replication lag
    • Partitioning, consistent hashing and rebalancing
    • Distributed transactions: two-phase commit, sagas, the outbox pattern
    • Event-driven architecture and eventual consistency

    Replication, partitioning and eventual consistency; consensus can wait.

    Important

    Observability: logs, metrics & traces

    You cannot fix what you cannot see, and senior engineers are expected to design for debuggability.

    What to learn
    • Structured logging and correlation IDs
    • RED and USE metrics, dashboards and alerts
    • Distributed tracing with OpenTelemetry
    • SLIs, SLOs and error budgets
    • Debugging a latency spike from signals to root cause

    Logs, metrics and traces as part of every design.

    You are done with this step when:Four designs practised aloud in 45 minutes each, with estimates and a data model.

  6. Step 6 · Week 13 (1 week)

    DSA refresh & stories

    Stay sharp for screening and present your impact clearly.
    Important

    Data structures & algorithms

    Online assessments and at least one round test problem solving, mostly at easy-to-medium level.

    What to learn
    • Arrays, strings and hash maps
    • Two pointers, sliding window and binary search
    • Stacks, queues, linked lists and heaps
    • Trees, graphs and BFS / DFS
    • Big-O for time and space

    Keep about 80 mediums warm across arrays, trees, graphs and heaps.

    Must do

    Behavioral & project stories

    Explain what you built, the decisions you made and what went wrong, in a structured way.

    What to learn
    • STAR structure for answers
    • A 2-minute walkthrough of your best project or service
    • Stories for incidents, conflict, deadlines and feedback
    • Why this company and this role

    A production incident, a conflict and a design you pushed back on.

    Optional

    Projects & work you can show

    A real, deployed backend gives interviewers something concrete to probe.

    What to learn
    • Build an API with auth, a database and background jobs
    • Deploy it with a live URL and API docs
    • Add tests, logging and a clear README
    • Measure it: response times, load test results
    • Resume bullets with outcomes, not just the stack

    Prepare a deep dive into one service you own at work.

    You are done with this step when:Five STAR stories written and one full mock interview done.

  7. You are interview-ready

    Now tailor your resume to each job and start applying.

SAVE YOUR TIME

Don't waste time on these (yet).

Popular topics that will not help your interviews at this stage.

  • Beginner framework courses

    You already build with it. Study the internals interviewers ask about instead of rewatching CRUD tutorials.

  • Learning a second backend language for interviews

    Interviewers probe depth in the stack you have used. A new language rarely helps the loop.

  • Hard DP and competitive programming

    SDE-2 backend screens mostly use mediums. Databases and design move the needle more.

  • Kubernetes operator-level detail

    Know deployments, services and how your app runs. Cluster administration belongs to platform roles.

  • Raft and Paxos in depth

    Know what consensus is for. Algorithm details are rarely asked below senior level.

THE INTERVIEW

What happens in the interview.

A typical set of rounds at this stage. Small startups may do fewer.

  1. 1

    Screening

    One or two medium DSA problems, sometimes with an SQL query.

  2. 2

    Low-level design / machine coding

    Design and code a system such as a rate limiter or parking lot in 60–90 minutes.

  3. 3

    Backend & database deep dive

    Indexes, transactions, concurrency, caching and how your framework works.

  4. 4

    System design

    Design a common service, with probing on data model, caching and failure handling.

  5. 5

    Hiring manager

    Ownership, incidents, collaboration and why you are moving.

WHAT INTERVIEWS ASK MOST

Where to spend your time

Share of interview time, roughly, for backend developer roles at this stage.

  • Language & backend depth25%
  • System design25%
  • DSA & problem solving20%
  • Databases & data modelling20%
  • Behavioral & leadership10%

FOR YOUR RESUME

What to show on your resume.

  • Latency or throughput improvements with numbers, for example p99 cut from 900ms to 250ms
  • A service or major feature you owned from design to production
  • Incidents you debugged and the fixes or alerts that followed
  • Database or query optimisation with measured results

NOT YOUR LEVEL?

Pick a different level.

A LITTLE MORE CLARITY

Backend Developer roadmap: common questions

What is asked in a backend SDE-2 interview?

Usually DSA screening, low-level design, a deep dive into databases, concurrency and your framework, and one system design round. The mix varies by company.

Should I learn microservices before switching?

Understand when they help, how services communicate and what they cost to run. You do not need to have split a monolith yourself to discuss it well.

How much system design is expected at 2–5 years?

One common service designed sensibly: APIs, data model, caching, a queue where it fits and basic scaling. Deep distributed-systems trade-offs are a senior expectation.

OTHER JOBS

All roadmaps

BUILD YOUR NEXT OPPORTUNITY

Start step 1 today.

Practise coding, system design and interview questions for free. Sign in to save progress on any device.

Get Started Free