Why sharding is great: demystifying the technical properties

Glasp

Hatched by Glasp

Jul 15, 2023

5 min read

0

Why sharding is great: demystifying the technical properties

Progressive Web Apps on iOS are here 🚀

In the world of blockchain technology, scalability, decentralization, and security are the three properties that every blockchain strives to achieve. However, according to the scalability trilemma, it is difficult to have all three properties simultaneously using simple techniques. This is where sharding comes into play.

Sharding is the future of Ethereum scalability and will play a crucial role in enabling the ecosystem to support thousands of transactions per second at an affordable cost. Traditional blockchains rely on every participant running a full node to verify each transaction, which provides decentralization and security but lacks scalability.

On the other hand, high-TPS chains offer scalability and security but sacrifice decentralization. Multi-chain ecosystems aim to scale out by having different applications on different chains, but this compromises security. Sharding solves these issues by randomly splitting up the verification work among validators.

In sharding through random sampling, a group of validators is assigned to verify a block, known as a committee. This random sampling prevents attackers from concentrating their power on one shard. Even in a 100-chain multichain ecosystem, an attacker would need only a small percentage of the total stake to wreak havoc on a single chain.

Tight coupling is another important aspect of sharding. If even one shard contains a bad block, the entire chain reorganizes to avoid it. This ensures that a chain with a single bad block is not acceptable and should be thrown out as soon as it is discovered.

While sharding improves scalability, there are still some vulnerabilities in the system. Sharded chains relying solely on committees are vulnerable to adaptive adversaries and have weaker accountability. Data availability sampling is only secure if there is a sufficient number of online clients making enough data availability sampling requests. Timing assumptions become crucial if the sharded chain relies on fraud proofs. Additionally, the increased amount of data passed around increases the risk of failures under extreme networking conditions.

Despite these challenges, sharding aims to replicate the important security properties of traditional blockchains without the need for each node to personally verify every transaction. It provides a scalable and secure solution for the blockchain ecosystem.

Now, let's shift gears and talk about another exciting development - Progressive Web Apps (PWAs) on iOS. Previously, iOS did not fully support PWAs, but now they are finally here.

PWAs are web applications that provide users with an app-like experience. They can be accessed through a web browser and do not require installation from an app store. PWAs offer several advantages, such as offline functionality, push notifications, and faster loading times.

The arrival of PWAs on iOS is a significant step forward for developers and users alike. Previously, iOS users were limited to native apps from the App Store, which often required extensive development time and adherence to strict guidelines.

With the introduction of PWAs on iOS, developers can now create cross-platform applications that work seamlessly on both iOS and Android devices. This saves time and resources, as developers no longer need to build separate apps for each platform. Users can access these apps directly from their web browser, eliminating the need for app store downloads.

Additionally, PWAs on iOS support service workers, which allow offline functionality. This means that users can continue using the app even without an internet connection. Push notifications are also supported, providing a more engaging user experience.

However, it's important to note that while PWAs on iOS offer many benefits, there are still some limitations compared to native apps. For example, PWAs have limited access to certain device features, such as Bluetooth and NFC. The performance of PWAs may also be slightly slower than native apps.

Despite these limitations, the introduction of PWAs on iOS opens up new possibilities for developers and users. It allows for greater flexibility, cross-platform compatibility, and a more seamless user experience.

In conclusion, sharding is a groundbreaking solution for blockchain scalability, decentralization, and security. By randomly splitting up the verification work among validators, sharding provides a scalable and secure environment for the blockchain ecosystem. However, there are still challenges to overcome, such as vulnerabilities to adaptive adversaries and network failures.

On the other hand, the arrival of PWAs on iOS is a significant development for developers and users. It allows for cross-platform compatibility and offers advantages such as offline functionality and push notifications. While there are limitations compared to native apps, PWAs provide a more flexible and accessible option for users.

To make the most of these advancements, here are three actionable pieces of advice:

  1. Embrace sharding: If you are involved in the blockchain space, consider implementing sharding to improve scalability and security. Explore different sharding techniques and protocols to find the one that best suits your needs.

  2. Explore PWAs: If you are a developer, take advantage of the new opportunities presented by PWAs on iOS. Experiment with building cross-platform applications and leverage the benefits of offline functionality and push notifications.

  3. Evaluate trade-offs: Always consider the trade-offs between scalability, decentralization, and security when implementing blockchain solutions. Understand the limitations and vulnerabilities of sharding and work towards mitigating them.

By combining the power of sharding in the blockchain ecosystem and the accessibility of PWAs on iOS, we can unlock new possibilities and drive innovation in the digital world. Embrace these advancements, evaluate the trade-offs, and strive for a more scalable, decentralized, and secure future.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣