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

*: rm ZLabels #7675

Merged
merged 7 commits into from
Sep 5, 2024
Merged

*: rm ZLabels #7675

merged 7 commits into from
Sep 5, 2024

Conversation

GiedriusS
Copy link
Member

@GiedriusS GiedriusS commented Aug 28, 2024

We need to get rid of ZLabels and friends because those assume that the underlying []byte doesn't get reused. gRPC recently added support for pooling. It's about time we optimize this part. Good time to push this over the line. This has been a WIP for ~ 2 years.

@GiedriusS GiedriusS marked this pull request as draft August 28, 2024 15:17
@GiedriusS GiedriusS force-pushed the add_grpc_pooling branch 2 times, most recently from 062c2f1 to 20fe684 Compare August 28, 2024 15:48
Add pooling for grpc requests/responses.

Signed-off-by: Giedrius Statkevičius <[email protected]>
Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS GiedriusS changed the title server/grpc: add pooling *: rm ZLabels Sep 4, 2024
Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS GiedriusS force-pushed the add_grpc_pooling branch 3 times, most recently from 590ad41 to 2254b97 Compare September 4, 2024 17:47
Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS GiedriusS marked this pull request as ready for review September 5, 2024 04:52
@MichaHoffmann MichaHoffmann merged commit 8c8a88e into main Sep 5, 2024
22 checks passed
GiedriusS added a commit that referenced this pull request Oct 1, 2024
This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>
GiedriusS added a commit that referenced this pull request Oct 1, 2024
This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>
GiedriusS added a commit that referenced this pull request Oct 1, 2024
This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>
GiedriusS added a commit that referenced this pull request Oct 1, 2024
This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>
GiedriusS added a commit that referenced this pull request Oct 1, 2024
* Revert "store: add chunk pooling (#7771)"

This reverts commit a2113fd.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "query/store: memoize PromLabels() call (#7767)"

This reverts commit 735db72.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "store: compare labels directly (#7766)"

This reverts commit 30f453e.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "store: don't create intermediate labels (#7762)"

This reverts commit 8cd3fae.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: build with stringlabels (#7745)"

This reverts commit 883fade.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: enable gRPC pooling (#7742)"

This reverts commit ca8ab90.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: switch to vtprotobuf (#7721)"

This reverts commit a8e7109.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: removing gogoproto extensions (#7718)"

This reverts commit 97710f4.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: rm ZLabels (#7675)"

This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>

---------

Signed-off-by: Giedrius Statkevičius <[email protected]>
jnyi pushed a commit to jnyi/thanos that referenced this pull request Oct 17, 2024
* server/grpc: add pooling

Add pooling for grpc requests/responses.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* *: rm ZLabels and friends

Signed-off-by: Giedrius Statkevičius <[email protected]>

* *: fix tests

Signed-off-by: Giedrius Statkevičius <[email protected]>

* go.mod: revert changes

Signed-off-by: Giedrius Statkevičius <[email protected]>

---------

Signed-off-by: Giedrius Statkevičius <[email protected]>
jnyi pushed a commit to jnyi/thanos that referenced this pull request Oct 17, 2024
* Revert "store: add chunk pooling (thanos-io#7771)"

This reverts commit a2113fd.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "query/store: memoize PromLabels() call (thanos-io#7767)"

This reverts commit 735db72.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "store: compare labels directly (thanos-io#7766)"

This reverts commit 30f453e.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "store: don't create intermediate labels (thanos-io#7762)"

This reverts commit 8cd3fae.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: build with stringlabels (thanos-io#7745)"

This reverts commit 883fade.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: enable gRPC pooling (thanos-io#7742)"

This reverts commit ca8ab90.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: switch to vtprotobuf (thanos-io#7721)"

This reverts commit a8e7109.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: removing gogoproto extensions (thanos-io#7718)"

This reverts commit 97710f4.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* Revert "*: rm ZLabels (thanos-io#7675)"

This reverts commit 8c8a88e.

Signed-off-by: Giedrius Statkevičius <[email protected]>

---------

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants