ఒక append-only pipeline: agents → Kafka → tiered storage (hot in ClickHouse/ELK, cold in object storage) ను నిర్మించండి, ఇటీవలి data ను index చేసి మిగిలినది చవకగా archive చేసే retention policy తో. 100M events/day అంటే సగటున ~1,200/sec (spikes చాలా ఎక్కువ) మరియు రోజుకు tens-to-hundreds of GB — మీరు OLTP semantics కాదు, చవకైన writes మరియు bounded query cost కోసం optimize చేస్తారు.
App/agents ─▶ Kafka ─▶ Consumers ─┬─▶ ClickHouse / ELK (hot: last 7–30d, indexed, fast search)
(Fluent Bit) (buffer, │
replay) └─▶ S3/Parquet (cold: 90d–years, cheap, scan-on-demand)
│
Lifecycle/tiering ─▶ Glacier (archive) ─▶ delete at retention
