3 ms·
Berkeley DB. 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 defau
by Negitivefrags 10y ago
Berkeley DB.
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.
- amalcon 10y agoBerkeleyDB 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.
- ddorian43 10y agoCheck out lmdb for a better alternative to it.
- nickpsecurity 10y agoHow 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_Database https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Databa...
- socmag 10y agoYup, 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 :-)
- hyc_symas 10y agoBerkeley 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.