+ All Categories
Home > Social Media > The What and Why of NoSql

The What and Why of NoSql

Date post: 14-Jul-2015
Category:
Upload: matias-cascallares
View: 130 times
Download: 2 times
Share this document with a friend
Popular Tags:
30
THE “WHAT” AND “WHY” OF NOSQL Matias Cascallares @mcascallares [email protected]
Transcript

THE “WHAT”AND “WHY” OF NOSQL

Matias Cascallares@mcascallares

[email protected]

Who Am I?

• Originally from Buenos Aires, Argentina

• Solutions Architect @ MongoDB based in

Singapore

• Software Engineer, most of my experience

in web environments

• In my toolbox I have Java, Python and

Node.js

Let me tell you a story…

• Beginning of 2011

• Tier-1 hardware manufacturer wanted to

build a social aggregator backend

• Supported platforms: Twitter, Facebook

and blogs (RSS/Atom)

• We were a MySql shop

That moment!

Based on estimations:

- # of users

- dataset size

- write throughput

…we had some doubts

The Expert

NoSQL

Not OnlySQL

Why do we need to look

for new databases?

First:Requirements

Some facts of our age

• 3M of emails sent per second

• 20 hs of video uploaded to YouTube p/min

• 75 products ordered on Amazon p/sec

• 100K new tweets per minute

Structured Data

Structured DataUnstructured Data

SAY BIG DATA

ONE MORE TIME

Second:New Hardware

.. and not so long time ago

Hardware nowadays

HTTP POST https://ec2.amazonaws.com/?Action=StartInstances &InstanceId.1=i-10a64379 &AUTHPARAMS

NoSql Families

• Key-value stores

• Document databases

• BigTable

• Search engines

Key-value stores

• Access only by primary key

• Implementations are mainly in memory

• Insanely fast

• Value is "something" like a BLOB

Document databases

• General purpose data storage

• Dynamic schema / unstructured data

• Flexible query & indexing capabilities

• Consistent writes

• Aggregation capabilities

BigTable

• Multidimensional sorted maps

• Data stored across a ring of nodes (P2P)

• Eventually consistent based on quorum

• Append only storage

• Fast when writing, not so fast when

reading.

Search engines

• Not used as primary storage

• Full-text search capabilities

• Faceted search

• Lightweight integration with REST APIs

Thanks!


Recommended