animo / animo-mediator

An easy to set-up Aries and DIDComm v1 mediator built on Aries Framework JavaScript.
8 stars 11 forks source link

Horizontal scalability #20

Open icc-garciaju opened 1 year ago

icc-garciaju commented 1 year ago

Hi, I want to know if this is horizontally scalable.

Can I have several instances running and load-balance between them? Is there any special setting I have to turn on?

Thank you in advance.

TimoGlastra commented 11 months ago

Hi @icc-garciaju,

Sorry for the late reply. Currently this repo does not fully support multi-instance repositories, but we have some changes already made internally that would support that.

It will require an additional component such as redis, to support communication between the different mediator instances

icc-garciaju commented 11 months ago

Thanks for the reply. It's normal that multi-instance sofware requires some kind of synchronization mechanism.

Are you planning to release it at any time? Thanks in advance.