Skip to content

Parallelise calls from the querier -> ingester in an attempt to reduce latency.#1282

Closed
tomwilkie wants to merge 1 commit intocortexproject:masterfrom
grafana:query-stream-parallelism
Closed

Parallelise calls from the querier -> ingester in an attempt to reduce latency.#1282
tomwilkie wants to merge 1 commit intocortexproject:masterfrom
grafana:query-stream-parallelism

Conversation

@tomwilkie
Copy link
Contributor

Even after #1233, we're still seeing long tail latencies on QueryStream calls to the ingester. This PR splits calls from the queries to the the ingesters up into a configurable number of parallel calls.

Signed-off-by: Tom Wilkie tom.wilkie@gmail.com

…e latency.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
@tomwilkie tomwilkie force-pushed the query-stream-parallelism branch from 053b888 to d742759 Compare March 14, 2019 13:09
@bboreham
Copy link
Contributor

bboreham commented Mar 14, 2019

When I look in Jaeger it seems those calls are already parallelised. This change is to make them less parallel?

Edit: example showing all calls starting at the same time.
image

@tomwilkie
Copy link
Contributor Author

When I look in Jaeger it seems those calls are already parallelised. This change is to make them less parallel?

They're parallelised to multiple ingesters, but each ingester only has a single stream. This change gives each ingester multiple streams.

Not clear its worth it after #1306 though. And if we did, I'd want to integrate this with the inverted index shards.

@tomwilkie tomwilkie closed this Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants