hyperledger-archives / aries-cloudagent-loadgenerator

aries-cloudagent-loadgenerator
https://wiki.hyperledger.org/display/aries
Apache License 2.0
17 stars 11 forks source link

Dynamically Scale Holder and Issuer/Verifier AcaPy Horizontally #41

Closed PaulWen closed 2 years ago

PaulWen commented 2 years ago

Using an nginx as a load balancer allows us to scale Holder and Issuer/Verifier AcaPys horizontally. Unfortunately, the current setup is very inflexible as the nginx.conf lists all the available Holder and Issuer/Verifier AcaPys.

In the future, it should be possible to specify the number of Holder and Issuer/Verifier dynamically via the .env.

PaulWen commented 2 years ago

Possible Options:

  1. Use Traefik instead of nginx as a load balancer: https://doc.traefik.io/traefik/user-guides/docker-compose/basic-example/
  2. Generate nginx config dynamically via the manage.sh
PaulWen commented 2 years ago

For the issuer side: https://github.com/My-DIGI-ID/aries-cloudagent-loadgenerator/commit/d518ceaf78e8b0a17b7ae077773465bc77fa45f3

PaulWen commented 2 years ago

For the holder side: https://github.com/My-DIGI-ID/aries-cloudagent-loadgenerator/commit/b246909d8eb3e422eaf7430bf50df23c25319d42