xDai Stable Chain Reddit Scalability

A collaborative effort with Splunk to scale Reddit Community Points

The xDai Stable Chain is nearing 2 years in production, with live use cases, an active developer community, and full EVM ecosystem compatibility and interoperability with Ethereum. It has been tested at large events and handled the increased load with ease. xDai is a proven solution for scalability, and it is available now.

For the Great Reddit Scaling Bakeoff we collaborated with Splunk to provide data observation and monitoring. Together we achieved some amazing results!

  • Immediate Scalability: Using a custom load script, we were able to handle simulated transactions for 100,000 Reddit users in less than 4.5 hours. This was achieved with 0 gas fees, as Reddit contracts were whitelisted in the solution. We also deployed a continuous load script to demonstrate an active implementation.

  • Long Term Viability: We spun up an experimental chain with 1 second blocks and high gas limits to test scalability for 430 million monthly users. All 300,000 transactions were handled in less than 30 minutes.

  • Interoperability: Cross-chain transfers were achieved using the TokenBridge Arbitrary Message Bridge to transfer MOONS from Rinkeby to xDai and back. The Connext team also built Spacefold which features an xDai State Channel integration and interoperability without intermediaries.

  • Data Transparency: The Splunk team created dashboards to view real-time and historical data. All transactions are on-chain and accessible using BlockScout Explorer.

  • Data Availability & Transportability: Our solution solves data availability, gas cost and congestion issues right now. As Ethereum moves to 2.0, subreddit community points and transaction history could be easily migrated to a shard on 2.0 to address future scalability and decentralization needs.

Meeting the Challenge