3 ms·
I'd be interested to see exactly how they use their blockchain as the backend. They have a link to github but nothing is public. The performance seems great rig
by simmanian 5y ago
I'd be interested to see exactly how they use their blockchain as the backend. They have a link to github but nothing is public. The performance seems great right now but will it stay that way?
- singularjon 5y agoHey, founder/dev here! We will be fully open-source very soon. Our blockchain is forked from another which is open-source. The blockchain is a model in which there are nodes that are elected/voted in by the community. They are responsible for the validation/consensus of blocks getting produced. Whenever you post a question, an answer, or an upvote, the request goes straight from the browser to the blockchain, and your content gets stored there. That data now belongs to you, and you can earn tokens on it indefinitely. Write performance should stay about the same even at scale because our network is capable of much higher transactions per second due to having elected nodes. Read performance will continue to be good because we have a caching layer where we store posts from the blockchain in a database and just serve from there. This technically adds a bit of centralization, but ultimately, everyone's content still belongs to themselves and not a centralized org.
- simmanian 5y agoThat's cool! Could you share which blockchain you forked from? I'm no blockchain expert, just looking to learn more.
- singularjon 5y agoSure, https://github.com/dtube/avalon https://github.com/dtube/avalon - It's quite possibly the easiest blockchain to understand. The node is written in Javascript and uses a local Mongodb to handle storage of blocks and content data.
- NicoJuicy 5y agoWouldn't it be simpler to just store everything on your own and let events ( eg. In DDD applications) just write to the blockchain? Instead of threathing the blockchain as source of truth?
- singularjon 5y agoWell, the important thing is just that requests get sent directly from the browser to the blockchain. If it goes through our servers, it creates a layer of centralization. We do pretty much just store things on our own. When you create a post, it goes out both to our database and the blockchain independently. But I feel that the blockchain should be the source of truth if it's going to be decentralized.