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
Optimize the state snapshot sync by streaming native DB exports.
Problem Definition
Cosmos apps have massive growth, and the state is getting too big to efficiently sync using a naive iterator, where we:
iterate over key-value pairs and stream the over in batches
receive and decode key-value pairs and iteratively save them to the store
Proposal
Use native DB export
Use protobuf streaming functionality for streaming DB export bytes
Use native DB import functionality
It should massively improve the performance. The obvious limitation is that only nodes using the same underlying DB can sync. However, our idea is that the nodes in the same network will use the same DB.
Summary
Optimize the state snapshot sync by streaming native DB exports.
Problem Definition
Cosmos apps have massive growth, and the state is getting too big to efficiently sync using a naive iterator, where we:
Proposal
It should massively improve the performance. The obvious limitation is that only nodes using the same underlying DB can sync. However, our idea is that the nodes in the same network will use the same DB.
Ref: #10194
For Admin Use
The text was updated successfully, but these errors were encountered: