Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

receive/handler: deamplify writes through labels #99

Open
wants to merge 1 commit into
base: 0.34.0+vinted
Choose a base branch
from

Conversation

GiedriusS
Copy link
Collaborator

Currently, the tenant field is a separate field in WriteRequest. This is one of the reasons why we have such a write amplification - we get 200 req/s on HTTP level but 100k/s on gRPC level. Ordinarily, we need to send each tenant's data individually. But, we could embed multiple tenant's data in one gRPC request. Do that by using labels, just like how we receive the data right now.

Currently, the tenant field is a separate field in WriteRequest. This
is one of the reasons why we have such a write amplification - we get
200 req/s on HTTP level but 100k/s on gRPC level. Ordinarily, we need to
send each tenant's data individually. But, we could embed multiple
tenant's data in one gRPC request. Do that by using labels, just like
how we receive the data right now.

Signed-off-by: Giedrius Statkevičius <[email protected]>
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.

1 participant