4 ms·
By "latency" do you mean "how long an Elasticsearch query takes to return results"? Or do you mean "how long the GC pauses the application for"? I suppose they
by vosper 7y ago
By "latency" do you mean "how long an Elasticsearch query takes to return results"? Or do you mean "how long the GC pauses the application for"? I suppose they are related, to some extent, but it's probably the ES search query time we'd be interested in improving.
- the8472 7y agoLatency is not a single number, it's a distribution. Your 99.9%tile latency will suffer when your GC has a 2s pause every 20 seconds, even when the mean latency is low. But yes, they also affect mean latency.
- paulddraper 7y agoGC latency, which is the commonly used term for the duration of GC interruption. > The period of time during which the garbage collector is active [and threads are stopped] is referred to as its latency. [1] This does of course affects the distribution of response latency. High GC latency causes more varying response times (though not necessarily higher average response time). [1] https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/latency https://docs.microsoft.com/en-us/dotnet/standard/garbage-col...