The Architecture of Open Source Applications (Volume 1) Berkeley DB
1–10 of 13 posts
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#2There's no shortage of embeddable key-value stores with C bindings like leveldb, rocksdb, or even gdbm, and all of them have worked better for me.
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#3But when I discovered Tokyo Cabinet and Tokyo Tyrant I almost literally fell in love. We used it for things that would have been impossible without it at the time.
Still worth checking it out: https://github.com/hthetiot/Tokyo-Cabinet
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#4But I do remember reading much of the source (trying to figure out why it didn't work) and thinking "this is pretty nice code".
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#5Many years ago I was obsessed with Berkeley DB and its performance. But when I discovered Tokyo Cabinet and Tokyo Tyrant I almost literally fell in love. We used it for things that would have been impossible without it at the time. Still worth checking it out: https://github.com/hthetiot/Tokyo-Cabinet
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#6Berkeley DB is one of those things everyone respected, for some reason, but that didn't actually work if you threw a bit of data at it. And not just for us. I remember talking to companies that paid them lots of money to work on reliability, and it never got better. But I do remember reading much of the source (trying to figure out why it didn't work) and thinking "this is pretty nice code".
An old thread about this: https://news.ycombinator.com/item?id=29290095.
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#7Berkeley DB is one of those things everyone respected, for some reason, but that didn't actually work if you threw a bit of data at it. And not just for us. I remember talking to companies that paid them lots of money to work on reliability, and it never got better. But I do remember reading much of the source (trying to figure out why it didn't work) and thinking "this is pretty nice code".
Well, it worked for Amazon — Berkeley DB was used extensively there as the makn database, right from the beginning. I remember talking to an ex-Amazon engineer in 2006 who said BDB was still the main database used for inventory, and complained that everything was a mess, with different teams using different tech for everything. Around that time Amazon made DynamoDB to solve some of that mess — and it sat on top of BD…
They phased out BDB before DynamoDB was launched. Some time between 2007 and 2010. By the time DynamoDB launched as a product in 2012(?), BDB was gone.
Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#8Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#9Re: The Architecture of Open Source Applications (Volume 1) Berkeley DB
#10Berkeley DB is one of those things everyone respected, for some reason, but that didn't actually work if you threw a bit of data at it. And not just for us. I remember talking to companies that paid them lots of money to work on reliability, and it never got better. But I do remember reading much of the source (trying to figure out why it didn't work) and thinking "this is pretty nice code".
Well, it worked for Amazon — Berkeley DB was used extensively there as the makn database, right from the beginning. I remember talking to an ex-Amazon engineer in 2006 who said BDB was still the main database used for inventory, and complained that everything was a mess, with different teams using different tech for everything. Around that time Amazon made DynamoDB to solve some of that mess — and it sat on top of BD…
Berkeley DBs were the go-to online databases for a long time at Amazon, at least until I left at the turn of the century. We had Oracle databases too, but they weren't used in production, they were just another source of truth for the BDBs.