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

why microstream write performance is so bad? write cost is about 100ms+--400ms+ when adding a very small object #4

Open
useryq8 opened this issue Jan 2, 2024 · 2 comments

Comments

@useryq8
Copy link

useryq8 commented Jan 2, 2024

I just fork the bookstore-demo and add an api to add boot(call the microstream store), I only add the log but find that it is very slow when adding one boot. you can my project https://github.com/yqbjtu/bookstore-demo/tree/feat/write_perf_log, use the feat/write_perf_log branch, https://github.com/yqbjtu/bookstore-demo/blob/feat/write_perf_log/perf-log/perf-log.md
I used the ssd and my machine has 32G main memory, Java jdk-17.0.4
@fh-ms @hg-ms @fullben

@useryq8
Copy link
Author

useryq8 commented Jan 9, 2024

@useryq8 useryq8 changed the title why microstream write performance is so bad? why microstream write performance is so bad? write cost is about 100ms+--400ms+ when adding a very small object Jan 15, 2024
@fh-ms
Copy link
Contributor

fh-ms commented Jan 17, 2024

This demo is optimized for read operations. If you want to achieve a high write throughput you can either segment your data or use lazy collections. See details here, and results here.

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

2 participants