News for hackers. Stuff that matters.
Re:NoSQL, Heroku, and You by viraptor on Sunday September 12, 2010 @09:12PM (#1685105)
I find it interesting that every time "NoSQL" solutions are listed, noone mentions Berkeley DB. It provides many options that you'd normally find in k-v stores and many more. Is it just not cool enough / too old / ... ?

It seems very similar to the time (a year or two ago) when every couple of weeks people got excited by a new cool wire-protocol (around the time of protocol buffers, thrift, etc.), but noone even mentioned ASN.1.

Re:NoSQL, Heroku, and You by whopa on Sunday September 12, 2010 @09:40PM (#1685158)
Berkeley DB is an embedded database with no network story, let alone distributed story, so it isn't really a complete solution compared to the k-v stores people talk about. It can be a building block though, e.g. memcachedb uses it.

ASN.1 is hideously complex, part of the appeal of all those new wire protocols is simplicity.

SQLite is Berkeley DB's main competitor... it's actually funny that NoSQL on the server is all the rage, but SQL use is now really popular client side.

Re:NoSQL, Heroku, and You by viraptor on Monday September 13, 2010 @05:36AM (#1686037)
> Berkeley DB is an embedded database with no network story, let alone distributed story

True, true and not really. It can be easily distributed - replication works great with them. Yes, it's not good for everything, but it's great for example for simple web api servers. Skip the connections if you don't really need it and write/read k-vs at a ridiculous speed locally.

> ASN.1 is hideously complex

Yeah... I guess this is more of a personal preference, but I never found it that bad. Write a wrapper that can (de)serialise your native objects once and you don't have the problem anymore.

Re:NoSQL, Heroku, and You by yummyfajitas on Monday September 13, 2010 @09:42AM (#1686492)
No one lists BDB, they list Tokyo Cabinet instead. As far as I know (but I'm not an expert), BDB has been completely superseded by TC.