In my last article I introduced the New P2P Encrypted Networking Layer for Dapp Communications that will introduce a new p2p encryption messaging layer for the Peerplays blockchain. Today I want to go further into the next point of evolution that needs to happen for an effective public decentralized open blockchain dedicated to gamification.
Rapid retrieval of data is a high priority in delivering a winning user experience. Peerplays current Graphene mechanism of in-memory relational database works great for its on-chain operations, yet if we wish to scale this speed to third party Dapps there is no way to do it in a scalable fashion.
Another Graphene based chain, EOS, has taken the approach of offering a turing complete platform in order to handle how resources are allocated with smart contracts. While the advancement has been notably impressive, we have already observed its limitations to scale even at its relatively small market share. In turn we have seen the turbulence this caused Dapp developers in rising network costs which forced some to leave EOS to either join a less used chain, or create their own. This caused frustration to the users, and greater opportunity costs to the Dapp developers.
Dapps,
As they are called in both EOS and Ethereum, require the simultaneous storage of all contracts within the blockchain to exist in every single full node. This creates an enormous cost in storage for even the smallest Dapp regardless of its usage which the network must maintain.
Taking a different approach to this, we may consider the lifecycle of the Dapp and where it begins. Like any organic organism it starts small, and doesn’t require massive resources at first. There is no need to hinder Dapp developers with higher resources costs in the fragile beginnings of their Dapp lifecycle. The requirement of having a shared database with the entire ecosystem has become a standard across blockchain which has blinded many to how it creates a barrier to entry for development of Dapps.
By Enabling a New Plugin Feature for Peerplays,
Dapp developers could have a more lean approach to the needs of Dapp database management. Resources start by being self allocated by Dapp developers which provides the beginning seed for indexes to have exposed APIs. These instances can provide the necessary API endpoints which can then through the new P2P network layer be introduced for discovery and be supported by other node providers (users) who see usage value in the Dapp.
These instances will continue to scale as the users scale, providing the necessary resources for more connections and faster response times according to the needs of the Dapp. This alleviates load management for Dapp deployment, and further supports decentralization efforts.
Once a critical mass is achieved, the Dapp has the opportunity to join or form its own consensus protocol, acting as a type of sidechain to Peerplays. The hash of the new chain fully integrates with the Peerplays chain thanks to the new high efficiency database management introduced.
Peerplays SONs Mechanism
Will allow Dapps to take advantage of various operations available in Peerplays for themselves, or as part of the network providing both vertical and horizontal scaling of database operations when desired. A popular use case will be tokens utilizing the Peerplays Decentralized Exchange pairing with PPY to discover value within the network. As their users cross through the network layer added rewards are provided adding value for Dapp developers and their users. Peerplays verified decentralized RNG combined with independant database management in this format will accelerate time to market for Dapp developers.
This significantly changes the traditional structure open public decentralized blockchains have taken in addressing the needs of database management for Dapp developers.
.
.
.
This is the 6th in a series of articles I will be making over the next month. Be sure to subscribe to get notified of future posts to find out where this goes.
Have thoughts on what I shared? Feel free to leave a comment and share!