You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are fewer places in Amaru that update the persistent storage than there are places reading it. Since almost all persistent storage is add-only (with the notable exception of remembering the current best branch tip), it should be quite simple to implement a snapshot mechanism. This allows access to only serialize between snapshot retrievals and additions, with subsequent snapshot reads not needing any synchronization.
I have not yet researched RocksDB to see how well this approach is supported, but if it isn’t supported then we can use some other suitable DB.
This discussion was converted from issue #194 on January 23, 2026 09:30.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There are fewer places in Amaru that update the persistent storage than there are places reading it. Since almost all persistent storage is add-only (with the notable exception of remembering the current best branch tip), it should be quite simple to implement a snapshot mechanism. This allows access to only serialize between snapshot retrievals and additions, with subsequent snapshot reads not needing any synchronization.
I have not yet researched RocksDB to see how well this approach is supported, but if it isn’t supported then we can use some other suitable DB.
Beta Was this translation helpful? Give feedback.
All reactions