Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

receive/handler: deamplify writes through labels - #99

Open
GiedriusS wants to merge 1 commit into
0.34.0+vintedfrom
write_deamplification_0340
Open

receive/handler: deamplify writes through labels#99
GiedriusS wants to merge 1 commit into
0.34.0+vintedfrom
write_deamplification_0340

Conversation

@GiedriusS

Copy link
Copy Markdown

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 <giedrius.statkevicius@vinted.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant