-
Notifications
You must be signed in to change notification settings - Fork 142
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
Performance regression for persisting events #585
Comments
I have verified that the slowdown of persistAsync is the same for Postgres. |
I have pinpointed the regression to the schema change commit (0d2f1ee) but I have yet to figure out why. Looking at individual batches (in |
That test isn't using tags, right? so it's not even writing to the new |
Not likely to return different ms in a for loop anyway
I think it'd make sense to look into if writing with tags is a regression compared to 4.0 as well and investigate if we can do something about that in case it is much slower. |
@johanandren Hi, I just found a performance issue #710. And I want to extend some topic to this. I am not sure if those performance tests are running on a single machine or not, but the benchmarks sometime would lie to us. When the performance benchmark runs on a single machine, the latency is intended and purposes 0. (Where the benchmark lies to us). Some kind of bottleneck like #710 was hidden on the zero latency. In my opinion, the performance test should add some latency. In the real world, the network was not reliable. I hope it will help with this issue. |
Noticed with the, somewhat synthetic,
JournalPerfSpec
from the persistence tck, compared to 4.0.0 5.0.0 is an order of magnitude slower forpersistAsync
.I have only verified the results against a MySQL instance so far, so it could somehow be specific or it could be general to all DB-flavours.
The text was updated successfully, but these errors were encountered: