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

Improve performance #1

Open
jphaugla opened this issue Apr 17, 2020 · 2 comments
Open

Improve performance #1

jphaugla opened this issue Apr 17, 2020 · 2 comments

Comments

@jphaugla
Copy link
Owner

jphaugla commented Apr 17, 2020

This writes over 55K transactions per second in its current form. Spring CRUD adds a database write for each index. So, am writing at 280k ops in the database. If I don't flush the database I also get read traffic which shows up as 375K ops in the database.

With Redis, this should be better. This is running on one GCP 16 core machine.

@jphaugla
Copy link
Owner Author

Pipelining in the transaction write after changing the transaction key to a hash tag with the account number in it would probably cause a 2-3x throughput improvement

@jphaugla
Copy link
Owner Author

Looks like pipelining is available with RedisTemplate but not with CRUD Repository. So, not doing any pipelining or hash tag at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant