SlideShare a Scribd company logo
10
Most read
11
Most read
13
Most read
What is NoSQL and
CAP Theorem
June 2014 NoSQL Meetup
Rahul Jain
@rahuldausa
Who am I ?
 Software Engineer
 7 years of software development experience
 Areas of expertise/interest
 High traffic web applications
 JAVA/J2EE
 Big data, NoSQL
 Information-Retrieval, Machine learning
2
Agenda
• What is NoSQL
• CAP Theorem
3
NoSQL Not SQL
does not mean
NoSQL Not Only SQL
OR
Not Relational DatabaseIt means
Why NoSQL
• Large Volume of Data
• Dynamic Schemas
• Auto-sharding
• Replication
• Horizontally Scalable
* Some Operations can be achieved by Enterprise class RDBMS software but with very High cost
Major NoSQL Categories
• Document databases
• pair each key with a complex data structure
known as a document.
• MongoDB
• Graph databases
• store information about networks, such as social
connections
• Neo4j
Contd.
Major NoSQL Categories
• Key-Value stores
• Every single item in the database is stored as an
attribute name (or "key"),
• Riak , Voldemort, Redis
• Wide-column stores
• store data in columns together, instead of row
• Google’s Bigtable, Cassandra and HBase
CAP Theorem
CAP Theorem
• Consistency
– All the servers in the system will have the same data
so anyone using the system will get the same copy
regardless of which server answers their request.
• Availability
– The system will always respond to a request (even if
it's not the latest data or consistent across the system
or just a message saying the system isn't working)
• Partition Tolerance
– The system continues to operate as a whole even if
individual servers fail or can't be reached..
Credit: http://architects.dzone.com/articles/better-explaining-cap-theorem
Choosing AP
Credit: https://foundationdb.com/key-value-store/white-papers/the-cap-theorem
Choosing CP
Credit: https://foundationdb.com/key-value-store/white-papers/the-cap-theorem
Replication allows to
add Availability
Finally …
SQL
Works great, but can’t fit for large dataset
NoSQL
Works great, but can’t fit for all Use-cases
SQL + NoSQL
Thanks!
@rahuldausa on twitter and slideshare
http://www.linkedin.com/in/rahuldausa
Interested in Search/Information Retrieval ?
Join us @ http://www.meetup.com/Hyderabad-Apache-Solr-Lucene-Group/
15

More Related Content

What's hot (20)

PDF
NOSQL- Presentation on NoSQL
Ramakant Soni
 
PPTX
Graph databases
Vinoth Kannan
 
PPTX
Key-Value NoSQL Database
Heman Hosainpana
 
PDF
Big Data Architecture
Guido Schmutz
 
PPTX
NOSQL Databases types and Uses
Suvradeep Rudra
 
PDF
The CAP Theorem
Aleksandar Bradic
 
PPTX
Introduction to NoSQL Databases
Derek Stainer
 
PPTX
Introduction to NoSQL
PolarSeven Pty Ltd
 
PPTX
Nosql databases
ateeq ateeq
 
PPT
Hadoop MapReduce Fundamentals
Lynn Langit
 
PPTX
Database Performance Tuning
Arno Huetter
 
PPS
SQL & NoSQL
Ahmad Awsaf-uz-zaman
 
PPTX
Relational databases vs Non-relational databases
James Serra
 
PPTX
Introduction to MongoDB
MongoDB
 
PDF
Cassandra Database
YounesCharfaoui
 
PPTX
NoSQL databases - An introduction
Pooyan Mehrparvar
 
PPTX
No SQL- The Future Of Data Storage
Bethmi Gunasekara
 
PPTX
NOSQL vs SQL
Mohammed Fazuluddin
 
PPTX
Basics of MongoDB
HabileLabs
 
NOSQL- Presentation on NoSQL
Ramakant Soni
 
Graph databases
Vinoth Kannan
 
Key-Value NoSQL Database
Heman Hosainpana
 
Big Data Architecture
Guido Schmutz
 
NOSQL Databases types and Uses
Suvradeep Rudra
 
The CAP Theorem
Aleksandar Bradic
 
Introduction to NoSQL Databases
Derek Stainer
 
Introduction to NoSQL
PolarSeven Pty Ltd
 
Nosql databases
ateeq ateeq
 
Hadoop MapReduce Fundamentals
Lynn Langit
 
Database Performance Tuning
Arno Huetter
 
Relational databases vs Non-relational databases
James Serra
 
Introduction to MongoDB
MongoDB
 
Cassandra Database
YounesCharfaoui
 
NoSQL databases - An introduction
Pooyan Mehrparvar
 
No SQL- The Future Of Data Storage
Bethmi Gunasekara
 
NOSQL vs SQL
Mohammed Fazuluddin
 
Basics of MongoDB
HabileLabs
 

Similar to What is NoSQL and CAP Theorem (20)

PPTX
No SQL DATABASE Description about 4 no sql database.pptx
KavithaMs10
 
PPTX
NoSQLDatabases
Adi Challa
 
PDF
the rising no sql technology
INFOGAIN PUBLICATION
 
PDF
NOsql Presentation.pdf
AkshayDwivedi31
 
PPTX
Dropping ACID: Wrapping Your Mind Around NoSQL Databases
Kyle Banerjee
 
PPTX
unit2-ppt1.pptx
revathigollu23
 
PPTX
Introduction to NoSQL
Dr-Dipali Meher
 
DOCX
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
PPTX
cours database pour etudiant NoSQL (1).pptx
ssuser1fde9c
 
PDF
Oracle Week 2016 - Modern Data Architecture
Arthur Gimpel
 
PPTX
NoSQL.pptx
RithikRaj25
 
PPTX
SQL vs NoSQL Data Modeling.pptx
GarimaHasija1
 
PPTX
Chapter1: NoSQL: It’s about making intelligent choices
Maynooth University
 
PPTX
NoSql Brownbag
Sandeep Kumar
 
PPTX
UNIT-2.pptx
SIVAKUMARM603675
 
PDF
NoSQL for great good [hanoi.rb talk]
Huy Do
 
PPTX
Introduction to NoSQL and MongoDB
Ahmed Farag
 
PPTX
Non relational databases-no sql
Ram kumar
 
PPTX
Big Data Technologies and Why They Matter To R Users
Adaryl "Bob" Wakefield, MBA
 
PDF
Baisc introduction of mongodb for beginn
poojamehta654564
 
No SQL DATABASE Description about 4 no sql database.pptx
KavithaMs10
 
NoSQLDatabases
Adi Challa
 
the rising no sql technology
INFOGAIN PUBLICATION
 
NOsql Presentation.pdf
AkshayDwivedi31
 
Dropping ACID: Wrapping Your Mind Around NoSQL Databases
Kyle Banerjee
 
unit2-ppt1.pptx
revathigollu23
 
Introduction to NoSQL
Dr-Dipali Meher
 
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
cours database pour etudiant NoSQL (1).pptx
ssuser1fde9c
 
Oracle Week 2016 - Modern Data Architecture
Arthur Gimpel
 
NoSQL.pptx
RithikRaj25
 
SQL vs NoSQL Data Modeling.pptx
GarimaHasija1
 
Chapter1: NoSQL: It’s about making intelligent choices
Maynooth University
 
NoSql Brownbag
Sandeep Kumar
 
UNIT-2.pptx
SIVAKUMARM603675
 
NoSQL for great good [hanoi.rb talk]
Huy Do
 
Introduction to NoSQL and MongoDB
Ahmed Farag
 
Non relational databases-no sql
Ram kumar
 
Big Data Technologies and Why They Matter To R Users
Adaryl "Bob" Wakefield, MBA
 
Baisc introduction of mongodb for beginn
poojamehta654564
 
Ad

More from Rahul Jain (15)

PDF
Flipkart Strategy Analysis and Recommendation
Rahul Jain
 
PPTX
Emerging technologies /frameworks in Big Data
Rahul Jain
 
PPTX
Case study of Rujhaan.com (A social news app )
Rahul Jain
 
PPTX
Building a Large Scale SEO/SEM Application with Apache Solr
Rahul Jain
 
PPTX
Real time Analytics with Apache Kafka and Apache Spark
Rahul Jain
 
PPTX
Introduction to Apache Spark
Rahul Jain
 
PPTX
Introduction to Machine Learning
Rahul Jain
 
PPTX
Introduction to Scala
Rahul Jain
 
PPTX
Introduction to Elasticsearch with basics of Lucene
Rahul Jain
 
PPTX
Introduction to Apache Lucene/Solr
Rahul Jain
 
PPTX
Introduction to Lucene & Solr and Usecases
Rahul Jain
 
PPTX
Introduction to Kafka and Zookeeper
Rahul Jain
 
PPTX
Apache kafka
Rahul Jain
 
PPTX
Hadoop & HDFS for Beginners
Rahul Jain
 
DOC
Hibernate tutorial for beginners
Rahul Jain
 
Flipkart Strategy Analysis and Recommendation
Rahul Jain
 
Emerging technologies /frameworks in Big Data
Rahul Jain
 
Case study of Rujhaan.com (A social news app )
Rahul Jain
 
Building a Large Scale SEO/SEM Application with Apache Solr
Rahul Jain
 
Real time Analytics with Apache Kafka and Apache Spark
Rahul Jain
 
Introduction to Apache Spark
Rahul Jain
 
Introduction to Machine Learning
Rahul Jain
 
Introduction to Scala
Rahul Jain
 
Introduction to Elasticsearch with basics of Lucene
Rahul Jain
 
Introduction to Apache Lucene/Solr
Rahul Jain
 
Introduction to Lucene & Solr and Usecases
Rahul Jain
 
Introduction to Kafka and Zookeeper
Rahul Jain
 
Apache kafka
Rahul Jain
 
Hadoop & HDFS for Beginners
Rahul Jain
 
Hibernate tutorial for beginners
Rahul Jain
 
Ad

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 

What is NoSQL and CAP Theorem