Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Infrastructure

Designing for resilience, security, and scale.

This section documents how we deploy and operate the Toast restaurant ordering system across multiple cloud regions.


At a Glance

AspectOur Solution
ComputeAWS EC2 with NixOS
NetworkingTailscale mesh (self-hosted via Headscale)
DatabaseCitus (distributed PostgreSQL)
Ingressnginx reverse proxy
DeploymentNixOS modules + deploy-rs

Documentation

  • Architecture — Complete system design with diagrams and explanations