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

feat: add an experimental feature to skip waiting for trailers for unary ops #2404

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

igorbernstein2
Copy link
Contributor

@igorbernstein2 igorbernstein2 commented Nov 5, 2024

This is off by default and can be enabled using an environment variable.
When enabled, BigtableUnaryOperationCallable will resolve the user visible future immediately when a response is available and will tell metrics to freeze all timers. Metrics will still wait for the trailers in the background for necessary metadata to publish the frozen timer values.

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Nov 5, 2024
…ary ops

This is off by default and can be enabled using an environment variable.
When enabled, BigtableUnaryOperationCallable will resolve the user visible future
immediately when a response is available and will tell metrics to freeze all timers.
Metrics will still wait for the trailers in the background for necessary metadata to
publish the frozen timer values.

Change-Id: I2101ff375de711693720af4fd2e9535aa5355f9d
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Nov 5, 2024
@igorbernstein2 igorbernstein2 marked this pull request as ready for review November 5, 2024 21:52
@igorbernstein2 igorbernstein2 requested review from a team as code owners November 5, 2024 21:52
Change-Id: Ifc95aa89c080ee8395d43adce1172f11354c306e
Change-Id: I679aeac3ec7475757ce769f4c64ede1130b35ebd
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Nov 6, 2024
Change-Id: Ia535905f4fed6f30854c05ceb300af39877ca4a1
Change-Id: I77664e40c9fd2d52b609f5063386b158cbc1e81e
@igorbernstein2 igorbernstein2 merged commit cf58f26 into main Nov 7, 2024
22 of 23 checks passed
@igorbernstein2 igorbernstein2 deleted the skip-trailers-for-real branch November 7, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants