Live data from Hacker News

UnQLite - An Embeddable NoSQL Database Engine

unqlite.org

61–70 of 88 posts

Re: UnQLite - An Embeddable NoSQL Database Engine

#61
post #56

Isn't BerkeleyDB the quintessential "embedded NoSQL" database engine? I'm an RDBMS+SQL kind of guy, so can someone enlighten me about the differences between bdb and UnQLite?

Yeah, another alternative with friendlier license is leveldb

https://code.google.com/p/leveldb/

It's also well engineered (written by some of the best Google engineers) and well supported.

Re: UnQLite - An Embeddable NoSQL Database Engine

#62
post #44

Earlier quoted context omitted.

Probably a better description would be an embeddable document store is what I'm looking for. I want to store my objects in the database without having to flatten out its nested structure. I also want to be able to search those nested structures. I want the database engine to handle creating the fields if they don't exist. I don't want to deal with schemas. Each document in a collection should not care if the fields a…

Is there anything about the way you query your data that a traditional serialized object store wouldn't handle? Being that you want it embedded and therefore local, I'd imagine you're talking about relatively small amounts of data and your performance concerns aren't too extreme? Would something like this fit the bill? http://www.db4o.com/s/monodb.aspx

That would be perfect except you need a commercial license if your going to bundle it with a commercial product. Really wish they would just put the pricing on the site.

I'm starting to think you're right. Maybe a traditional serialized object store is the way to go.

Re: UnQLite - An Embeddable NoSQL Database Engine

#63
post #44

Earlier quoted context omitted.

Probably a better description would be an embeddable document store is what I'm looking for. I want to store my objects in the database without having to flatten out its nested structure. I also want to be able to search those nested structures. I want the database engine to handle creating the fields if they don't exist. I don't want to deal with schemas. Each document in a collection should not care if the fields a…

Is there anything about the way you query your data that a traditional serialized object store wouldn't handle? Being that you want it embedded and therefore local, I'd imagine you're talking about relatively small amounts of data and your performance concerns aren't too extreme? Would something like this fit the bill? http://www.db4o.com/s/monodb.aspx

Thanks pointing me to a better path. I think I'm going to use Protocol Buffers for storage.

Good write up about Object Serialization vs. Database Performance here using protobuf.net. http://jakemdrew.wordpress.com/2011/11/01/object-serializati...

Re: UnQLite - An Embeddable NoSQL Database Engine

#64

As a hacker/tinkerer type programmer I can understand why it might be fun to build something like this. All of the data structure fun with none of the distributed difficulty! NoSQL! I can even build in that cool new language I've been designing in my head! But like everyone else I'm straining to see a use case. "Serverless" NoSQL? If you've got something small enough that you want an embedded datastore, why use a NoS…

There are two different camps within NoSQL; some people are webscale and some people want NoSchema. This looks like it's aimed at the latter category.

Re: UnQLite - An Embeddable NoSQL Database Engine

#65

As a hacker/tinkerer type programmer I can understand why it might be fun to build something like this. All of the data structure fun with none of the distributed difficulty! NoSQL! I can even build in that cool new language I've been designing in my head! But like everyone else I'm straining to see a use case. "Serverless" NoSQL? If you've got something small enough that you want an embedded datastore, why use a NoS…

> I'm straining to see a use case. "Serverless" NoSQL? If you've got something small enough that you want an embedded datastore, why use a NoSQL variant?

Serverless NoSQL embedded datastore aren't really that unusual. BerkeleyDB, Tokyo Cabinet, LevelDB are all commonly used serverless NoSQL.

Re: UnQLite - An Embeddable NoSQL Database Engine

#66
This seems backwards to me. Sure, use the right tool for the job, but still. SQL server -> noSQL / embedded SQL -> embedded noSQL. At every step there's someone going "X is hard, let's not do X" and we end up with a serverless, configuration-free, noSQL transactional database. The next logical steps are presumably the removal of transactions (who needs them, anyway?) and volatile storage (RAM is fast, let's use that).

I can't wait for the day malloc appears on a page with bullet points citing all the latest buzzwords.

Re: UnQLite - An Embeddable NoSQL Database Engine

#67

This turned up recently on proggit too. http://www.reddit.com/r/programming/comments/1etfxi/sqlite_n... was heavily downvoted for saying its an order of magnitude faster than SQLite http://www.reddit.com/r/programming/comments/1etkix/unqlite_... raises concerns about the license, and there's a Global Lock in there too? The scripting performance gives cause for pause too.

"It furthermore states that commercial licence must be acquired for closed source applications." I love the description of the scripting language as "Turing complete" based on "JSON". That is the first time I have ever heard turing complete used to market a programming language! The scripting language is incredible, I have never seen a more verbose way to program. It is a scripting language, yet seems to combine JSON…

If you lived through the XML boom, you'll probably recall the "Turing complete! based on XML!" languages (XSLT, Ant, and friends). This was before people re-re-learned the essential lesson "languages based on markup are painful as languages and unsafe as markup".

Re: UnQLite - An Embeddable NoSQL Database Engine

#68

The licensing is strange as well. The BSD license is listed as a feature, but the embedded scripting language (Jx9) is SPL (their own GPL-alike/Sleepycat license). Since the Jx9 language is fully embedded (even stated as " All C source code for UnQLite and Jx9 are combined into a single source file."), they seem to contradicting their own licensing. The resulting library would also retain the copyleft SPL license. Th…

From UnQLite core developer: No, Jx9 (the standalone library) is under SPL, while UnQLite is 2-clause BSD (including the Jx9 core), so there is no worry about that since the two software are developed by the same company. In other words, use UnQLite without restrictions

Why isn't the source tree for Jx9 publicly available?

Quote http://jx9.symisc.net/downloads.html

> Request access to the Jx9 source tree.

Re: UnQLite - An Embeddable NoSQL Database Engine

#69
post #56

Isn't BerkeleyDB the quintessential "embedded NoSQL" database engine? I'm an RDBMS+SQL kind of guy, so can someone enlighten me about the differences between bdb and UnQLite?

Yeah, another alternative with friendlier license is leveldb https://code.google.com/p/leveldb/ It's also well engineered (written by some of the best Google engineers) and well supported.

In fact, the same engineer who previously wrote big table iirc

Re: UnQLite - An Embeddable NoSQL Database Engine

#70
post #56

Isn't BerkeleyDB the quintessential "embedded NoSQL" database engine? I'm an RDBMS+SQL kind of guy, so can someone enlighten me about the differences between bdb and UnQLite?

Yeah, another alternative with friendlier license is leveldb https://code.google.com/p/leveldb/ It's also well engineered (written by some of the best Google engineers) and well supported.

[deleted]
Post reply on HN