google-cloud-java
google-cloud-java copied to clipboard
Spanner/Pubsub: too many threads (Gax)
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 please see this if it helps.
@ajaaym will same applicable for subscriber and spanner as well? the example given in the mentioned thread is about publisher only?
Obsolete. This repo no longer contains Spanner and Pub/Sub client libs.