Free engineering library by TargetTrek

Learn backend and system design, one concept at a time.

Practical, interview-focused guides on SQL, APIs, caching, load balancing, databases, queues and more. Every guide explains the problem, draws the architecture and lays out the trade-offs.

Want the complete prep? Read the System Design book

8
free guides, live now
₹0
no sign-up, no paywall
Diagrams
request flows for every topic
Interview
questions and trade-offs
how-a-request-flows.excalidrawtap a box
Guides8
You’ve read0/8
Coming nextBackendJavaSpring
The library

Every guide, free to read

Two complete core tracks and six system design deep-dives. Search by any concept, from Redis to window functions.

Showing 8 of 8 guides
Complete trackDatabase

SQL

Master SQL from fundamentals to advanced queries, joins, subqueries, CTEs, window functions, indexes, transactions, ACID, locking, optimization and interview problems.

  • Joins
  • CTEs
  • Window functions
  • Indexes
  • Transactions
  • Query tuning
Start reading
Beginner → Advanced
Complete trackBackend

API Engineering

Learn REST, RESTful API design, HTTP, GraphQL, authentication, authorization, pagination, idempotency, caching, rate limiting, webhooks, OpenAPI and production API architecture.

  • REST
  • GraphQL
  • Auth
  • Pagination
  • Idempotency
  • Webhooks
Start reading
Beginner → Advanced
Performance

Caching

Learn cache-aside, write-through, write-back, TTL, eviction policies, Redis, distributed caching, consistency and cache invalidation.

  • Cache-aside
  • Write-through
  • TTL
  • Eviction
  • Redis
  • Invalidation
Start reading
Intermediate
Scalability

Load Balancing

Understand load balancers, Layer 4 vs Layer 7, routing algorithms, health checks, sticky sessions and high availability.

  • L4 vs L7
  • Round robin
  • Health checks
  • Sticky sessions
  • HA
Start reading
Intermediate
Data

Database Design

Learn SQL vs NoSQL decisions, indexing, replication, sharding, transactions, consistency and database scaling trade-offs.

  • SQL vs NoSQL
  • Replication
  • Sharding
  • Indexing
  • Consistency
Start reading
Intermediate
Async Systems

Message Queues

Understand asynchronous processing, producers, consumers, retries, dead-letter queues, ordering and event-driven systems.

  • Producers
  • Consumers
  • Retries
  • DLQ
  • Ordering
  • Kafka
Start reading
Intermediate
Reliability

Rate Limiting

Learn token bucket, leaky bucket, fixed window, sliding window and distributed rate limiting with Redis.

  • Token bucket
  • Leaky bucket
  • Sliding window
  • Redis
Start reading
Intermediate
Microservices

API Gateway

Learn routing, authentication, authorization, throttling, BFF, aggregation, retries, circuit breakers and gateway security.

  • Routing
  • Auth
  • BFF
  • Aggregation
  • Circuit breaker
Start reading
Intermediate
Where to start

Tell us the goal. We'll give you the order.

Pick what you're preparing for and follow the guides top to bottom. Each one builds on the one before it.

0 of 6 done

Crack a system design round

Follow the path a request takes: in through the edge, across your services, down to the data. That is also the order most interviewers probe in.

Tip: after each guide, close it and try to draw the diagram from memory. If you can explain the trade-offs out loud, move on.

  1. 1Load BalancingSpread traffic and survive a dead server.
  2. 2API GatewayOne front door for auth, routing and throttling.
  3. 3Rate LimitingProtect the system when traffic spikes.
  4. 4CachingMake reads fast and cheap.
  5. 5Database DesignPick, replicate and shard the store.
  6. 6Message QueuesMove slow work off the request path.
  7. +Then: full case studiesPut it all together with end-to-end designs in the System Design book.
How to study

Read it once. Understand it for good.

Every guide follows the same four steps, so you always know what to look for and when you're ready to move on.

  1. 01

    Understand the concept

    ~ 10 min

    Start with the problem a component solves and where it fits in a real architecture.

  2. 02

    See the architecture

    Diagrams

    Use diagrams and request flows to see how clients, infrastructure and services connect.

  3. 03

    Study trade-offs

    The real test

    Learn when a solution works well, when it fails and which alternatives an interviewer expects.

  4. 04

    Prepare for interviews

    Revision

    Revise common questions, failure cases, scaling decisions and production considerations.

Resources vs books

Free guides for one concept. Books for the whole interview.

Use the resources when you need to understand a single topic fast. Pick up a book when you want a complete, structured path.

Free resources

₹0
  • One concept per guide, read in a sitting
  • Diagrams, request flows and trade-offs
  • Common interview questions per topic
  • Great for revision the night before

TargetTrek books

Complete prep
  • End-to-end system design case studies
  • HLD, LLD, Java, Spring Boot, SQL and more
  • Structured chapters from basics to advanced
  • Interview answers you can rehearse
Growing library

More tracks are being written

The next four tracks follow the same format: concept, architecture, trade-offs, interview questions.

  • Coming soon

    Backend Engineering

    Authentication, concurrency, distributed systems, queues, caching and production backend patterns.

  • Coming soon

    Java

    Fundamentals, OOP, collections, concurrency, JVM concepts and interview-focused topics.

  • Coming soon

    Spring Boot

    REST APIs, dependency injection, persistence, validation, security and production practices.

  • Coming soon

    DevOps

    Docker, CI/CD, cloud deployment, monitoring, scaling and practical production operations.

FAQ

Questions, answered

Still unsure where to begin? Use Where to start and follow the order.

Are TargetTrek resources really free?

Yes. Every guide on this page is free to read, with no sign-up and no paywall. The paid books are optional and go deeper for complete interview preparation.

Where should I start with system design?

Start with Load Balancing, then API Gateway, Rate Limiting, Caching, Database Design and Message Queues. That follows a request from the edge of the system down to the data, which is the order most interviews explore.

Are these guides good enough for interviews?

They cover the concepts, diagrams, trade-offs and common questions for each topic, which is what most interview rounds test. For full mock designs and end-to-end case studies, use the System Design book alongside them.

Do I need to know SQL before system design?

It helps but is not required. Knowing joins, indexes and transactions makes Database Design and Caching easier to follow, so the SQL guide is a good warm-up.

How often are new resources added?

The library is growing. Backend Engineering, Java, Spring Boot and DevOps tracks are being written next.

Start now, it’s free

Ten minutes from now, you could explain caching to an interviewer.

Open your first guide. No account, no paywall, just the concept, the diagram and the trade-offs.

Start with Caching

Applying for jobs soon? Get your resume reviewed