Re:Consistency is Consistently Undervalued
by amalcon on Saturday September 17, 2016 @10:06AM
(#12520528)
BerkeleyDB is great. I'm honestly surprised it doesn't see more use. It's right in the sweet spot for software that doesn't quite need a relational model, and that seems to be a lot of software.
Re:Consistency is Consistently Undervalued
by ddorian43 on Saturday September 17, 2016 @10:27AM
(#12520600)
Check out lmdb for a better alternative to it.
Re:Consistency is Consistently Undervalued
by nickpsecurity on Saturday September 17, 2016 @01:30PM
(#12521432)
How did I not know about this awesome-looking tool? Thanks for the mention! Wikipedia link for others:
https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Databa...
Re:Consistency is Consistently Undervalued
by socmag on Saturday September 17, 2016 @11:20AM
(#12520840)
Yup, and we used to have FoundationDB, sadly not any more, but don't get me started on that.
Still there are plenty of highly distributed stores to go around, and it's good to know that people are actively using them with great success.
It's very nice to have fine control over consistency vs performance even if you do have to think about it as a developer, but then that's our job :-)
Re:Consistency is Consistently Undervalued
by hyc_symas on Saturday September 17, 2016 @01:34PM
(#12521461)
Berkeley DB was great, but Oracle killed it by changing the license to AGPL. That change meant many projects that use it couldn't update to the latest version without violating the license.
LMDB has taken its place in a lot of projects that used to use Berkeley.
I use it in production for a game that supports over 100,000 concurrent users and it's been around for a very long time.
It's fully ACID by default but you get the ability to drop elements of ACID in exchange for greater performance in a per table or transaction level. It also supports two different isolation approaches on a per table level. Locking or MVCC (like postgres).
It's a really great NoSQL database from the days before the term NoSQL existed.