Click any component to explore it in the full case study.

Input
ThemeParks.wiki Live Feed
57,600 docs/day peak at full polling rate — park status updates, wait times, schedules. Every 10 minutes across 286 entities.
57,600 docs/day peak
💡
Architecture Decision Record — Three Cost Inflection Points
Era 1 → 2: Hot partition failure forced separation. Era 2 → 3: Discovered Cosmos costs never fell below $394/month floor regardless of optimization. Hierarchical partition key [doctype, date] was analyzed but never built — cost-benefit analysis drove full decommission instead.
$394/mo Cosmos floor → $0 todayHot partition: 62.5% waitSnapshotBatch writes (ThreadPoolExecutor×4)6 PG covering indexes replace Cosmos RURuntime 6–9 min → 2–3 minLessons: floor cost traps, query-time compute
5.9M
Peak Cosmos documents
$394
Monthly Cosmos floor (before)
$0
Cosmos cost today
62.5%
Hot partition share (waitSnapshot)
StackCosmos DB (deprecated)PostgreSQL Flexible ServerThreadPoolExecutor batch writespsycopg2Covering indexesAzure Container Apps JobsPython