VR

Module 07: Core Backend Engineering

Purpose

This module covers the highest-impact practical patterns in backend engineering. Every file addresses a problem that affects the majority of production systems and has measurable, significant impact on latency and throughput.

Contents

FileImpactTags
01-n-plus-one-query-problem.mdโšกโšกโšก Critical
02-connection-pooling.mdโšกโšกโšก Critical
03-caching-strategy.mdโšกโšกโšก Critical
04-threading-vs-async-vs-event-loop.mdโšกโšกโšก Critical
05-rate-limiting.mdโšกโšก High
06-api-design.mdโšกโšก High

Reading Order

Read 01 through 04 first โ€” these are the foundational four. Files 05 and 06 build on them.

Labs

  • ../../labs/lab-01-n-plus-one-profiling/ โ€” Module 01
  • ../../labs/lab-02-connection-pool-tuning/ โ€” Module 02

Benchmarks

  • ../../benchmarks/01-thread-vs-async-vs-event-loop/ โ€” Module 04
  • ../../benchmarks/05-n-plus-one-vs-batching/ โ€” Module 01
  • ../../benchmarks/06-cache-vs-no-cache/ โ€” Module 03

Cross-Module Dependencies

These modules assume knowledge from:

  • ../03-operating-systems/ โ€” processes, threads, file descriptors
  • ../04-computer-networks/ โ€” TCP, RTT, connection lifecycle
  • ../06-databases/ โ€” query planning, indexes, connection model

If you're new to these topics, read the foundation modules first.

๐Ÿ“š Related Topics