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

custom WatchdogProvider executor service #2622

Open
VladyslavOsnovin opened this issue Sep 13, 2023 · 1 comment
Open

custom WatchdogProvider executor service #2622

VladyslavOsnovin opened this issue Sep 13, 2023 · 1 comment
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner API.

Comments

@VladyslavOsnovin
Copy link

Hi.
It was found that we have one "Cloud-Spanner-WatchdogProvider-0" thread per Spanner service
For example we have around 180 clients = 180 instance of spanner and such threads. 1 thread approximately takes 1 mb off-heap memory so, these threads consume resources.
Previously we have similar problem with Cloud-Spanner-TransportChannel, but there is a possibility to set a custom executor while creating spanner service.
Is there possibility to provide custom executor for watchdog provider? Currently I don't see such possibility.

Environment details
Java version: 8
Spanner Java Library Version: 6.38.2

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Sep 13, 2023
@surbhigarg92
Copy link
Contributor

@arpan14 Can you please help triage this issue.

@arpan14 arpan14 assigned rahul2393 and unassigned arpan14 Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API.
Projects
None yet
Development

No branches or pull requests

4 participants