-
Notifications
You must be signed in to change notification settings - Fork 35
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
Improve performance of batch saveOffset #897
Closed
Milestone
Comments
patriknw
referenced
this issue
in akka/akka-persistence-r2dbc
Jun 21, 2022
patriknw
referenced
this issue
in akka/akka-persistence-r2dbc
Jun 30, 2022
patriknw
referenced
this issue
in akka/akka-persistence-r2dbc
Jul 1, 2022
* for better performance since the add-bind approach has round-trips to the db * basic validation of string parameters
patriknw
referenced
this issue
in akka/akka-persistence-r2dbc
Jul 4, 2022
This reverts commit 2ea4121.
The problem with |
Created pgjdbc/r2dbc-postgresql#527 to track this in the upstream driver. |
johanandren
referenced
this issue
in akka/akka-persistence-r2dbc
Jul 5, 2022
patriknw
added a commit
that referenced
this issue
May 19, 2023
* the r2dbc statement.add() will still result in one round trip to the db for each added statement * using Postgres insert with many values instead * grouped into batches of 20, and remaining executed as before
johanandren
pushed a commit
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Noticed that when many (>100) offsets are stored in the same batch it can be rather slow. We already have a TODO for this:
The text was updated successfully, but these errors were encountered: