Sirwin
Sirwin

Sui 101: What Does "Object-centric" Mean?!

By Michael @ CryptoEQ | CryptoEQ | 17 May 2024


You are reading an excerpt from our free but shortened abridged report! While still packed with incredible research and data, for just $40/month you can upgrade to our FULL library of 60+ reports (including this one) and complete industry-leading analysis on the top crypto assets. 

67cbbf4723857b85c151585aa280e6d940346c501cef75bafd7dea02b44b24c9.png

Becoming a Premium member means enjoying all the perks of a Basic membership PLUS:

  • Full-length CORE Reports: More technical, in-depth research, actionable insights, and potential market alpha for serious crypto users
  • Early access to future CORE ratings: Being early is sometimes just as important as being right!
  • Premium Member CORE+ Reports: Coverage on the top issues pertaining to crypto users like bridge security, layer two solutions, DeFi plays, and more
  • CORE report Audio playback: Don’t want to read? No problem! Listen on the go.

80343245d23a711b72048b03337fca33602c226a79a46fcef047b46dc3354102.png

 

Sui's Object-Centric Data Model

Sui, a cutting-edge Layer-1 blockchain platform, is revolutionizing the management and processing of digital assets through its innovative object-centric data model. Unlike traditional blockchains that use accounts or unspent transaction outputs (UTXOs) as primary data storage units, Sui adopts objects as the fundamental building blocks. These objects represent user-level assets and are programmable entities defined, created, and managed by developers. Crucially, objects and their attributes are stored directly on-chain within the user's account, giving the asset owner full access and control.

Some key benefits of Sui’s chosen model includes:

  • Efficiency: The object-centric data structures in Sui are more efficient than traditional data structures, requiring less storage space and enabling faster processing of complex data. Each object contains all the necessary information for processing, simplifying data management, and reducing the likelihood of errors.
  • Security: This model enhances security by providing sophisticated features that define ownership and accessibility of objects. It allows for definitive access control and verifiable assumptions about object interactions, significantly improving security.
  • Scalability: Object-centric data models optimize transaction processing by allowing simple transactions to be processed in parallel. This parallel processing improves efficiency, reduces latency, and increases the network's capacity, thereby enhancing scalability.
  • Flexibility: The model offers flexibility in asset ownership, supporting various ownership models such as individual ownership, shared ownership, and object-owned objects. This allows for the creation of unique, composable assets that remain relevant and adaptable over time.
  • Parallel Processing: Leveraging precise ownership semantics, the object-centric model enables transactions to be executed in parallel, significantly enhancing throughput and efficiency. Transactions that do not involve mutably shared objects can bypass the consensus process, reducing latency and increasing processing capacity.

Characteristics and Ownership Models

Each Sui object has distinct characteristics, including ownership, object ID, type, version, and the last transaction digest block that modified it. This enriches digital assets with accumulated value, context, and utility over time, as developers can customize objects by adding or removing information fields.

Sui's object-centric approach supports various ownership models, including:

  • Individual Ownership: Where a single user owns an object.
  • Shared Ownership: Where multiple users share ownership of an object.
  • Object-Owned Objects: Also known as composable assets, where objects can own other objects.
  • Immutable Objects: These provide security for locked assets that cannot be altered.

Optimizing Transaction Processing

The object-centric data model optimizes transaction processing on the Sui network. Simple transactions, such as payments or asset transfers, can be processed in parallel because changes to one owned object do not affect others. This parallel processing improves efficiency and reduces latency. Even complex transactions involving shared objects can be grouped and processed efficiently, thanks to the independence of each shared object.

Complex and Simple Transactions

Sui's system architecture advances traditional blockchain technologies by eliminating the need for a universally agreed transaction order, particularly when transactions do not compete for the same resources. This improvement enhances scalability through parallel processing protocols, dividing transactions into two categories: complex and simple.

Complex Transactions

Complex transactions involve shared objects and require a more structured consensus approach using Sui’s Narwhal and Bullshark protocols. These protocols work together to maintain the availability of transaction data and achieve consensus on transaction order. The process for complex transactions includes five distinct steps:

  1. Broadcasting Transactions: Users broadcast transactions to nodes.
  2. Validator Voting: Validator nodes confirm transaction validity based on their stake.
  3. Certificate Production: Upon achieving a Byzantine majority vote, users create a transaction certificate and distribute it to validators.
  4. Sequencing and Ordering: Narwhal and Bullshark sort these transaction certificates to reach consensus on the transaction order among validators.
  5. Finality Confirmation: Validators finalize their response, and users gather an "effects" certificate, solidifying the transaction's conclusion.

This meticulous process ensures that complex transactions involving shared objects are handled efficiently and securely.

Simple Transactions

Simple transactions involving non-shared objects bypass the rigorous sorting required in complex transactions. These transactions avoid the intricate consensus process of Narwhal and Bullshark, following a more streamlined approach. Simple transactions are processed using a lightweight Byzantine Consistent Broadcast, ensuring all nodes receive the same message without requiring nodes to agree on the network's state. This process involves:

  1. Broadcasting and Processing: Simple transactions are broadcasted and processed without the need for complex consensus algorithms.
  2. Parallel Execution: Transactions that do not involve the same object can be processed in parallel, enhancing efficiency and reducing latency.

Sui's innovative data model allows for parallel transaction execution using a causal-ordering approach, grouping transactions by objects. Transactions unrelated to each other can be processed in parallel, while transactions involving the same object require total ordering within that object's transaction queue.

How do you rate this article?

50


Michael @ CryptoEQ
Michael @ CryptoEQ

I am a Co-Founder and Lead Analyst at CryptoEQ. Gain the market insights you need to grow your cryptocurrency portfolio. Our team's supportive and interactive approach helps you refine your crypto investing and trading strategies.


CryptoEQ
CryptoEQ

Gain the market insights you need to grow your cryptocurrency portfolio. Our team's supportive and interactive approach helps you refine your crypto investing and trading strategies.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.