I am trying to have a setup with high availability for our IPFS nodes.
Currently we have a cluster composed of
We also have a proxy Python application which connects to the IPFS Proxy API (port
9095) of either
I would expect that
py-ipfs-http-client would allow me to connect to multiple nodes like:
api = ipfshttpclient.connect('/ip4/node0/tcp/9095,/ip4/node1/tcp/9095')
However that does not work, neither do passing a list of strings.
Now what I want to achieve is:
node0is available, then writes go through it
- Otherwise, go through
The same goes for reads.
Is there any way of doing that natively or must I come up with my own HA scheme for that?