A gaming platform indexes player activity and needs leaderboard queries to return the top 100 players globally with sub-100ms latency. What optimization is most impactful?
-
A
Increase max_result_window to 10000
-
B
Pre-compute rankings using a Transform and store results in a separate index
-
C
Use a terms aggregation with size=100
-
D
Add more replica shards to handle concurrent queries