That could be done with configuring StrokeDB as:
StrokeDB::Config.build :storages => [:memory_chunk], :base_path =>
@base_path, :default => true
though you will need some extra effort to sync memory storage to file
storage, so another way is to configure StrokeDB as usually, but with
autosync switched off:
StrokeDB::Config.build :store_options => { :noautosync =>
true }, :base_path => @base_path, :default => true
and use StrokeDB.default_storage.chunk_storage.sync_chained_storage!
to sync storages manually.
Hope that answers your question.
Also I would like to know that I am currently working on new-storages
branch, so things will change slightly and hopefully API will be a
little bit nicer than now.
Yurii.