Skip to content

Commit 6140aaf

Browse files
Get stackframes and executables more concurrently (#93559)
With this commit we raise the default value for `xpack.profiling.query.details.max_slices` from `1` to `16`. This setting controls how many mget API calls are issued concurrently to retrieve stackframes and executables. While in our initial testing with a single node we did not see much of an improvement with higher concurrency levels, a more realistic deployment consisting of three hot nodes shows a latency reduction by about 14% (from 1374ms 50th percentile latency to 1180ms 50th percentile latency). Relates #93448
1 parent bb76d2e commit 6140aaf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/93559.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 93559
2+
summary: Get stackframes and executables more concurrently
3+
area: Search
4+
type: enhancement
5+
issues: []

x-pack/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/TransportGetProfilingAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class TransportGetProfilingAction extends HandledTransportAction<GetProfi
5353

5454
public static final Setting<Integer> PROFILING_MAX_DETAIL_QUERY_SLICES = Setting.intSetting(
5555
"xpack.profiling.query.details.max_slices",
56-
1,
56+
16,
5757
1,
5858
Setting.Property.NodeScope
5959
);

0 commit comments

Comments
 (0)