IntermediateSystem-Design
30 min
Design a Centralized Logging Platform
LoggingIngestionSearchAlerting
Advertisement
Interview Question
Design a centralized logging system for microservices with ingestion, indexing, querying, and alerting at scale.
Key Points to Cover
- Ingestion: log shippers, forwarders, batching, backpressure
- Indexing: schema, storage, hot vs warm tiers
- Querying: full-text search, filters, aggregations
- Alerting: thresholds, anomaly detection, integrations
- Retention: compaction, TTLs, archiving to cold storage
Evaluation Rubric
Scalable ingestion & backpressure mgmt25% weight
Efficient indexing & tiering25% weight
Powerful querying & alerting25% weight
Retention & archiving strategy25% weight
Hints
- 💡Index only what’s queryable to control costs.
Potential Follow-up Questions
- ❓How do you prevent cardinality blowups?
- ❓How do you ensure logs aren’t tampered with?
Advertisement