Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
Description:
The current Connections singleton mixes configuration (aliases) with active connection state. As we move towards a stateless GrpcHandler, the connection management layer needs to be fundamentally redesigned to better support:
- True Pooling: Manage a pool of underlying gRPC channels that can be borrowed.
- Context Isolation: Ensure that user-specific context (like
db_name, user, role) is applied at the request level, not the connection level.
- Health Checks: Better active health monitoring of connections.
Note: This is a long-term refactoring goal that builds upon the work of making GrpcHandler stateless .
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Anything else?
No response