Using boltDB without mmap() support
dtoubelis opened this issue · 2 comments
dtoubelis commented
We are using BoltDB for embedded devices and some of them use JFFS2 file system which is not mmap() friendly. Is there a way to make boltDB to fall back to the standard API if mmap is not an option? If it is 1000 times slower it would be okay as long as it works.
juliandroid commented
In that context, what about having Bolt as completely in-memory instead of using mmap with option to flush data on demand when needed?
benbjohnson commented
Unfortunately there's not an easy way to detach Bolt from its underlying mmap. It's a pretty tight integration.