mesh cloud (road to mongodb)
DESCRIPTION
in twentyCAT event 16 may 2011TRANSCRIPT
Mesh Cloud{name : ”MedhatDawoud”, job : ”SofwareEngineer”}
@Med7atDawoud
The road to mongo*
* mongo from “humongous”
What is this
sessionAbout ?
OK, actually I will tell you
Two Important Facts
“Mesh Cloud” Means .. “Not about Cloud ”
1st
I’m interested today in “NoSQL” Concept.
2nd
so..?What is the relationship between
NoSQL and Cloud
Both are focus on solving the same
issue ..!
Scalability*What does it mean ??
* Scaling is the ability to enlarge your DB
is the facility of scaling the system according to
requirements
Scalability
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
Ok, lets get started
So, What makes me leaveMySQL for example and use
NoSQL?
NoSQL features that will suitable for
your needs
such as ..
There is no joins
No Complex Transactions
Horizontal Scalablearchitecture
New Data Modes
Data Models
Key/valuememcached , Dynamo
TabularBigTable (Google)
Document OrientedmongoDB, couchDB, JSON store
* from http://www.mongoDB.org
If we speak specially about
We’ll find new special features
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
Flexible Schemas
{"author":"Medhat“, "text":"..."}
{"author":"Medhat","text":"...","tags":["mongoDB"]}
Dynamic Queries
Focus on performance
Replication
Slave-Master Replica sets
Auto-sharding
And more other features* …
Go online to get them allhttp://www.mongodb.org
* I’ll try to explain each of them in isolated sessions
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
So, what ever your programming language is
mongoDB supports it
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
Thanks