62 upvotes, 1 direct replies (showing 1)
View submission: The Great Reddit Scaling Bake-Off
An interesting feature of Dragonchain’s network consensus is its economics and scarcity model. Since Dragon Net nodes (L2-L4) are independent staking nodes, deployment to cloud platforms would allow any of these nodes to scale to take on a large percentage of the verification work. This is great for scalability, but not good for the economy, because there is no scarcity, and pricing would develop a downward spiral and result in fewer verification nodes. For this reason, Dragonchain uses TIME as scarcity.
TIME is calculated as the number of Dragons held, multiplied by the number of days held. TIME influences the user’s access to features within the Dragonchain ecosystem. It takes into account both the Dragon balance and length of time each Dragon is held.
TIME is staked by users against every verification node and dictates how much of the transaction fees are awarded to each participating node for every block.
TIME also dictates the transaction fee itself for the business node. TIME is staked against a business node to set a **deterministic transaction fee** level (see transaction fee table below in Cost section). This is very interesting in a discussion about scaling because it guarantees independence for business implementation. No matter how much traffic appears on the entire network, a business is guaranteed to not see an increased transaction fee rate.
Dragonchain uses Docker and Kubernetes to allow the use of best practices traditional system scaling. Dragonchain offers *managed nodes* with an easy to use web based console interface. The user may also deploy a Dragonchain node within their own datacenter or favorite cloud platform. Users have deployed Dragonchain nodes on-prem on Amazon AWS, Google Cloud, MS Azure, and other hosting platforms around the world.
Any executable code, anything you can write, can be written into a smart contract. This flexibility is what allows us to say that developers with no blockchain experience can use any code language to access the benefits of blockchain. Customers have used NodeJS, Python, Java, and even BASH shell script to write smart contracts on Dragonchain.
With Docker containers, we achieve better separation of concerns, faster deployment, higher reliability, and lower response times.
We chose Kubernetes for its self-healing features, ability to run multiple services on one server, and its large and thriving development community. It is resilient, scalable, and automated. OpenFaaS allows us to package smart contracts as Docker images for easy deployment.
Contract deployment time is now bounded only by the size of the Docker image being deployed but remains fast even for reasonably large images. We also take advantage of Docker’s flexibility and its ability to support any language that can run on x86 architecture. Any image, public or private, can be run as a smart contract using Dragonchain.
Dragonchain’s architecture considers interoperability and integration as key features. From inception, we had a goal to increase adoption via integration with real business use cases and traditional systems. We envision the ability for Reddit, in the future, to be able to integrate alternate content storage platforms or other financial services along with the token.
These integrations or any other are relatively easy to integrate on Dragonchain with an Interchain implementation.
Comment by j0j0r0 at 24/07/2020 at 20:49 UTC
34 upvotes, 1 direct replies
Cost estimates (on-chain and off-chain)
For the purpose of this proposal, we assume that all transactions are on chain (posts, replies, and votes).
On the Dragonchain network, transaction costs are deterministic/predictable. By staking TIME on the business node (as described above) Reddit can reduce transaction costs to as low as $0.0000025 per transaction.
┌───────────────┬────────────┐ │ TIME │ USD │ ╞═══════════════╪════════════╡ │ 0 │ $1.00 │ ├───────────────┼────────────┤ │ 250,000 │ $0.50 │ ├───────────────┼──���─────────┤ │ 500,000 │ $0.25 │ ├───────────────┼────────────┤ │ 1,000,000 │ $0.10 │ ├───────────────┼────────────┤ │ 2,000,000 │ $0.05 │ ├───────────────┼────────────┤ │ 3,000,000 │ $0.03 │ ├───────────────┼────────────┤ │ 4,000,000 │ $0.01 │ ├───────────────┼────────────┤ │ 7,000,000 │ $0.005 │ ├───────────────┼────────────┤ │ 11,000,000 │ $0.0025 │ ├───────────────┼────────────┤ │ 17,000,000 │ $0.0010 │ ├───────────────┼────────────┤ │ 28,000,000 │ $0.0005 │ ├───────────────┼────────────┤ │ 47,000,000 │ $0.00025 │ ├───────────────┼────────────┤ │ 78,000,000 │ $0.00010 │ ├───────────────┼────────────┤ │ 130,000,000 │ $0.00005 │ ├───────────────┼────────────┤ │ 216,000,000 │ $0.000025 │ ├───────────────┼────────────┤ │ 360,000,000 │ $0.000010 │ ├───────────────┼────────────┤ │ 600,000,000 │ $0.000005 │ ├───────────────┼────────────┤ │ 1,000,000,000 │ $0.0000025 │ └─────────��─────┴────────────┘
How to run it
Building on Dragonchain is simple and requires no blockchain experience. Spin up a business node (L1) in our managed environment (AWS), run it in your own cloud environment, or on-prem in your own datacenter. Clear documentation will walk you through the steps of spinning up your first Dragonchain Level 1 Business node.
Getting started is easy...
1. Download Dragonchain’s dctl
2. Input three commands into a terminal
3. Build an image
4. Run it
More information can be found in our Get started documents.
​
1: https://docs.dragonchain.com/docs/quickstart.html
2: https://docs.dragonchain.com/
Architecture
Dragonchain is an open source hybrid platform. Through Dragon Net, each chain combines the power of a public blockchain (like Ethereum) with the privacy of a private blockchain.
Dragonchain organizes its network into five separate levels. A Level 1, or business node, is a totally private blockchain only accessible through the use of public/private keypairs. All business logic, including smart contracts, can be executed on this node directly and added to the chain.
After creating a block, the Level 1 business node broadcasts a version stripped of sensitive private data to Dragon Net. Three Level 2 Validating nodes validate the transaction based on guidelines determined from the business. A Level 3 Diversity node checks that the level 2 nodes are from a diverse array of locations. A Level 4 Notary node, hosted by a KYC partner, then signs the validation record received from the Level 3 node. The transaction hash is ledgered to the Level 5 public chain to take advantage of the hash power of massive public networks.
Dragon Net can be thought of as a “blockchain of blockchains”, where every level is a complete private blockchain. Because an L1 can send to multiple nodes on a single level, proof of existence is distributed among many places in the network. Eventually, proof of existence reaches level 5 and is published on a public network.