Home » Tag Archives: NoSQL

Tag Archives: NoSQL

Creating a MongoDB Capped Collection in Java

mongodb-logo

In MongoDB, it’s possible to preserve the insertion order of documents into a collection in a circular fashion. These types of collections are called Capped Collections in MongoDB. The MongoDB documentation describes Capped Collections: “Capped collections are fixed-size collections that support high-throughput operations that insert, retrieve, and delete documents based on insertion order. Capped collections work in a way similar ...

Read More »

“NoSQL Injection” – What 40000 Unsecured MongoDB Databases Mean for our Industry

mongodb-logo

The news is all over reddit… Major security alert as 40,000 MongoDB databases left unsecured on the internet Security is a feature that is often neglected until it’s too late. And when it’s too late, it is often hard to bake it into a well-established architecture without major refactoring efforts. Every system and thus also every database is always vulnerable. ...

Read More »

NoSQL with Hibernate OGM – Part two: Querying for your data

jboss-hibernate-logo

After the first final version of Hibernate OGM came out end of January the team has been busy crafting a series of tutorial-style blogs which give you the chance to start over easily with Hibernate OGM. The fist part was all about getting setup and persisting your first entity. In this second part you’re going to learn how to query ...

Read More »

Apache Cassandra and Low-Latency Applications

apache-cassandra-logo

Introduction Over the years, Grid Dynamics has had many projects related to NoSQL, particularly Apache Cassandra. In this post, we want to discuss a project which brought exciting challenges to us, and questions we tried to answer in that project remain relevant today, as well. Digital marketing and online ads were popular in 2012, and a demand for them has ...

Read More »

How to install 3 popular NoSQL databases for development in MacOSX for newbies Part 3 (CouchBase)

couchbase-logo

Part 1(Mongodb) Part 2 (Cassandra) Part 3 (CouchBase) In this post we are going to install CouchBase, a NoSQL database that has gained a lot of momentum latetly. CouchBase is very very developer friendly in terms of setting up and getting started time. Actually is the simplest. It offers a single download for many platforms (including MacOSX). You can find ...

Read More »

How to install 3 popular NoSQL databases for development in MacOSX for newbies Part 2 (Cassandra)

apache-cassandra-logo

Part 1(Mongodb) Part 2 (Cassandra) Part 3 (CouchBase) In this post we will install on our local MacOSX (Yosemite) environment, another famous NoSQL database, the Apache Cassandra. As a developer, I found Datastax, community packaging of Cassandra, very handy, seems they offer ready made MacOSX specific packages. You can of course download and install the the tarballs from Apache or ...

Read More »

How to install 3 popular NoSQL databases for development in MacOSX for newbies Part 1 (mongodb)

mongodb-logo

Part 1(Mongodb) Part 2 (Cassandra) Part 3 (CouchBase) This post aims to help all developers (not only Java) that want to develop using NoSQL datastores, specifically MongoDB, Cassandra and Couchbase, in MaOSX. Before starting writing code you need to have the db engines installed and ready for tests. So our goal for these mini posts will be to  install all ...

Read More »

NoSQL with Hibernate OGM – Part one: Persisting your first Entities

jboss-hibernate-logo

The first final version of Hibernate OGM is out and the team recovered a bit from the release frenzy. So they thought about starting a series of tutorial-style blogs which give you the chance to start over easily with Hibernate OGM. Thanks to Gunnar Morling ( @gunnarmorling) for creating this tutorial. Introduction Don’t know what Hibernate OGM is? Hibernate OGM ...

Read More »

Logging to Redis using Spring Boot and Logback

redis-logo

When doing centralized logging, e.g. using Elasticsearch, Logstash and Kibana or Graylog2 you have several options available for your Java application. You can either write your standard application logs and parse those using Logstash, either consumed directly or shipped to another machine using something like logstash-forwarder. Alternatively you can write in a more appropriate format like JSON directly so the ...

Read More »

How to create a pub/sub application with MongoDB ? Introduction

mongodb-logo

In this article we will see how to create a pub/sub application (messaging, chat, notification), and this fully based on MongoDB (without any message broker like RabbitMQ, JMS, … ). So, what needs to be done to achieve such thing: an application “publish” a message. In our case, we simply save a document into MongoDB another application, or thread, subscribe ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close