[Requestor enchancement] Loading the same wallet onto multiple requestors causes issues with routing #3006
cryptobench
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am deploying an architecture that can spin up multiple requestors horizontally via Docker containers, and i'm facing an issue where if I spin up more than 1 requestor with a wallet that's being loaded on container start, then only the first requestor container will receive offers and spin up my service. If I deploy more than 1 requestor container, then the 2 other containers left will just sit and not collect offers from the network for anything between 2-10 minutes and it gets shutdown by a rather generous container healthcheck i've implemented. If i'm lucky enough to have the 2 containers left pick up any offers and create an agreement, then we start seeing errors like the following:
Using the same wallet address on all nodes will cause all the nodes to have the same ID on the network, which presumeably is the cause of this issue. The reason for loading the same wallet up on each requestor is to have a service that i can scale horizontally both ways and not having to monitor multiple wallets for funds.
If I should solve this issue right now, then I would have to let yagna generate a new wallet address for each requestor container, then create some service that monitors funds for each requestor container and top up each one up accordingly to their needs. This quickly gets very complicated and I could even result in loss of funds if the requestor container doesn't properly transfer out the funds when being shut down.
Beta Was this translation helpful? Give feedback.
All reactions