-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 Add Performance W/ Async Datastores #6775
Comments
Proposal for where to add Sync calls in go-ipfs (and related libraries)The overall plan is to determine the places where a user would expect data to be persisted to disk and make sure we've called sync then such that a crash. If the data that needs to be persisted is IPLD blocks then we should sync the entire blockstore, and if the data could be in the filestore then we should sync the entire filestore as well.
|
So, the goal was to improve add performance on hard disks. However, testing this on my SSD, I'm still seeing a 2x speedup. That is, 145MB/s versus 73MB/s. 👏👏👏 |
Do we still plan to switch to badger by default, or is this item considered closed (at least, as far as the 0.5 release is concerned in #6776? |
@momack2 I've updated the meta issue. You're right, this is "closed" as far as 0.5.0 is concerned. |
This issue isn't really helping anything so I'm closing it. We still want to switch to a different datastore, but, well, details in the badger issue. |
fixes #6523
Sync
calls where appropriate (e.g., when pinning).The text was updated successfully, but these errors were encountered: