MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
5.98k stars 11.1k forks source link

Faster consensus persistence #5205

Open asonnino opened 2 years ago

asonnino commented 2 years ago

Description

Consensus persists two data structure atomically: (i) last_committed useful for safe crash-recovery of consensus, and (ii) sequence to help subscribers/clients to synchronise with the consensus node. The first structure last_committed could be persisted through memory-mapped files to improve efficiency but we need to ensure atomic writs the sequence.

huitseeker commented 2 years ago

This is a duplicate of MystenLabs/narwhal#17 with the atomicity wrinkle.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.