Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multiple inserts in a row are slow because of the snapshotting #144

Open
Labels
enhancementNew feature or request
@dumbbell

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /