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
When we import definitions in RabbitMQ, we perform many #put{} in a row. Currently, Khepri's state machine asks Ra to take a snapshot every 4096 commands. With a large definitions import, this causes a lot of snapshotting.
The first suggestion from @kjnilsson was to skip snapshotting when inserting new tree nodes. Indeed, attempting a snapshot after this won't free anything: new tree nodes inserted don't replace other tree nodes. Therefore, if we don't count new tree nodes in the threshold towards the next snapshot, we might save time.
The text was updated successfully, but these errors were encountered:
When we import definitions in RabbitMQ, we perform many
#put{}
in a row. Currently, Khepri's state machine asks Ra to take a snapshot every 4096 commands. With a large definitions import, this causes a lot of snapshotting.The first suggestion from @kjnilsson was to skip snapshotting when inserting new tree nodes. Indeed, attempting a snapshot after this won't free anything: new tree nodes inserted don't replace other tree nodes. Therefore, if we don't count new tree nodes in the threshold towards the next snapshot, we might save time.
The text was updated successfully, but these errors were encountered: