Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAMES-3777 Snapshots for eventSourcing JMAP filters #1532

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

chibenwa
Copy link
Contributor

@chibenwa chibenwa commented Apr 19, 2023

Snapshots

The snapshots allows to easily improve insertions.

Before above benchmark for 5000 rules: 31 min 42 with last rue creation taking 954 ms.

After 6 min 18 with last rule creation taking 124 ms

Snapshots are stored as events. The offset of the event is
stored in a static column.

Non-invasive and easy to use.
@chibenwa chibenwa merged commit 1bf4609 into apache:master Apr 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants