boltdb/bolt

Using boltDB without mmap() support

dtoubelis opened this issue · 2 comments

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.

In that context, what about having Bolt as completely in-memory instead of using mmap with option to flush data on demand when needed?

Unfortunately there's not an easy way to detach Bolt from its underlying mmap. It's a pretty tight integration.