temporal
temporal copied to clipboard
Cache for GRPC connections
What changed?
Create a cache for GRPC connections.
Why?
Multiple temporal services can reuse single GRPC connection if they are running in the same host. common.ClientCache will create separate GRPC connections in that case. By caching connections in RPCFactory, we can reuse those connections.
How did you test it?
Existing tests.
Potential risks
None
Documentation
Is hotfix candidate?
No