| Service boundaries: Edge gateway routing to eight domain Workers; internal services have no public route | Develop, ship and revert one service without affecting the rest of the system |
| Data ownership: Three D1 databases split by domain (identity, content, operations), 98 SQL migrations | Each store has a different security level and caching profile; splitting early avoids a painful extraction later |
| Public read path: KV read models written on publish; the public site reads KV first | Public traffic does not hammer the database or drive compute cost |
| Async work: 11 queue producers, 6 consumers, dead-letter queues, 5 cron schedules, a Workflow, Durable Objects | Publishing, digests and clean-up run off the request path and retry safely |
| Authentication: Auth.js sessions, WebAuthn passkeys, MFA, CSRF, rate limiting, Turnstile; Argon2id in a Rust container | Strong hashing exceeds Worker CPU time limits; owning auth avoids third-party cost and forced branding |
| Booking: Enquiries and orders service with a pluggable supplier layer | Some hotels do not offer online booking through third-party APIs, so enquiries serve every partner |
| Clients: Astro public site, Next.js CMS, Expo mobile app, desktop media tools | One API estate serves every surface, so business rules live in one place |