Professional Documents
Culture Documents
CON T EN T S
210
NoSQL and
Data Scalability 2.0
By Eugene Ciurana
NoSQ L
S c a l a bl e Data A rc h it e c t u r e s
Scalable data architectures have evolved to improve
overall system efficiency and reduce operational costs.
Specific NoSQL databases may have different topological
requirements, but the general architecture is the same.
Databa se Type
Uses
Document
Column
Graph
Key-value
Multi-model
NoSQL
Data Scalability
2.07
Javaand
Enterprise
Edition
Eventual consistency
High availability with partition tolerance
Horizontal scalability (optimized for large volume of
reads and queries)
Cloud readiness
Distributed, structured data storage
Cloud readiness describes the database being used as
a service and the ability to deploy the storage grid and
cluster manager to a cloud provider.
D Z o ne, Inc.
dz o ne.c o m
Clo u d Data b a s e s
Demand-based scaling is an attractive proposition for running
NoSQL systems on the cloud; it maximizes the advantages of
running the application on cloud-based providers like AWS,
Azure, or Google Cloud Computing.
DB as a service
Hosted VM DB
Databa se
Amazon Dynamo
Key-value
Amazon SimpleDB
Column
Column
IBM Cloudant
Document
Microsoft DocumentDB
Document
MongoDB
Document
Couchbase Server
Document
Neo4j
Graph
Apache Cassandra
Column
Tip: Billing overruns are very easy when using a Databaseas-a-service. Engage a usage/cost monitoring system to help
manage expenses and to avoid nasty surprises.
D Z o ne, Inc .
dz o ne .c o m
3
V e ry Hig h -Vo l u m e Data S t o r e s
Many applications require the storage of very large binary data
sets. Traditional data stores cant handle them because their
size makes it impractical. Enter the High-Volume Data Store
(HVDS).
FITS
Astronomy
GRIB
Meteorology
Protocol Buffers
Network communication
RData
HVDS Workflow
Language independence
No security model
HVDS Classification
HVDS
Uses
HDF5
CDF
Astronomy, aeronautics
D Z o ne, Inc .
dz o ne .c o m
type : Person,
name : Tom,
age : 42
L anguage
Representation
{
Python
}
{
Ruby
Function
Data
Query
Indexing
PHP
utype : uPerson,
uname : uTom,
uage : 42
Document Format
Stream-based Views
D Z o ne, Inc .
dz o ne .c o m
View queries may include the stale data freshness flag with
one of these settings:
Spatial Views
applications
G r a p h Data b a s e : N e o 4 j
and indices
D Z o ne, Inc .
dz o ne .c o m
6
The Neo4j downloads and documentation are available from:
http://neo4j.com.
FF
FF
FF
D Z o ne, Inc .
dz o ne .c o m
Neo4j Drawbacks
Check out the DZone Refcard Querying Graphs with Neo4j for
more details on writing queries with Cypher, available at http://
refcardz.dzone.com/refcardz/querying-graphs-neo4j.
S tayi n g C u r r e n t
P u bli c ati o n s
By Eugene Ciurana
RECOMMENDED BOOK
NoSQL Distilled by Martin Fowler and Pramod Sadalage
offers a glimpse into the universe of non-relational
database systems. This book begins by introducing the
reader to high-level concepts like CAP theorem before
diving into specific databases and use cases. It includes
information on such databases as MongoDB, Cassandra,
and Neo4j, offering a wide level of coverage within the
NoSQL space.
BUY NOW
Communities:
Share links, author articles, and engage with other tech experts
JOIN NOW
DZone, Inc.
150 Preston Executive Dr.
Cary, NC 27513
DZone communities deliver over 6 million pages each month to more than 3.3 million software
developers, architects and decision makers. DZone offers something for everyone, including news,
tutorials, cheat sheets, research guides, feature articles, source code and more.
888.678.0399
919.678.0300
Refcardz Feedback Welcome
refcardz@dzone.com
Copyright 2015 DZone, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
in anyInc.
DZone,
form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.
Sponsorship Opportunities
sales@dzone.com
Version 1.0
$7.95