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

add in memory event store #625

Merged
merged 3 commits into from
Jul 30, 2024
Merged

add in memory event store #625

merged 3 commits into from
Jul 30, 2024

Conversation

DavidBadura
Copy link
Member

@DavidBadura DavidBadura commented Jul 30, 2024

fix #621

@DavidBadura DavidBadura added the enhancement New feature or request label Jul 30, 2024
@DavidBadura DavidBadura added this to the 3.4.0 milestone Jul 30, 2024
Copy link

github-actions bot commented Jul 30, 2024

Hello 👋

here is the most recent benchmark result:

SimpleSetupBench
================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 923.800μs (±0.00%) | 947.400μs (±0.00%) | -2.49%    | 34.266mb        | 34.274mb   | -0.02%      |
| benchLoad10000Events ()                | 49.478ms (±0.00%)  | 48.055ms (±0.00%)  | +2.96%    | 34.266mb        | 34.274mb   | -0.02%      |
| benchSave1Event ()                     | 1.461ms (±0.00%)   | 1.016ms (±0.00%)   | +43.74%   | 33.764mb        | 33.764mb   | 0.00%       |
| benchSave10000Events ()                | 216.040ms (±0.00%) | 224.591ms (±0.00%) | -3.81%    | 33.764mb        | 33.764mb   | 0.00%       |
| benchSave10000Aggregates ()            | 9.090s (±0.00%)    | 9.424s (±0.00%)    | -3.54%    | 33.764mb        | 33.764mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 4.676s (±0.00%)    | 4.679s (±0.00%)    | -0.06%    | 33.764mb        | 33.764mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SplitStreamBench
================

+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                         | time (kde mode)                                     | memory                                     |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                 | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000Events () | 4.589ms (±0.00%)   | 4.631ms (±0.00%)   | -0.91%    | 37.071mb        | 37.071mb   | 0.00%       |
| benchSave10000Events () | 338.707ms (±0.00%) | 344.641ms (±0.00%) | -1.72%    | 37.073mb        | 37.074mb   | -0.00%      |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SnapshotsBench
==============

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000EventsMissingSnapshot () | 49.772ms (±0.00%)  | 49.534ms (±0.00%)  | +0.48%    | 33.765mb        | 33.765mb   | 0.00%       |
| benchLoad10000Events ()                | 872.300μs (±0.00%) | 869.900μs (±0.00%) | +0.28%    | 33.765mb        | 33.765mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

PersonalDataBench
=================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 834.500μs (±0.00%) | 838.000μs (±0.00%) | -0.42%    | 34.894mb        | 34.894mb   | 0.00%       |
| benchLoad10000Events ()                | 87.838ms (±0.00%)  | 86.799ms (±0.00%)  | +1.20%    | 34.894mb        | 34.894mb   | 0.00%       |
| benchSave1Event ()                     | 1.494ms (±0.00%)   | 1.567ms (±0.00%)   | -4.67%    | 34.894mb        | 34.894mb   | 0.00%       |
| benchSave10000Events ()                | 239.981ms (±0.00%) | 240.857ms (±0.00%) | -0.36%    | 34.896mb        | 34.896mb   | 0.00%       |
| benchSave10000Aggregates ()            | 13.233s (±0.00%)   | 13.245s (±0.00%)   | -0.09%    | 34.894mb        | 34.894mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 8.756s (±0.00%)    | 8.773s (±0.00%)    | -0.20%    | 35.395mb        | 35.395mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SubscriptionEngineBench
=======================

+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                               | memory                                     |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>  | Tag: base       | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 3.096s (±0.00%) | 3.099s (±0.00%) | -0.11%    | 34.163mb        | 34.163mb   | 0.00%       |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+

SimpleSetupStreamStoreBench
===========================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 907.300μs (±0.00%) | 906.200μs (±0.00%) | +0.12%    | 34.743mb        | 34.743mb   | 0.00%       |
| benchLoad10000Events ()                | 45.873ms (±0.00%)  | 46.887ms (±0.00%)  | -2.16%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave1Event ()                     | 1.004ms (±0.00%)   | 1.062ms (±0.00%)   | -5.52%    | 34.743mb        | 34.743mb   | 0.00%       |
| benchSave10000Events ()                | 209.998ms (±0.00%) | 211.182ms (±0.00%) | -0.56%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave10000Aggregates ()            | 9.050s (±0.00%)    | 8.914s (±0.00%)    | +1.53%    | 34.744mb        | 34.744mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 4.722s (±0.00%)    | 4.718s (±0.00%)    | +0.09%    | 34.744mb        | 34.744mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

This comment gets update everytime a new commit comes in!

@DavidBadura DavidBadura changed the title add in memory store add in memory event store Jul 30, 2024
@DavidBadura DavidBadura requested a review from DanielBadura July 30, 2024 19:21
@DavidBadura DavidBadura enabled auto-merge July 30, 2024 20:01
@DavidBadura DavidBadura merged commit def0b67 into 3.4.x Jul 30, 2024
39 checks passed
@DanielBadura DanielBadura deleted the in-memory-store branch July 30, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add in memory event store
2 participants