Tuning refresh interval vs. search after for high-concurrency latency
Managing P99 latency in Elasticsearch under heavy concurrent load involves a trade-off between segment management and query efficiency. Increasing the index.refresh_interval mitigates CPU and I/O spikes caused by frequent segment creation and subsequent merges, but it delays the visibility of new documents to search queries. Conversely, while utilizing the s