Fly.io Reference Architecture Overview Production architecture for Fly.io: multi-region web tier, Postgres with read replicas, Redis for caching, background workers, and private networking. Architecture Setup Commands fly.toml Configurations Web App Background Worker Key Design Decisions | Decision | Choice | Rationale | |----------|--------|-----------| | Web tier | 3 regions | Low latency for global users | | Database | Fly Postgres + replica | Read replicas near users | | Cache | Upstash Redis (or Fly Redis) | Managed, multi-region | | Workers | Separate Fly app | Independent scaling | | N…