google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Spanner/Pubsub: too many threads (Gax)

Open nareshgnT opened this issue 5 years ago • 2 comments

Our apps connect to spanner and 1 publisher and 4 subscribers to pubsub. Even in moderate load apps spins about 160 to 200 Gax threads. It seems most of the time library not attempt to use existing once instead creates new threads. Is there way to control the no of threads in the app both spanner and pubsub lib?

nareshgnT avatar Dec 06 '19 14:12 nareshgnT

@nareshgnT please see this if it helps.

ajaaym avatar Dec 06 '19 15:12 ajaaym

@ajaaym will same applicable for subscriber and spanner as well? the example given in the mentioned thread is about publisher only?

nareshgnT avatar Dec 06 '19 16:12 nareshgnT

Obsolete. This repo no longer contains Spanner and Pub/Sub client libs.

meltsufin avatar Sep 24 '22 15:09 meltsufin