On #SUI parallelism

Questions came up on this topic after my thread so here is a deeper dive.

Read on

1/x
Sui can process (sequencing + execution + commitment) multiple groups of txns in parallel. In this trivial example, (#1), (#2), and (#3, #4, #5).

2/x
The arch makes it possible that txns touching different shared objects can be sequenced in parallel via independent consensus instances.
This example - (#1), (#2), (#3, #4, #5) and (#6,#7,#8).

3/x
Some mistakenly believe only owned obj txns can be executed in parallel. That's wrong.

4/x
Sui can also execute the txns targeting the same shared object in parallel. This is not dissimilar to other parallel-execution blockchains, with a big difference.

5/x
After consensus, Sui can either use static scheduling (with object deps in the data model), or a dynamic (optimistic) approach, or a hybrid approach.

6/x
Once Sui validators go multi-worker, simple dynamic scheme doesn't work as txns and data need to be on the same machine. Sui can pull the possible conflict txns onto the same worker and then use optimistic concurrency locally on that worker. Many options to try

7/x
Having more static information about tx deps is strictly better than having less (particularly when such info is "free" rather than something you have to compute on the side)--having static info does not rule out using dynamic techniques on top! Sui data model FTW

8/x
TL;DR

1. Sui can leverage its data model to process multiple groups of txns in parallel
2. Sui can always execute txns targeting owned objs in parallel
3. Sui can execute txns targeting same shared objs in parallel with static and dynamic schemes

fin/

• • •

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

Keep Current with Evan Cheng 🇺🇦

Evan Cheng 🇺🇦 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 @EvanWeb3

Sep 12
Much has been written about Sui. But most have missed THE key innovation - its data model and txn processing pipeline.

I'll do my best to provide a high-level arch desc and its many advantages.

Part 1: traditional blockchain arch
Part 2: Sui arch
Part 3: Sui advantages

1/x
Part 1
Others: Validators collectively add blocks to a chain over time. Txn processing pipelines are head-of-line-blocking - consensus, execution, Merkle tree update, all txns have to be processed before moving fwd. New txns are paused while the block is under construction
2/x
Here is a diagram of a typical blockchain pipeline and its issues. We are seeing the broader community addressing several of issues with diff approaches.

3/x Image
Read 22 tweets
Feb 4
Many people have posted great explanations of the Wormhole exploit. This is not another breakdown of the attack. Instead, let's talk about smart contract auditing vs. verification.
#Crypto #web3 #Wormhole #SmartContracts
1/x
By and large, smart contract developers are being responsible - following best security practices, using the best dev tools, and making sure their contracts are audited before deployment. But is trusting auditing as the last line of defense the right approach?
2/x
We all know how important it is to keep commits small since it's hard to reason about a large body of code. Auditors have to understand and probe the entire system. Given it's very much a human-in-the-loop process, it's not surprising auditing is a long and expensive process.
3/x
Read 12 tweets
Dec 6, 2021
Gm. Very proud to share Mysten Labs official launch with everyone. 1/
First, let us introduce ourselves. The founding team came from Novi Research, where we led R&D efforts for the Diem network, e.g., Move smart contract platform, consensus, and many cryptography efforts.
2/
What you may not know, we have done extensive work beyond what you see in DiemCore. New protocols and new system designs will change the blockchain paradigm. We are launching Mysten Labs to bring these technologies to the broader web3 ecosystem.
3/
Read 10 tweets
May 23, 2021
Crypto market is dumping. But it won't stop those of the forward looking builders to keep going!

Novi Research (Facebook) is hiring! We are staffing up to build blockchain / crypto products.

1/3
We are currently in SF Bay Area, Seattle, and London. But we are opening up positions in many US and European locations. Remote positions are available too!

2/4
Ok. I'm really bad at this tweet thread thing. This thread is going to be longer than 3 or 4. Please excuse the bad numbering 😂.

3/x
Read 15 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!

:(