Syncing
cuprate_database
's database has 5 disk syncing modes.
FastThenSafe
Safe
Async
Threshold
Fast
The default mode is Safe
.
This means that upon each transaction commit, all the data that was written will be fully synced to disk. This is the slowest, but safest mode of operation.
Note that upon any database Drop
, the current implementation will sync to disk regardless of any configuration.
For more information on the other modes, read the documentation here.