Skip to content

SIP: block streaming#51

Open
mwtian wants to merge 1 commit into
sui-foundation:mainfrom
mwtian:sip-streaming
Open

SIP: block streaming#51
mwtian wants to merge 1 commit into
sui-foundation:mainfrom
mwtian:sip-streaming

Conversation

@mwtian

@mwtian mwtian commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@luispdm

luispdm commented Aug 25, 2025

Copy link
Copy Markdown

Hi 👋
Any updates on this one?

@mwtian

mwtian commented Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

Hi @luispdm, since there is no objection, hopefully this proposal can get merged soon. There is a plan to invest more time into the design and implementation in 1-2 months.


Currently Sui has 320-350ms p50 consensus latency and sub 700ms p50 e2e transaction settlement latency. But it can take longer for non validators to receive the latest transactions. The diagram below illustrates the common case:

![transaction_propagation](../assets/sip-block-streaming/transaction_propagation.png)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link to the image is broken, it should be changed to: assets/sip-block-streaming/txn_propagation.png

@LoboSolitario

Copy link
Copy Markdown

GM GM
In the proposed SIP, it is mentioned that one validator will be directly connected to one state sync full node. This validator will be publishing all its consensus data to the SSFN. But will this also include all the global transactions or just the local txs that are being processed by that validator?
And did I understand it correctly that there will be a one-to-one connection between the validator and SSFN, and other subscribers or full nodes need to connect to that SSFN to get the relevant consensus data?

@mwtian

mwtian commented Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

Validators are forwarding all consensus blocks, which will contain all transactions in the system. Each SSFN connects to a validator unless it disconnects. But a validator can connect to one or more SSFNs.

@mwtian

mwtian commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

Planning to make some minor updates here. We are starting to build an experimental implementation for this.

@zihehuang zihehuang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this since the experimental implementation is already in development

@luispdm

luispdm commented Oct 8, 2025

Copy link
Copy Markdown

Thanks for the update. Do you mind sharing a link to the repo/branch where the development is being done @mwtian? Thank you.

@Cvijan4PointO

Copy link
Copy Markdown

Do we have any updates on this? Would be nice to see this live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants