Home » Tag Archives: NoSQL (page 6)

Tag Archives: NoSQL

MongoDB and the fine art of data modelling

mongodb-logo

Introduction This is the third part of our MongoDB time series tutorial, and this post will emphasize the importance of data modelling. You might want to check the first part of this series, to get familiar with our virtual project requirements and the second part talking about common optimization techniques. When you first start using MongoDB, you’ll immediately notice it’s ...

Read More »

A beginner’s guide to MongoDB performance turbocharging

mongodb-logo

Introduction This is the second part of our MongoDB time series tutorial, and this post will be dedicated to performance tuning. In my previous post, I introduced you into our virtual project requirements. In short we have 50M time events, spanning from the 1st of January 2012 to the 1st of January 2013, with the following structure:       ...

Read More »

MongoDB time series: Introducing the aggregation framework

mongodb-logo

In my previous posts I talked about batch importing and the out-of-the-box MongoDB performance. Meanwhile, MongoDB was awarded DBMS of the year, so I therefore decided to offer a more thorough analyze of its real-life usage. Because theory is better understood in a pragmatic context, I will first present you our virtual project requirements. Introduction     Our virtual project ...

Read More »

Why Your Boring Data Will Outlast Your Sexy New Technology

nosqlunit-logo

So you’re playing around with all those sexy new technologies, enjoying yourself, getting inspiration from state-of-the-art closure / lambda / monads and other concepts-du-jour… Now that I have your attention provoking a little anger / smirk / indifference, let’s think about the following. I’ve recently revisited a great article by Ken Downs written in 2010. There’s an excellent observation in ...

Read More »

Reactive Cassandra

apache-cassandra-logo

Or an adventure on reading data reactively from Cassandra. Overview Let’s first try to define what reactive means from programming point of view. Functional reactive programming is programming paradigm for reactive programming using the building blocks of functional programming. Functional programming is a programming paradigm, a style of building the structure and the elements of computer programs, that treats computation, ...

Read More »

NoSQL is not just about BigData

nosqlunit-logo

There is so much debate on the SQL vs NoSQL subject, and probably this is our natural way of understanding and learning what’s the best way of storing data. After publishing the small experiment on MongoDB aggregating framework, I was challenged by the JOOQ team to match my results against Oracle. Matching MongoDB and Oracle is simply honoring Mongo, as ...

Read More »

MongoDB “Lightning Fast Aggregation” Challenged with Oracle

mongodb-logo

What does “Scale” even mean in the context of databases? When talking about scaling, people have jumped to the vendor-induced conclusion that: SQL doesn’t scale NoSQL scales It is very obvious that NoSQL vendors make such claims. It has also been interesting that many NoSQL consumers made such claims, even if they probably confused SQL in general with MySQL in ...

Read More »

MongoDB Facts: Lightning speed aggregation

mongodb-logo

In my previous post, I demonstrated how fast you can insert 50 millions time-event entries with MongoDB. This time we will make use of all that data to fuel our aggregation tests. This is how one time-event entry looks like:             { "_id" : ObjectId("529a2a988cccdb538932d31f"), "created_on" : ISODate("2012-05-02T06:08:47.835Z"), "value" : 0.9270193106494844 } Beside the default ...

Read More »

MongoDB Facts: 80000+ inserts/second on commodity hardware

nosqlunit-logo

While experimenting with some time series collections I needed a large data set to check that our aggregation queries don’t become a bottleneck in case of increasing data loads. We settled for 50 million documents, since beyond this number we would consider sharding anyway. Each time event looks like this:           { "_id" : ObjectId("5298a5a03b3f4220588fe57c"), "created_on" ...

Read More »

Spring Data MongoDB cascade save on DBRef objects

mongodb-logo

Spring Data MongoDB by default does not support cascade operations on referenced objects with @DBRef annotations as reference says: The mapping framework does not handle cascading saves. If you change an Account object that is referenced by a Person object, you must save the Account object separately. Calling save on the Person object will not automatically save the Account objects ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials