I am building a node.js web api using IPFS basically as a database for json records.
As IPFS gateway I am using Infura which works great.
As you know, for mutable files IPNS comes to the rescue. Unfortunately Infura does not support IPNS so I would like to discuss what’s the alternative?
From what I see, I have two options:
- run IPFS daemon on a VM and publish IPNS recording using it’s http API
- run js-ipfs with my node.js API and programmatically publish IPNS names.
In general, the more I read about IPNS, the more I wonder if it is the right choice to handle resolving mutable files on IPFS
- it requires an alive node in order to be holder of the keys (if the node goes down, the keys might be lost forever)
- it seems to be quite slow to distribute the keys (it depends who and how it reads them)
- IPNS ha
In short, what are my options in case I want high availability and high response for mutable data when using IPFS?
PS: I tried DNSLink, yeah, it’s a wonderful solution for static content but not for mutable data.