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

Commits on Apr 23, 2024

  1. receive/handler: deamplify writes through labels

    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>
    GiedriusS committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    012db0a View commit details
    Browse the repository at this point in the history