-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How the Mediator Knows Which Connection to Use #3217
Comments
Here is a rough overview off the top of my head.
I think it is that last bit you are looking for. The overall process is covered in RFC 0046 Mediators and Relays, RFC 0211 Mediator Coordination and RFC 0685 Pickup Protocol v2. The painful part as that is described is that the mediator can not horizontally scale (many instances) because the websockets have to remain connected to the same instance of ACA-Py that is the mediator. There is a component Aries SocketDock that addresses this — allowing ACA-Py to scale, but AFAIK, no one has published an open source DIDComm Mediator that has SocketDock support. For now, we just throw hardware at the mediator. Not ideal, but… Hope that helps. |
In ACA-Py, when a message needs to be forwarded to a mobile wallet, how the mediator determines which WebSocket connection (session) to use? How websocket connections are managed?
Any insight will be very much appreciated!
The text was updated successfully, but these errors were encountered: