Exploring the Blockchain Trilemma
The blockchain trilemma is the problem of balancing decentralization, scalability, and security. This blog explores the concept of a trilemma and how it applies to blockchain technology.
Francesco
· Developer Advocate at @dailydotdev · Docker Captain · Public Speaker · Building a 1 Million Community 23% · All the links ➞ https://t.co/2DLpQ5cNoa
-
What is the Blockchain Trilemma for Ethereum?
— Francesco (@FrancescoCiull4) June 24, 2023
A thread with visuals
↓ pic.twitter.com/xP3aaLmr8g -
What is a Trilemma
— Francesco (@FrancescoCiull4) June 24, 2023
A Trilemma, in general, is a difficult choice between 3 options.
It can be graphically represented with a triangle, where the choice of a side (2 options) disadvantages the third one.
An analogy with software:
- Fast
- Good
- Cheap
You can have 2, not 3 -
The Blockchain Trilemma
— Francesco (@FrancescoCiull4) June 24, 2023
The blockchain trilemma is the problem of being very hard, if not impossible, to balance between:
- decentralization
- scalability
- security
↓ pic.twitter.com/waxYILyw88 -
Decentralization
— Francesco (@FrancescoCiull4) June 24, 2023
A blockchain should not rely on a central authority.
Trade-off: SPEED.
It would take longer if a transaction requires many confirmations instead of 1 before reaching a consensus.
Bitcoin is an example of a secure and decentralized but slow blockchain. -
Scalability
— Francesco (@FrancescoCiull4) June 24, 2023
A blockchain should be scalable to be used
from as many people as possible.
The problem is understanding the limits and how much this is sustainable for the blockchain.
Trade-off: CENTRALIZATION. To make things faster, an easy way is to centralize the power. -
Security
— Francesco (@FrancescoCiull4) June 24, 2023
A blockchain has to be secure. Otherwise, everything else collapses.
Trade-off: SCALABILITY and DECENTRALIZATION. To make a blockchain secure, many resources are needed (and there is no 100% guarantee that it will work forever) -
So there are actually 3 options.
— Francesco (@FrancescoCiull4) June 24, 2023
- Secure and decentralized
- Decentralized and scalable
- Scalable and secure -
Secure and decentralized
— Francesco (@FrancescoCiull4) June 24, 2023
This is how Ethereum looks now.
Secure + decentralized blockchain networks require every node to verify every transaction processed by the chain.
This amount of work limits the number of transactions that can happen at any one given time. pic.twitter.com/ct3S4fl3zN -
Decentralized and scalable
— Francesco (@FrancescoCiull4) June 24, 2023
Decentralized networks work by sending info about transactions across nodes.
Scaling transactions per second across a network poses security risks:
More transactions > longer delay > higher chances of attack while the info is in flight. -
Scalable and secure
— Francesco (@FrancescoCiull4) June 24, 2023
Increasing the size and power of nodes could securely increase transactions per second.
But the hardware requirement would restrict who could do it.
Hopefully, Ethereum will increase the number of nodes with:
- sharding
- Proof-of-stake pic.twitter.com/uHbdR7ZrEx -
if this thread has been useful, follow @FrancescoCiull4 and share the tweet belowhttps://t.co/qKridQISJF
— Francesco (@FrancescoCiull4) June 24, 2023