Tagged articles

two-phase query

1 articles · Page 1 of 1
Code Farming
Code Farming
Jul 29, 2026 · Backend Development

Billions of Logs in Seconds: How Elasticsearch Makes It Possible

The article explains how Elasticsearch achieves sub‑second search over billions of log entries by combining sharding, immutable segment writes, a three‑layer inverted index, and a two‑phase query‑then‑fetch process that distributes work across nodes.

ElasticsearchShardingdistributed search
0 likes · 6 min read
Billions of Logs in Seconds: How Elasticsearch Makes It Possible