Master raw \r\n byte streams behind HTTP.
Concepts transfer 1:1 across any language.
ACID persistence, B-Trees & relations.
Real HTTP requests & wire byte validation.
Master Backend
From First Principles.
A comprehensive, concept-first guide to backend engineering. Learn how protocols, networking, databases, and servers work from the ground up.
Master raw \r\n byte streams behind HTTP.
Concepts transfer 1:1 across any language.
ACID persistence, B-Trees & relations.
Real HTTP requests & wire byte validation.
How You Will Learn
A structured approach designed to build intuition before code.
Concept-First Breakdowns
Clear, structured explanations focused on the underlying mechanics of backend systems rather than surface-level syntax.
Side-by-Side Wire Anatomy
Inspect exact request/response lifecycles, HTTP headers, status codes, and JSON payloads with formatted side-by-side examples.
Live Interactive Lab
Test real API endpoints, query on-disk SQLite tables, and experiment directly in the browser with live backend execution.
Foundational Topics Covered
Each topic is accompanied by in-depth written notes, side-by-side wire representations, and running code.
Why Learn from First Principles?
Frameworks and libraries evolve constantly, but underlying network protocols, socket models, and database architectures remain stable.
- ✕Copying framework boilerplates without understanding how TCP sockets and connections work.
- ✕Treating CORS errors blindly without understanding preflight OPTIONS requests and browser security.
- ✕Memorizing status codes without knowing cache revalidation, ETag hashing, and 304 Not Modified headers.
- Understand OS sockets, file descriptors, and how event loops manage concurrent requests.
- Inspect exact request lifecycles, HTTP wire byte streams, and header negotiations.
- Learn concepts once that transfer seamlessly across Node.js, Go, Rust, and Python.
Ready to start learning?
Dive into the curriculum starting with Lecture 01 or experiment with live endpoints in the interactive lab.