Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemote storage queue's concurrent sends cause out-of-order samples #1843
Comments
juliusv
added
kind/bug
kind/design
component/remote storage
labels
Jul 25, 2016
This comment has been minimized.
This comment has been minimized.
|
I think the other end will need to be able to deal with this. I'm expecting parallelism to be required to have the required throughput. |
This comment has been minimized.
This comment has been minimized.
|
We could have both parallelism and in order delivery. For instance, we could shard by metric name (or fingerprint...) and then deliver in parallel. |
This comment has been minimized.
This comment has been minimized.
|
To get to the point where you could consider not having parallelism would require major design first (as in we'd need to completely flesh out this interface), so I think that's very much out of scope for the medium term anyway. |
brian-brazil
added
kind/enhancement
and removed
kind/bug
labels
Jul 26, 2016
This was referenced Aug 29, 2016
juliusv
closed this
in
#1931
Aug 30, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedJul 25, 2016
The remote storage queue manager fires off concurrent requests to send sample batches to the remote storage:
prometheus/storage/remote/queue_manager.go
Lines 183 to 204 in e980913
This causes samples to be sent out-of-order, which the receiving side might not be equipped to handle. Not sure what's going to happen with this interface in general, but if it's generally going to stay, we should consider removing the parallelism (or make it configurable in case people have a backend that doesn't care?).