Comment by j0j0r0 on 24/07/2020 at 20:45 UTC

203 upvotes, 12 direct replies (showing 12)

View submission: The Great Reddit Scaling Bake-Off

Dragonchain TL;DR;

Dragonchain has demonstrated **twice Reddit’s entire total daily volume (votes, comments, and posts** **per Reddit 2019 Year in Review**[1]**)** in a 24-hour demo[2] on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on **Bitcoin**, **Ethereum**, **Ethereum Classic**, and **Binance Chain**, via Interchain. At the time, in January 2020, the entire cost of the demo was approximately $25K on a single system (transaction fees locked at $0.0001/txn). With current fees (lowest fee $0.0000025/txn), this would cost as little as $625.

1: https://redditblog.com/2019/12/04/reddits-2019-year-in-review/

2: https://youtu.be/pSfBid1_US4

If you’d like to read the full proposal with formatting go to the Dragonchain blog[3].

3: https://dragonchain.com/blog/reddit-ethereum-blockchain-scalability

Hello Reddit and Ethereum community!

I’m Joe Roets, Founder & CEO of Dragonchain. When the team and I first heard about The Great Reddit Scaling Bake-Off we were intrigued. We believe we have the solutions Reddit seeks for its community points system and we have them at scale.

For your consideration, we have submitted our proposal below. The team at Dragonchain and I welcome and look forward to your technical questions, philosophical feedback, and fair criticism, to build a scaling solution for Reddit that will empower its users. Because our architecture is unlike other blockchain platforms out there today, we expect to receive many questions while people try to grasp our project. I will personally answer all questions across two locations. First, I will be live on a special episode of Super Happy Dragon Lucky, Tuesday, July 28th at **6PM EST** where I will answer questions. I will then answer all questions here in this thread on Reddit.

We have seen good discussions so far in the competition. We hope that Reddit’s scaling solution will emerge from The Great Reddit Scaling Bake-Off and that Reddit will have great success with the implementation.

Turn on notifications if you’d like to be reminded about the livestream

Executive summary

Dragonchain is a robust open source hybrid blockchain platform that has proven to withstand the passing of time since our inception in 2014. We have continued to evolve to harness the scalability of private nodes, yet take full advantage of the security of public decentralized networks, like Ethereum. We have a live, operational, and fully functional Interchain network integrating Bitcoin, Ethereum, Ethereum Classic, and ~700 independent Dragonchain nodes. Every transaction is secured to Ethereum, Bitcoin, and Ethereum Classic. Transactions are immediately usable on chain, and the first decentralization is seen within 20 seconds on Dragon Net. Security increases further to public networks ETH, BTC, and ETC within 10 minutes to 2 hours.

Smart contracts can be written in any executable language, offering full freedom to existing developers. We invite any developer to watch the demo, play with our SDK’s, review open source code, and to help us move forward. Dragonchain specializes in scalable loyalty & rewards solutions and has built a decentralized social network on chain, with very affordable transaction costs. This experience can be combined with the insights Reddit and the Ethereum community have gained in the past couple of months to roll out the solution at a rapid pace.

Response and PoC

In *The Great Reddit Scaling Bake-Off* post, Reddit has asked for a series of demonstrations, requirements, and other considerations. In this section, we will attempt to answer all of these requests.

Live Demo

A live proof of concept showing hundreds of thousands of transactions

On Jan 7, 2020, Dragonchain hosted a 24-hour live demonstration during which a quarter of a billion (250 million+) transactions executed fully on an operational network. **Every single transaction** on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with **combined proof** on **Bitcoin**, **Ethereum**, **Ethereum Classic**, and **Binance Chain**, via Interchain. This means that every single transaction is secured by, and traceable to these networks. An attack on this system would require a simultaneous attack on all of the Interchained networks.

4: https://youtu.be/pSfBid1%5C_US4

5: https://youtu.be/pSfBid1_US4

The demonstration was of a single business system, and any user is able to scale this further, by running multiple systems simultaneously. Our goals for the event were to demonstrate a consistent capacity greater than that of Visa over an extended time period.

Tooling to reproduce our demo is available here:

https://github.com/dragonchain/spirit-bomb[6][7]

6: https://github.com/dragonchain/spirit-bomb

7: https://github.com/dragonchain/spirit-bomb

Source Code

Source code (for on & off-chain components as well tooling used for the PoC). The source code does not have to be shared publicly, but if Reddit decides to use a particular solution it will need to be shared with Reddit at some point.

Scaling

How it works & scales

8: https://github.com/dragonchain/dragonchain

9: https://github.com/dragonchain/spirit-bomb

10: https://github.com/dragonchain/

Architectural Scaling

Dragonchain’s architecture attacks the scalability issue from multiple angles. Dragonchain is a hybrid blockchain platform, wherein every transaction is protected on a business node to the requirements of that business or purpose. A business node may be held completely private or may be exposed or replicated to any level of exposure desired.

Every node has its own blockchain and is independently scalable. Dragonchain established *Context Based Verification* as its consensus model. Every transaction is immediately usable on a trust basis, and in time is provable to an increasing level of decentralized consensus. A transaction will have a level of decentralization to independently owned and deployed Dragonchain nodes (~700 nodes) within seconds, and full decentralization to BTC and ETH within minutes or hours. Level 5 nodes (Interchain nodes) function to secure all transactions to public or otherwise external chains such as Bitcoin and Ethereum. These nodes scale the system by aggregating multiple blocks into a single Interchain transaction on a cadence. This timing is configurable based upon average fees for each respective chain.

For detailed information about Dragonchain’s architecture, and *Context Based Verification*, please refer to the Dragonchain Architecture Document[11].

11: https://dragonchain.com/Dragonchain-Architecture.pdf

Replies

Comment by j0j0r0 at 24/07/2020 at 20:47 UTC

61 upvotes, 1 direct replies

Economic Scaling

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.

Scaled Deployment

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.

Flexibility in Scaling

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 MoMoNosquito at 28/07/2020 at 23:26 UTC*

42 upvotes, 3 direct replies

Man this is fishy. The amount of upvotes, the comments. Just reeks of manipulation.

Comment by [deleted] at 25/07/2020 at 23:21 UTC

27 upvotes, 2 direct replies

[deleted]

Comment by Pasttuesday at 29/07/2020 at 20:36 UTC

20 upvotes, 0 direct replies

Are these upvotes real?

Comment by GatorAutomator at 24/07/2020 at 21:21 UTC

12 upvotes, 1 direct replies

I'm just replying to the top level here but anyone making it this far really should read through this whole thing.

OP would you mind making a handy wikipedia-style table of contents for organization? I think people are going to get a lot out of this.

Comment by Sir-Kao-Pad at 30/07/2020 at 17:27 UTC

10 upvotes, 0 direct replies

Ethereum layer 2 reddit bake off ......

Comment by arunphilips at 29/07/2020 at 20:06 UTC

6 upvotes, 0 direct replies

This format of entry submission feels a bit too long for my liking + overshadows relevant questions and comments

Comment by [deleted] at 25/07/2020 at 14:45 UTC

1 upvotes, 0 direct replies

[removed]

Comment by [deleted] at 25/07/2020 at 20:22 UTC

1 upvotes, 0 direct replies

[removed]

Comment by [deleted] at 25/07/2020 at 23:19 UTC

1 upvotes, 0 direct replies

[deleted]

Comment by Ether4all at 03/09/2020 at 03:57 UTC

1 upvotes, 0 direct replies

Can you comment on why the Dragonchain subreddit is completely dead? That made me think it was a dead project before reading this post. Why not post over there occasionally?

Comment by toyotheophilus at 29/07/2020 at 20:50 UTC

0 upvotes, 0 direct replies

Wow, this is so interesting and awesome