Infrastructure and Storage¶
Production runs in three availability zones per region on Kubernetes. API Gateway and Realtime Gateway scale on latency and connection count; connectors scale per merchant quota. Terraform defines network, databases, and queues.
| Store | Use | Retention |
|---|---|---|
| PostgreSQL | transactional domains, identity, catalog | durable |
| ClickHouse | price observations and analytics | 36 months online |
| Redis | rate limits, hot projections, sessions | TTL-bound |
| S3-compatible object storage | export artifacts, raw snapshots | policy-based |
| Kafka-compatible bus | domain events and replay | 14 days |
Backups use encrypted daily snapshots plus point-in-time recovery. Raw connector payloads are access-controlled and retained 30 days. See backup operations.