Tagged articles
1 articles
Page 1 of 1
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Dec 5, 2024 · Databases

Key Elasticsearch Performance Tweaks: Cutting Query Latency from 50 ms to Under 1 ms

In a micro‑service that uses Elasticsearch to fetch product listings, a series of targeted optimizations—including shard reduction, segment merging, keyword mapping, request‑cache activation, and PIT‑based sorting—slashed query latency from 50‑60 ms to under 1 ms and boosted throughput to about 50 k queries per second.

ElasticsearchKeyword MappingPIT
0 likes · 11 min read
Key Elasticsearch Performance Tweaks: Cutting Query Latency from 50 ms to Under 1 ms