Hacker News new | ask | show | jobs
by nickcw 2117 days ago
What I'd really like is a multiprocess safe embeddable database written in pure Go. So a database which is safe to read and write from separate processes.

Unfortunately I don't think this one is multiprocess safe.

4 comments

I too feel the “pure Go” pull, but is your use case so precarious or latency-sensitive that you can’t simply use SQLite? That’s what I do in these situations.
I checked with the devs and they say writing is only safe from a single process, but reading is multiprocess safe. So I think this confirms your thought.
Not sure if easy to embed, but Consul does offer strong consistency if explicitly configured.
Badger supports concurrent ACID.

https://github.com/dgraph-io/badger