mesh cloud (road to mongodb)

31
Mesh Cloud {name : ”MedhatDawoud”, job : SofwareEngineer”} @Med7atDawoud The road to mongo* * mongo from “humongous

Upload: medhat-dawoud

Post on 19-May-2015

1.127 views

Category:

Technology


0 download

DESCRIPTION

in twentyCAT event 16 may 2011

TRANSCRIPT

Page 1: Mesh cloud (road to mongoDB)

Mesh Cloud{name : ”MedhatDawoud”, job : ”SofwareEngineer”}

@Med7atDawoud

The road to mongo*

* mongo from “humongous”

Page 2: Mesh cloud (road to mongoDB)

What is this

sessionAbout ?

Page 3: Mesh cloud (road to mongoDB)

OK, actually I will tell you

Two Important Facts

Page 4: Mesh cloud (road to mongoDB)

“Mesh Cloud” Means .. “Not about Cloud ”

1st

Page 5: Mesh cloud (road to mongoDB)

I’m interested today in “NoSQL” Concept.

2nd

Page 6: Mesh cloud (road to mongoDB)

so..?What is the relationship between

NoSQL and Cloud

Page 7: Mesh cloud (road to mongoDB)

Both are focus on solving the same

issue ..!

Page 8: Mesh cloud (road to mongoDB)

Scalability*What does it mean ??

* Scaling is the ability to enlarge your DB

Page 9: Mesh cloud (road to mongoDB)

is the facility of scaling the system according to

requirements

Scalability

Page 10: Mesh cloud (road to mongoDB)

Types of scalability

Vertical scalability (scale up) :* to add resources to a single node in a system* single point of failure* easy to be done, because it’s the same implementation only you scale hardware

Horizontal scalability (scale out) :

* means to add more nodes to a system

* No single point of failure*complex in implementation

Page 11: Mesh cloud (road to mongoDB)

Ok, lets get started

Page 12: Mesh cloud (road to mongoDB)

So, What makes me leaveMySQL for example and use

NoSQL?

Page 13: Mesh cloud (road to mongoDB)

NoSQL features that will suitable for

your needs

such as ..

Page 14: Mesh cloud (road to mongoDB)

There is no joins

Page 15: Mesh cloud (road to mongoDB)

No Complex Transactions

Page 16: Mesh cloud (road to mongoDB)

Horizontal Scalablearchitecture

Page 17: Mesh cloud (road to mongoDB)

New Data Modes

Page 18: Mesh cloud (road to mongoDB)

Data Models

Key/valuememcached , Dynamo

TabularBigTable (Google)

Document OrientedmongoDB, couchDB, JSON store

Page 19: Mesh cloud (road to mongoDB)

* from http://www.mongoDB.org

Page 20: Mesh cloud (road to mongoDB)

If we speak specially about

We’ll find new special features

Page 21: Mesh cloud (road to mongoDB)

It saves data in a JSON-style Documents

Represented as BSON

{“Hello” : ”world”}

\x16\x00\x00\x00\x02hello\x00\x06\x00\x00\x00world\x00\x00

Page 22: Mesh cloud (road to mongoDB)

Flexible Schemas

{"author":"Medhat“, "text":"..."}

{"author":"Medhat","text":"...","tags":["mongoDB"]}

Page 23: Mesh cloud (road to mongoDB)

Dynamic Queries

Page 24: Mesh cloud (road to mongoDB)

Focus on performance

Page 25: Mesh cloud (road to mongoDB)

Replication

Slave-Master Replica sets

Page 26: Mesh cloud (road to mongoDB)

Auto-sharding

Page 27: Mesh cloud (road to mongoDB)

And more other features* …

Go online to get them allhttp://www.mongodb.org

* I’ll try to explain each of them in isolated sessions

Page 28: Mesh cloud (road to mongoDB)

Support many programming languages*

JavaJavaScript

Perl

PythonRuby

C

C++C#.NET

PHP

* Just Down load the driver of the language you want and play

scala

Page 29: Mesh cloud (road to mongoDB)

So, what ever your programming language is

mongoDB supports it

Page 30: Mesh cloud (road to mongoDB)

ReferencesFor downloading mongoDB

http://www.mongodb.org/downloadsFor Try it Online

http://www.mongodb.orgFor download and learn about drivers

http://www.mongodb.org/display/DOCS/Drivers

For contacting me

Website: http://www.medhatdawoud.comBlog: http://Med7at.wordpress.comEmail: [email protected]: Medhat DawoudTwitter : @Med7atDawoud

Page 31: Mesh cloud (road to mongoDB)

Thanks