Backend explained

The part of an application you never see: where requests are answered, slow work is queued, and data is kept consistent.

17 conceptsBeginner to Advanced

Every backend concept

BackendBeginner

Background jobs and workers

Move slow work out of the request: a queue, workers and retries.
OPEN LESSON
BackendAdvanced

CQRS

One model for writes, another for reads, and the lag between them.
OPEN LESSON
BackendBeginner

What an API is

A contract that lets one program ask another for something without seeing inside.
OPEN LESSON
BackendBeginner

REST APIs

Things get URLs, HTTP methods are the verbs, and each request stands on its own.
OPEN LESSON
BackendIntermediate

API gateways

One front door for many services: routing, shared checks, and the risk that comes with it.
OPEN LESSON
BackendIntermediate

Service-oriented architecture

Business capabilities as services on a shared bus, and how microservices differ.
OPEN LESSON
BackendIntermediate

Event-driven architecture

Services announce facts as events and others react, without direct calls.
OPEN LESSON
BackendBeginner

Publish/subscribe pattern

One message goes to a topic, and every subscriber gets its own copy.
OPEN LESSON
BackendBeginner

Cron jobs

Five fields that tell a server when to run a task on its own.
OPEN LESSON
BackendBeginner

Caching layers

Copies kept in the browser, CDN, app and database, and when they go stale.
OPEN LESSON
BackendIntermediate

Cache invalidation

Why cached copies go stale, three ways to refresh them, and why it is hard.
OPEN LESSON
BackendIntermediate

Circuit breaker pattern

A switch that stops calls to a failing service so the failure cannot spread.
OPEN LESSON
BackendIntermediate

Event sourcing

A bank balance rebuilt by replaying the list of everything that happened to it.
OPEN LESSON
BackendIntermediate

Hexagonal architecture

Business rules in the centre, with databases and screens plugged in from the edge.
OPEN LESSON
BackendIntermediate

Multi-tenancy

Three ways one app keeps many customers’ data apart, and what each one costs.
OPEN LESSON
BackendBeginner

Feature flags

Ship code switched off, then turn it on for a few users, then for everyone.
OPEN LESSON
BackendBeginner

Logging, metrics and tracing

Three ways to see inside a running system, and which question each one answers.
OPEN LESSON