Sooraj 🚢 Profile picture
May 16 16 tweets 8 min read
'Parallelism' is a core feature of #Cardano's EUTxO ledger model
 
This is one of those features that enable the  creation of scalable DApp on #Cardano
 
So let's dive in and explore the concept of 'Parallelism':🧵👇
So what is ''Parallelism'' ??

In the context of computation

The term Parallelism refers to techniques to make programs faster by performing several computations at the same time
Why is parallelism important in the context of #Blockchain?

A blockchain architecture that allows transaction parallelism is a requirement to have high throughput on-chain

and it allows for the building of scalable Dapps on top of the #Blockchain
So what determines the ability of Blockchain to have transaction parallelism?

As we all know

the difference in ''State'' is one of the core factors that differentiate

#Ethereum's account-based model from the E-UTxO model of #Cardano
The Account-based ledger model creates the notion of a 'shared mutable state'
 
Which means
 
•If two or more parties can change the same data 
 
•And if their lifetimes overlap
 
Then there is a risk of one party's modifications preventing other parties from working correctly
This hinders the parallel execution of transactions on an account-based model

On an account-based model, transactions are as serialized as possible due to this limitation

this does not take advantage of the multi-core architecture of modern processors and limits the throughput
This is where we see the benefits of the E-UTxO model of #Cardano

Inherently fragmented the ledger state is one of the core features that differentiate

#Cardano's E-UTxO architecture from the Account-based ledger model of #Ethereum
The UTXO-based designs get parallelizability by design

And E-UTxO model of #cardano brings smart contract capabilities to the UTxO

by extending it with arbitrary script and data

which allows for the parallelizable smart contract execution
But why did the new Dapps, especially AMMs (automatic market makers) trying to deploy on #Cardano encountered the concurrency issue?

To understand that, you have to understand the subtle difference between

''Paralellism'' and ''Concurreny''
So what is concurrency?

Concurrency is the ability of multiple actors to ''make progress on a task'', without interfering with each other.

Contention happens,

when multiple actors are engaged in a task, actually interfere with each other and hinder the process
#Ethereum's Account-based model is decent at concurrency, terrible at parallelism

The E-UTXO model is fantastic at parallelism

but depending upon the protocol designs

UTxO model could face contention, making it not very concurrent
#Cardano aims to offer concurrent, parallel execution of transactions with its EUTxO model without contention
Because of the entirely different ledger architecture of #Cardano and #Ethereum

A developer can’t just use a copy of the #Ethereum smart contract to deploy a scalable Dapp on Cardano

This requires some innovation and engineering when designing your protocol on #Cardano
which leverages the inherently fragmented nature of the UTXO model

For eg: DApps should split up their on-chain state across many UTXOs

which could enable concurrent parallel execution in the Dapp, thereby allowing higher throughput
TL;DR -

#Cardano's EUTxO ledger model has an inherently fragmented ledger state

• Which makes parallel transaction processing possible

• A smart contract design logic that allows for concurrent parallel execution can benefit from a significant increase in throughput
If you found this thread valuable: 1. Toss me a follow for more threads on technical deep dives and Defi→
@Soorajksaju2

2. Here’s another thread on 'Djed'- the first stable coin on #Cardano, that you might find useful:

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sooraj 🚢

Sooraj 🚢 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Soorajksaju2

May 10
Djed was the Quintessence of ''stability'' in ancient Egypt

The symbolic backbone of the god Osiris, the god of Afterlife & Ressurection

And Stability is what Djed is bringing to the #Cardano ecosystem

Here’s a deepdive on the tech behind Djed, stable coin on #Cardano🧵👇
So what is a stable coin?

A stable coin is a price-stable digital asset

that behaves like a fiat currency

but maintains the mobility and utility of a cryptocurrency

It offers a way to bridge the gap between fiat currencies like the U.S dollar and cryptocurrencies
Stable coins are important for crypto markets

Because price stability is built into the assets themselves

It opens up many opportunities for DeFi and value transfer without the risk of price fluctuations

They achieve this price stability is through the underlying collateral
Read 31 tweets
May 8
#CardanoCommunity is in the top three and growing & more and more Projects are building on #Cardano

99% of the fud on #Cardano is not honest criticism

They do it to legitimize the drawbacks of the platform they are invested in

Or to do engagement farming
The most honest criticism that #Cardano gets is from the people who are engaged in building projects on #Cardano

So let's not focus our attention on fud that says ''global state is a necessity for DeFi''

But let's put our heads down, focus on building & educating
Respect is not earned by begging for it!!

Let's do it by demonstrating the capabilities of the platform that #Cardano is building

the upgrades that are planned for the second half of 2022 are of paramount importance in demonstrating these capabilities

so let's focus on that👇
Read 8 tweets
Apr 24
@orbisproject is one of the first projects engaged in building mission-critical scalability infrastructure on #Cardano

Bringing L2 scalability to Cardano through Zero-Knowledge(ZK) Rollup

Here’s a breakdown of the tech that scales #Cardano to be a global financial platform:🧵👇
@orbisproject is a general purpose ZK Rollup on #Cardano

So, what are Rollups?

They are L2 solutions

• that settles the transactions outside of the L1, eg. #Cardano

• but post the transaction data back to the L1

• which allows rollups to be secured by native L1 security
• Rollups are fully general-purpose

meaning

any one can even run an copy of L1 (eg: #Cardano) inside a rollup

allowing existing dApps and native assets to migrate to rollups

with almost no need to write any new code
Read 26 tweets
Apr 21
Hydra: The Layer 2 scaling solution with ''Isomorphic state channels''

is one of the most anticipated scaling solutions on #Cardano

which awaits its implementation in 2022

Here’s a breakdown of the tech that brings Layer 2 (L2) scaling to #Cardano: 🧵👇 Image
Let's start from the basics!

So what's an L2 scaling solution?

It's a collective term used for solutions created to help scale a Blockchain

by processing transactions off of the Mainnet/L1

while still maintaining the same security measures and decentralization as the mainnet
So what are the main types of L2 scaling solutions?

•Sidechains

•Optimistic rollups

•Zero-knowledge rollups

•Channels (state channels and payment channels) Image
Read 23 tweets
Apr 18
#Cardano is anticipating a new wave of upgrades with the Vasil HFC event on the 29th of June 2022

Upgrades on Plutus- #Cardano's smart contract platform (CIPs)

are among the most anticipated components of this HFC event

Here’s a breakdown of each one of those upgrades:🧵👇
Plutus is the smart contract platform of the #Cardano blockchain

It allows you to write applications that interact with the Cardano blockchain

The capabilities that Plutus enable range from

• NFTs
• dApps
• native assets &
• on-chain conditional logic
So let's go a bit deep into how programming in Plutus works!

This starts with the compiler pipeline

Plutus contracts are currently written in the functional programming language ''Haskell'

The source code in Haskell is then converted into Plutus IR (Intermediate Representation
Read 26 tweets
Apr 15
The point of #Cardano with its solid scientific and mathematical foundations was not to replicate the degen DeFi space of #Ethereum

But to elevate decentralized Finance to a whole new level

Maladex is an upcoming project on #cardano which aims to live up to that expectation🧵👇
So what is Maladex?

Maladex is not a DEX

But a novel Research-Driven ''trading platform'' on #Cardano

Which aims to revolutionize the Decentralized Finance (DeFi) ecosystem by application of research rigour and quantitative modelling expertise from Traditional Finance (TradFi)
So what is the core innovation Maladex bringing to the DeFi space?

As of now, DeFi is plagued with capital inefficiencies like ''Impermanent loss(IL)'' and ''high slippage''

Maladex introduces a revolutionary execution model based on the concept of ''Programmable Swaps''
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(