tidwall / buntdb

BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
MIT License
4.57k stars 289 forks source link

Is it safe to access one buntdb(data.db) from both processes? #67

Closed trevidawn closed 3 years ago

trevidawn commented 3 years ago

Assuming that there are two processes, one process only reads and the other process reads and writes, is it safe to do so?

tidwall commented 3 years ago

I wouldn't count on it being safe. BuntDB is only designed for one process at a time.