← Back to Tools

Architecture Decision Tree

Provide context and get concrete recommendations with links and a whiteboard bootstrap.

Your Context

1,000,000
5,000 req/s
90% reads
150 ms
Moderate

Recommendations

Primary Data Store
SQL (PostgreSQL) to start; add read replicas as needed
Partitioning
Single shard to start; prepare shard key (userId/tenant) for future scale
Deployment
Multi-region: per-region read replicas; single-writer per region with async cross-region replication
Queues/Async
Not required initially

Caching & Edge

  • Redis cache for hot keys and session/state
  • CDN + edge caching for static and cacheable API

Next Steps Checklist

  • • Define SLOs for p95/p99 latency, error rate, and availability
  • • Capacity plan for 6–12 months; set shard key and migration plan
  • • Add observability: metrics, tracing, logs, SLO alerts
  • • Design data retention and backup/restore processes