Design Metrics Aggregation System
Design Metrics Aggregation System
Requirement
Functional Requirement
Non-Functional requirements
High-level design

Detailed design
Query Design
Database selection - Where should the metrics data be stored?
Solution: Elasticsearch

Middleware - How do we handle the high throughput?
Solution: Kafka

How is the metrics data transferred from Kafka to Elasticsearch?

Solution: use logstash as a pipeline

Ensure high availability

Data partition
Data storage

Sharding
Last updated