live tooting debugging: IPFS edition
We've got a working version of distributed.press deployed to our staging VMm but for some reason it's taking a long time to load anything (usually the first load times out). And gateways are having trouble loading published data at all.
My initial thought was that this was a firewall thing where incoming connections aren't happening.
After tweaking IPTables rules I'm not sure. Gotta get better logs.
live tooting debugging: IPFS edition
Digging around some more I think it might be the #IPNS key resolution that's a bottleneck.
Right now most implementations rely on asking a bunch of DHT nodes for the "latest" record and checking them before letting the client know what CID to use. This can be super slow especially if results aren't getting cached agressively. The DHT is also generally slow with TCP connections for each request.