SlideShare a Scribd company logo
NoSQL Databases Jon Meredith [email_address]
What isn't NoSQL? NOT  a standard.
NOT  a product.
NOT  a single technology.
Well, what  is  it? It's a  buzzword . A banner for non-relational databases to organize under.
Mostly created in response to scaling and reliability problems.
Huge differences between 'NoSQL' systems – but have elements in common.
Where did it come from? They've been around for a while Local key/value stores
Object databases
Graph databases
XML databases New problems are emerging Internet search
e-commerce
Social networking
Where did it come from? Some efforts came from scaling the web...
Several papers published  2006 – Google BigTable
2007 – Dynamo Paper In 2008 - explosion of data storage projects
All shambling under the NoSQL banner.
Really, why not use RDBMs? I need to perform arbitrary queries
My application needs transactions
Data needs to be nicely normalized
I have replication for scalabilty/reliability
Data Mapping Woes Relational databases divide data into columns made up of tables.
Programmers use complex nested data structures Hashes
Sets
Arrays
Things of things Have to map between the two
Data Mapping Woes (2) Data in systems evolve over time … which means changes to the schema.
Upgrade/rollback scripts have to operate on the whole database – could be millions of rows.
Doing phased rollouts is hard … the application needs to do work
Alternative! Let the application do it
Use convenient language features PHP serialize/unserialize … or use standards for mixed platforms JSON very popular and well supported
Google's protocol buffers
… even XML Design for forward compatibility Preserve unknown fields
Version objects
Scalability and Availability Scalability How many requests you can process Availability How does your service degrade as things break. RDBMS solutions  - replication and sharding
Scaling RDBMs - Replication Master-Slave replication is easiest
Every change on the master happens on the slave.
Slaves are read-only. Does not scale INSERT, UPDATE, DELETE queries.
Application responsible for distributing queries to correct server.
Scaling RDBMs - Replication Multi-master ring replication Can update any master
Updates travel around the ring
What happens when it fails? Reconfigure the ring What happens on return Synchronize the master
Add back in to the ring
Replication Replication is usually asynchronous for performance – you don't want to wait for the slowest slave on each update.
Replication takes time – there is time lag between the first and last server to see an update.
You may not read your writes – not getting aCid properties any more.
Scaling RDBMS – Sharding Do application level splitting of data Split large table into N smaller tables
Use Id modulo N to find the right table Tables could be spread across multiple database servers But the application needs to know where to query
Availability If you want availability you need multiple servers – maybe even multiple sites.
In the real world you get network partitions Just because you can't see your other data center doesn't mean users can't. What should you do if you can't see the other data center?

More Related Content

PPTX
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
Edureka!
 
PPT
Hadoop and Voldemort @ LinkedIn
Hadoop User Group
 
PPT
Hadoop, Hbase and Hive- Bay area Hadoop User Group
Hadoop User Group
 
PDF
Shared slides-edbt-keynote-03-19-13
Daniel Abadi
 
PPT
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Hadoop User Group
 
PDF
Architecting and productionising data science applications at scale
samthemonad
 
PDF
Agile data lake? An oxymoron?
samthemonad
 
PDF
HUG August 2010: Best practices
Hadoop User Group
 
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
Edureka!
 
Hadoop and Voldemort @ LinkedIn
Hadoop User Group
 
Hadoop, Hbase and Hive- Bay area Hadoop User Group
Hadoop User Group
 
Shared slides-edbt-keynote-03-19-13
Daniel Abadi
 
Yahoo! Hadoop User Group - May Meetup - HBase and Pig: The Hadoop ecosystem a...
Hadoop User Group
 
Architecting and productionising data science applications at scale
samthemonad
 
Agile data lake? An oxymoron?
samthemonad
 
HUG August 2010: Best practices
Hadoop User Group
 

What's hot (20)

PDF
5 things one must know about spark!
Edureka!
 
PDF
XML Parsing with Map Reduce
Edureka!
 
PPT
Daniel Abadi: VLDB 2009 Panel
Daniel Abadi
 
PPT
Technology stack behind Airbnb
Rohan Khude
 
PPTX
Big data with HDFS and Mapreduce
senthil0809
 
PPT
Boston Hadoop Meetup, April 26 2012
Daniel Abadi
 
PPT
Hw09 Practical HBase Getting The Most From Your H Base Install
Cloudera, Inc.
 
PDF
HBase Schema Design - HBase-Con 2012
Ian Varley
 
PPTX
Allyourbase
Alex Scotti
 
PPTX
Apache hadoop technology : Beginners
Shweta Patnaik
 
PPTX
Hadoop live online training
Harika583
 
PDF
Building an analytical platform
David Walker
 
PPT
Architecting Big Data Ingest & Manipulation
George Long
 
PPTX
HBaseCon 2013: Compaction Improvements in Apache HBase
Cloudera, Inc.
 
PPTX
Apache HBase™
Prashant Gupta
 
PPT
Cloudera Impala Internals
David Groozman
 
PPTX
Apache HBase Application Archetypes
Cloudera, Inc.
 
PPTX
HBase In Action - Chapter 04: HBase table design
phanleson
 
PPTX
HBaseCon 2012 | Living Data: Applying Adaptable Schemas to HBase - Aaron Kimb...
Cloudera, Inc.
 
PDF
How Impala Works
Yue Chen
 
5 things one must know about spark!
Edureka!
 
XML Parsing with Map Reduce
Edureka!
 
Daniel Abadi: VLDB 2009 Panel
Daniel Abadi
 
Technology stack behind Airbnb
Rohan Khude
 
Big data with HDFS and Mapreduce
senthil0809
 
Boston Hadoop Meetup, April 26 2012
Daniel Abadi
 
Hw09 Practical HBase Getting The Most From Your H Base Install
Cloudera, Inc.
 
HBase Schema Design - HBase-Con 2012
Ian Varley
 
Allyourbase
Alex Scotti
 
Apache hadoop technology : Beginners
Shweta Patnaik
 
Hadoop live online training
Harika583
 
Building an analytical platform
David Walker
 
Architecting Big Data Ingest & Manipulation
George Long
 
HBaseCon 2013: Compaction Improvements in Apache HBase
Cloudera, Inc.
 
Apache HBase™
Prashant Gupta
 
Cloudera Impala Internals
David Groozman
 
Apache HBase Application Archetypes
Cloudera, Inc.
 
HBase In Action - Chapter 04: HBase table design
phanleson
 
HBaseCon 2012 | Living Data: Applying Adaptable Schemas to HBase - Aaron Kimb...
Cloudera, Inc.
 
How Impala Works
Yue Chen
 
Ad

Viewers also liked (6)

PDF
NoSQL - Motivation and Overview
Jonathan Weiss
 
PPTX
NoSQL Databases for Implementing Data Services – Should I Care?
Guido Schmutz
 
PPTX
NoSQL databases - An introduction
Pooyan Mehrparvar
 
PDF
NoSQL databases
Marin Dimitrov
 
KEY
NoSQL Databases: Why, what and when
Lorenzo Alberton
 
PPTX
Introduction to NoSQL Databases
Derek Stainer
 
NoSQL - Motivation and Overview
Jonathan Weiss
 
NoSQL Databases for Implementing Data Services – Should I Care?
Guido Schmutz
 
NoSQL databases - An introduction
Pooyan Mehrparvar
 
NoSQL databases
Marin Dimitrov
 
NoSQL Databases: Why, what and when
Lorenzo Alberton
 
Introduction to NoSQL Databases
Derek Stainer
 
Ad

Similar to Front Range PHP NoSQL Databases (20)

PPS
Web20expo Scalable Web Arch
guest18a0f1
 
PPS
Web20expo Scalable Web Arch
mclee
 
PPS
Web20expo Scalable Web Arch
royans
 
PPT
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Bhupesh Bansal
 
PPT
Bhupeshbansal bigdata
Bhupesh Bansal
 
PPS
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Cal Henderson
 
PPT
UnConference for Georgia Southern Computer Science March 31, 2015
Christopher Curtin
 
ODP
Nonrelational Databases
Udi Bauman
 
PDF
Architecture by Accident
Gleicon Moraes
 
PPTX
Nosql seminar
Shreyashkumar Nangnurwar
 
PPTX
Handling Data in Mega Scale Systems
Directi Group
 
PPT
Schemaless Databases
Dan Gunter
 
PPTX
http://www.hfadeel.com/Blog/?p=151
xlight
 
PDF
Architectural anti-patterns for data handling
Gleicon Moraes
 
PPTX
عصر کلان داده، چرا و چگونه؟
datastack
 
PPS
Building Low Cost Scalable Web Applications Tools & Techniques
rramesh
 
KEY
DynamoDB Gluecon 2012
Appirio
 
ZIP
Gluecon 2012 - DynamoDB
Jeff Douglas
 
PPTX
MinneBar 2013 - Scaling with Cassandra
Jeff Smoley
 
PDF
DrupalCampLA 2011: Drupal backend-performance
Ashok Modi
 
Web20expo Scalable Web Arch
guest18a0f1
 
Web20expo Scalable Web Arch
mclee
 
Web20expo Scalable Web Arch
royans
 
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Bhupesh Bansal
 
Bhupeshbansal bigdata
Bhupesh Bansal
 
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Cal Henderson
 
UnConference for Georgia Southern Computer Science March 31, 2015
Christopher Curtin
 
Nonrelational Databases
Udi Bauman
 
Architecture by Accident
Gleicon Moraes
 
Handling Data in Mega Scale Systems
Directi Group
 
Schemaless Databases
Dan Gunter
 
http://www.hfadeel.com/Blog/?p=151
xlight
 
Architectural anti-patterns for data handling
Gleicon Moraes
 
عصر کلان داده، چرا و چگونه؟
datastack
 
Building Low Cost Scalable Web Applications Tools & Techniques
rramesh
 
DynamoDB Gluecon 2012
Appirio
 
Gluecon 2012 - DynamoDB
Jeff Douglas
 
MinneBar 2013 - Scaling with Cassandra
Jeff Smoley
 
DrupalCampLA 2011: Drupal backend-performance
Ashok Modi
 

Recently uploaded (20)

PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
Architecture of the Future (09152021)
EdwardMeyman
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Software Development Methodologies in 2025
KodekX
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Doc9.....................................
SofiaCollazos
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Architecture of the Future (09152021)
EdwardMeyman
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 

Front Range PHP NoSQL Databases

Editor's Notes

  • #2: Introduce Disclose work for Basho Working on Dynamo clone for the last couple of years