🌱 Digital Garden

Where my ideas grow. A permanent Work In Progress.


Offline-First and Decentralization

I am not sure this is a well understood or well researched fact. Might be. But researching on offline first applications and working in the decentralized field, I find there are many relations between both. It’s easy to understand why: if my application keeps all its functionalities while I’m not connected to the network, it means that I, as a single node or single user in the network, have as much agency, or decision power, as the whole network.

Decentralization

Testground Debugging

Testground Testground is an open source tool developer by Protocol Labs. It’s designed to write large scale test plans for decentralized software. URL: https://docs.testground.ai/ How to debug Testground Testground is pretty cool, but debugging is sort of a pain because everything runs in docker containers. Enable Debug Logging TBDescribed Use an actual debugger from the docker containers TBDescribed

Decentralization

Testground Hacks & Tricks

Testground Testground is an open source tool developer by Protocol Labs. It’s designed to write large scale test plans for decentralized software. URL: https://docs.testground.ai/ Run testground on your server Setup testground on a server, Run the daemon with testground daemon. On your machine, tunnel the testground port: ssh MYMACHINE -N -L "8043:localhost:8042" Then change the testground configuration to talk to your server: in file: ~/testground/.env.toml [client] endpoint = "http://localhost:8043" Now you can talk to your server without wasting time with proxies and stuff.

Decentralization

Troubleshooting an IPFS Cluster

IPFS Cluster A pretty cool tool: cluster.ipfs.io/. It lets you create clusters of IPFS nodes that are orchestrated togethere to make sure content is available and replicated. Note that it’s not a decentralized solution, there is no incentive to connect and replicate data on this cluster, it’s designed to be operated in a trusted environment (single organization for example) like Hadoop’s HDFS for example. I would see this like a “big IPFS node”.

Decentralization

Troubleshooting an IPFS Cluster

IPFS Cluster A pretty cool tool: cluster.ipfs.io/. It lets you create clusters of IPFS nodes that are orchestrated togethere to make sure content is available and replicated. Note that it’s not a decentralized solution, there is no incentive to connect and replicate data on this cluster, it’s designed to be operated in a trusted environment (single organization for example) like Hadoop’s HDFS for example. I would see this like a “big IPFS node”.

Decentralization