Home » Tag Archives: NoSQL (page 6)

Tag Archives: NoSQL

MongoDB optimistic locking

mongodb-logo

When moving from JPA to MongoDb you start to realize how many JPA features you’ve previously taken for granted. JPA prevents “lost updates” through both pessimistic and optimistic locking. Optimistic locking doesn’t end up locking anything, and it would have been better named optimistic locking-free or optimistic concurrency control, because that’s what it does anyway. So, what does it mean to ...

Read More »

Using Sorted Sets with Jedis API

redis-logo

In the previous post we started looking into Jedis API a Java Redis Client. In this post we will look into the Sorted Set(zsets). Sorted Set works like a Set in the way it doesn’t allow duplicated values. The big difference is that in Sorted Set each element has a score in order to keep the elements sorted. We can see ...

Read More »

Crawling the Web with Cassandra and Nutch

apache-cassandra-logo

So, you want to harvest a massive amount of data from the internet?  What better storage mechanism than Cassandra?  This is easy to do with Nutch. Often people use Hbase behind Nutch.  This works, but it may not be an ideal solution if you are (or want to be) a Cassandra shop.   Fortunately, Nutch 2+ uses the Gora abstraction layer ...

Read More »

Getting Started With Jedis

nosqlunit-logo

Hi, these days I started looking into Redis. I’ve heard a lot about it so I decided to have a try. Redis is defined in its websites as “an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets“. We can find very good ...

Read More »

The 10 Most Popular DB Engines (SQL and NoSQL)

software-development-2-logo

How to objectively measure the popularity of a DB engine? Good question! And there’s an Austrian company (Solid IT) who claims to have the answer. The company focuses on “Big Data und NoSQL”, but this focus does not seem to have biased the result of the measurement. Among the top 10 database engines, there is only MongoDB, which is not ...

Read More »

The Premature Return to SQL

nosqlunit-logo

In online communities, the NoSQL topic (much like the ORM topic) is a guarantee to stir emotions. Many emotions are stirred by evangelists on either side for ideological or marketing reasons. Here’s an interesting post by Alex Popescu, a passionate NoSQL and polyglot persistence evangelist, claiming that the recent trend to return to SQL is premature:         ...

Read More »

Pagination with Couchbase

couchbase-logo

If you have to deal with a large number of documents when doing queries against a Couchbase cluster it is important to use pagination to get rows by page. You can find some information in the documentation in the chapter “Pagination“, but I want to go in more details and sample code in this article. For this example I will ...

Read More »

MongoDB and Web applications

mongodb-logo

Today’s era is when data grows at very huge scale. Data storage is not a problem, yes but the way it gets structured and stored may increase or decrease the seek time for needed data blocks. Use Cases of ever increasing unstructured data           Facebook: 750 million users are active , 1 in 3 Internet users ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.