Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Using boltDB without mmap() support #704

Closed
dtoubelis opened this issue Jul 12, 2017 · 2 comments
Closed

Using boltDB without mmap() support #704

dtoubelis opened this issue Jul 12, 2017 · 2 comments

Comments

@dtoubelis
Copy link

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
Copy link

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
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants