Domain Mapping
- Machine = Payment Processor
- Metrics Stream = Transaction Stream
- Thresholds = Fraud Detection
- Aggregator = Payment Hub
Documentation
High-level architecture showing all services, data stores, and communication patterns.
How metrics flow from collection through storage with different retention tiers.
| Tier | Resolution | Retention | Use Case |
|---|---|---|---|
| Hot (Redis) | 5s | 5 min | Current state, live dashboard |
| Raw (TimescaleDB) | 5s | 24h | Recent detailed analysis |
| 1-min Aggregates | 1m | 7d | Week view, trends |
| 1-hour Aggregates | 1h | 90d | Long-term analysis |
Deployment options from local development to AWS production.
Protocol Buffer service and message definitions.