Shelves / Production Deployment
Software Engineering · Volume 16
Production Deployment
Part XVI of the Software Engineering roadmap, written out as a textbook for beginners and experienced engineers alike. Getting software into production and keeping it there: the application lifecycle and walking skeletons, a reference production architecture, production readiness, environment strategy, database deployment safety, zero-downtime deployment and disaster recovery, ending with a launch-week game day. Start with the Start Here chapter (one change shipped from pipeline to recoverable production). Every chapter opens with a plain-language on-ramp, a check-yourself quiz and a six-level "how deep to go" ladder, and closes with a lab of real measurements (a pipeline catching planted bugs, the request path timed hop by hop, a service load-tested to saturation, reproducible builds and secret scans, PostgreSQL lock queues and backfills on 2 million rows, rolling deploys under load with and without draining, and an accidental DELETE recovered with point-in-time recovery) and a one-page revision sheet. A projects chapter turns it all into a portfolio.
Two ways to read this book
Every chapter has the same shape: Start here (first principles, plain language, small verified examples) → How deep to go (what each mastery level needs) → full-depth sections → Lab (experiments with real measured output) → Revision sheet (key ideas, numbers to remember, pitfalls, glossary, quiz).
How to use this book
- Read one topic at a time. Each topic heading has a Done tick. Tick it only when you can explain the idea aloud without looking, which is roughly mastery level L2–L3 below.
- Run the code. Every comparison block has tabs for each language; type the example out in at least two of them.
- Take the chapter quiz at the end. A score of 80% or more counts as passed. Wrong answers show the explanation, so re-read that topic and untick it if needed.
- Revisit after a delay. The roadmap's loop applies: recall, explain, implement without notes, break it, measure it.
Mastery levels
Languages used throughout
Status as of October 2026: the migration examples were run against PostgreSQL 16, and the lock behaviour they show applies to current releases. Kubernetes manifests use stable APIs (apps/v1, networking Gateway API v1, autoscaling/v2), and rollout examples use Argo Rollouts. Tool versions change often; the deployment mechanics (expand and contract, draining, probes, canaries, backups that are actually restored) do not.
Contents
- SC·00Start Here: Shipping SafelyFor engineers who write features but haven't owned getting them to production: what happens between "merged" and "customers use it", one change…4 min
- SC·187The Application LifecycleOne application traced through every stage from idea to evolution, as a chain of artefacts and gates: idea and requirements, architecture and its…20 min
- SC·188Reference Production ArchitectureThe full request path of a production system, layer by layer and from first principles: DNS (records, TTLs, health-checked routing), CDN (edge…25 min
- SC·189Production ReadinessWhat "ready for production" means, made checkable: the production readiness review (PRR) and who runs it; the six dimensions in depth — functional…26 min
- SC·190Environment StrategyWhy systems run in several environments and how to design them: the purpose, users, data and fidelity of local, dev, test, staging and production…22 min
- SC·191Database Deployment SafetyChanging a live database without downtime, verified on PostgreSQL 16 with a 2-million-row table: why the schema and the code deploy separately, and…28 min
- SC·192Zero-Downtime DeploymentReleasing new versions while users keep working: what "zero downtime" means and what breaks it; rolling deploys in Kubernetes (maxSurge…26 min
- SC·193Disaster RecoverySurviving the failures that redundancy doesn't cover: the recovery chain (failure → detect → mitigate → failover/restore → validate → recover →…21 min
- SC·CSCase Study — Launch Week Game DayThe whole volume applied in one exercise: TiffinBox prepares to launch bulk skip for office admins in Hyderabad's HITEC City and runs a game day the…12 min
- SC·194Deployment and Operations ProjectsSix build-it-yourself projects that take a small service from a walking skeleton to a launch you'd trust: a pipeline that builds once and promotes by…5 min