sábado, 15 de agosto de 2015

Java Code Geeks August, 14 2015

Facebook
Twitter
LinkedIn
Google Plus
Email
Java Code Geeks on Steroids

Getting started with NoSQL


A 3 Step Guide to Getting Started with NoSQL
I have been looking in to NoSQL databases for few months and would like to share my experience with it. This is a post might help you if you indent to start learning about the NoSQL Databases. I would try to link the resources which I found useful here.

NoSQL is not just about BigData
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 Oracle is probably the best SQL DB engine.

Simple CRUD using Servlet 3.0, Redis/Jedis and CDI
In this post we will build a simple user crud. The data will be stored in Redis. To interact with Redis we will use Jedis library. CDI for Depedency Injection and Servlet 3.0 for the view. Let’s start with the Redis/Jedis part. You can find some overview on Redis and Jedis in these posts.

MongoDB and Web applications
Current scenarios call for a need of NoSQL Databases like Apache Cassandra, Mongo DB to deal with such ever increasing unstructured data. NoSQL database provides looser consistency models than traditional RDBMS for storage and retrieval of data. NoSQL databases store the data as highly optimized key–value pairs, and this leads to simple retrieval and appending operations, hence increasing the performance in terms of low latency and high throughput.

CouchDB - Relax
Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being “a database that completely embraces the web”. It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API. One of its distinguishing features is multi-master replication. Couch is an acronym for cluster of unreliable commodity hardware.

Practical NoSQL experiences with Apache Cassandra
Most of the backend systems I’ve worked with over the years have employed relational database storage in some role. Despite many application developers complaining about RDBMS performance, I’ve found that with good design and implementation a relational database can actually scale a lot further than developers think. Often software developers who don’t really understand relational databases tend to blame the database for being a performance bottleneck, even if the root cause could actually be traced to bad design and implementation.

Till the next time, enjoy...!!
Your Suggestions
Any ideas or suggestions? Shoot us an email at newsletter@javacodegeeks.com

No hay comentarios:

Publicar un comentario en la entrada

Te agradezco tus comentarios. Te esperamos de vuelta.