开发者

What is the easiest NoSQL solution for use?

开发者 https://www.devze.com 2023-01-24 17:45 出处:网络
About installation (manly, near of zero conf is desired or maybe the possibility to install in a home directory without root privilege), operation, design, queering and integration with java...what is

About installation (manly, near of zero conf is desired or maybe the possibility to install in a home directory without root privilege), operation, design, queering and integration with java...what is the开发者_如何学JAVA NoSQL solution more simple and suitable?


NoSQL - that is if you're talking of Not Only SQL - databases by their very nature solve niche persistence problems by introducing specific optimisations. it is for you, as a developer, to understand what kind of performance benefits you're looking at.

Is it about scaling out, eventual consistency, high performance, hierarchical document/content storage, etc? Depending on that you might want to go for a wide column store system [HBase, Cassandra], a graph based system [Neo4j, HyperGraph], a document store [CouchDB, MongoDB], ..., or a host of other options.

You can take a look at an extensive NoSQL guide here, to understand better what will suit your needs.

Something that might be very simple to use, may not solve the persistence problem you're targeting to solve. So, a choice based simply on 'ease of use' can be detrimental to your cause in the long run.


I am not sure about other products, but you will be up and running with Project voldemort in 10mins with Java.


Tokyo Cabinet requires no config.

http://fallabs.com/tokyocabinet/

You didn't mention if you wanted a distributed key set, I'm not sure if TK supports this, but it's certainly a good and easy to use solution for a large local persistent hash or map.

Creating a persistent map and storing data is as simple as:

   HDB hdb = new HDB();

   // open the database
   hdb.open("mydatabase.tk", HDB.OWRITER | HDB.OCREAT);

   // store record
   hdb.put("foo", "hop");

   hdb.close();

Java API

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号