-
Notifications
You must be signed in to change notification settings - Fork 604
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
In a scenario where multiple instances of an MCP server are horizontally scaled and load-balanced (e.g. k8s), the session ID needs to be shared between the instances
Describe the solution you'd like
The StatefulSessionManager class is sealed, and there is no interface implementation available so that we could use a distributed cache like HybridCache to allow for session sharing. Either:
- create an interface to allow custom session management; or
- use
HybridCacheto store sessions in-memory while allowing for an external secondary cache (e.g. Redis)
Describe alternatives you've considered
- Overriding the
StatefulSessionManagerclass - Update the infrastructure to leverage sticky by a proxy
edespong
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request