A book about the history of web architecture

Building the Web

The architecture decisions that shaped the web.

The internet didn’t emerge from a single grand vision. It was the cumulative result of people bumping into constraints and engineering solutions. Some of those solutions turned out to be particularly load-bearing: concepts so fundamental that we take them for granted today.

Building the Web is about those ideas and how they evolved. Each chapter starts with a real constraint that engineers faced, traces the solution they invented, and follows that idea as it scaled, sometimes beyond anything its creators imagined.

From load balancers to caching layers, from CGI scripts to content delivery networks - these are the building blocks that turned a research network into the infrastructure that runs the modern world. This is the story of how they got here.

This book is a work-in-progress. As chapters are published and ready for review, they will appear here. You can subscribe to the RSS feed or Sign up for Updates over email to be notified when there is new content.

Chapters

Chapter 1

The Network: Then and Now

Physical networking constraints from 1993, the evolution from dial-up to broadband, and the infrastructure decisions that shaped everything after.

Coming soon
Chapter 2

The Early Web

HTTP design, the initial RFCs, and static HTML document serving - the architectural trade-offs embedded in the web's earliest choices.

Coming soon
Chapter 3

The Dynamic Web

CGI, Perl, PHP, and the evolution from library to application platform - how the web learned to compute.

Coming soon
Chapter 4

Load Balancers and Proxies

Scaling challenges that required specialized hardware to intercept and reroute requests or serve cached content.

Coming soon
Chapter 5

State and Sessions

How clients and servers managed primitives beyond individual requests - cookies shipped in 1994, and the RFCs that followed.

Coming soon
Chapter 6

SSL/TLS and HTTPS

Netscape's secure transport mechanism, the evolution of TLS, and the adoption initiatives like Let's Encrypt that made encryption ubiquitous.

Coming soon
Chapter 7

Scaling Databases

MySQL and PostgreSQL adoption, read-replica implementation, and the community contributions enabling web-scale persistence.

Coming soon
Chapter 8

Caching

Squid and Varnish as accelerators, memcached and Redis as distributed caching solutions, and the surprising difficulty of not computing the same thing twice.

Coming soon
Chapter 9

CDNs and the Edge

Consistent hashing, Akamai, and the global networks built to solve the problem of distance and the speed of light.

Coming soon
Chapter 10

The API Era

SaaS proliferation, REST standardization, OAuth and OpenID authentication, and the rise of microservice architectures including BFF and GraphQL.

Coming soon
Chapter 11

NoSQL (including Search)

Google's BigTable paper, Amazon's Dynamo paper, and the tools like Solr and Elasticsearch that redefined data storage and retrieval.

Coming soon
Chapter 12

Queues and Event Streams

From job systems to ActiveMQ, RabbitMQ, and Kafka: how async processing became the backbone of distributed systems.

Coming soon
Chapter 13

Virtual Machines and the Cloud

From VMWare Workstation through Xen, AWS, KVM, and microVMs - how abstracting hardware enabled serverless architecture.

Coming soon
Chapter 14

Configuration Management and IaaC

CFEngine, Puppet, Chef, and the Infrastructure as Code approaches that enabled automated provisioning at scale.

Coming soon
Chapter 15

Containers and Orchestration

From chroot and FreeBSD jails through Linux namespaces and cgroups to Docker - the next layer of abstraction over infrastructure.

Coming soon
Chapter 16

Continuous Delivery

IMVU's multiple daily deployments, Flickr's '10+ Deploys Per Day', and how shipping software became a solved problem.

Coming soon
Chapter 17

Monitoring and Observability

From basic uptime checks through MRTG, Nagios, Graphite, and StatsD to modern observability principles.

Coming soon
Chapter 18

SRE and DevOps

The cultural shifts that eliminated barriers between application developers and operations teams.

Coming soon