Created
November 29, 2012 21:57
-
-
Save rofr/4172177 to your computer and use it in GitHub Desktop.
Async journaling with LiveDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// With Asyncronous journaling enabled, commands are queued and written | |
// to the journal by a background thread. This increases query and command throughput | |
// but there is risk of losing commands in the case of a system failure | |
var config = new EngineConfiguration(); | |
config.AsyncronousJournaling = true; | |
var engine = Engine.LoadOrCreate<MyModel>(config); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment