Skip to content
This repository has been archived by the owner. It is now read-only.

Using boltDB without mmap() support #704

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

Comments

@dtoubelis
Copy link

commented Jul 12, 2017

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

This comment has been minimized.

Copy link

commented Jul 17, 2017

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

This comment has been minimized.

Copy link
Member

commented Jul 17, 2017

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.
Projects
None yet
3 participants
You can’t perform that action at this time.