Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIP-93][Discussion] Consensus Observer #485

Closed
thepomeranian opened this issue Aug 14, 2024 · 0 comments
Closed

[AIP-93][Discussion] Consensus Observer #485

thepomeranian opened this issue Aug 14, 2024 · 0 comments

Comments

@thepomeranian
Copy link
Collaborator

AIP Discussion

Aptos nodes currently use state synchronization (state sync) to stay-up-to-date with the blockchain. When validators execute a new block of transactions, state sync will synchronize the block data to validator fullnodes (VFNs) and public fullnodes (PFNs), ensuring all nodes have the latest blockchain state. However, state sync is not optimal for high-load, low-latency environments. This is because it waits for block data to be processed locally (e.g., executed and committed) before disseminating that data to other nodes in the network. This increases the synchronization time across nodes and negatively impacts the user experience.

To address this, we propose a new synchronization mechanism called Consensus Observer (CO). CO allows Aptos nodes to disseminate block data without having to wait for local processing. For example, when validators first propose and order a block, CO will immediately share that block with the fullnodes (i.e., VFNs and PFNs). This allows the fullnodes to begin processing the block in parallel with the validators, without having to wait for validator execution or commit. This avoids the unnecessary wait times imposed by state sync, and significantly reduces end-to-end transaction latencies at high-load.

Read more about it here: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-93.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant