CouchConf Tokyo
                                         Lightning Talk


         Comparison of Couchbase,
          MongoDB and Cassandra

                              2012/01/27
                       DOCOMO Innovations, Inc.
                 Credit: James Phillips, Couchbase, Inc.

Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.   1
Introduction


 •     Yas Naoi
 •     DOCOMO Innovations, Inc.
 •     Project Manager / Architect
 •     naoi@docomoinnovaitons.com
 •     Twitter: @yas




Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.   2
Cassandra


 • Pros
        - Optimized to write very rapidly (+ cache)
        - Real-time vs Analytics: More suitable for analytics
        - Can add many nodes but re-write in-memory and database file


 • Cons
        - Complex design for app developers
        - Read vs Write – Cassandra’s Read: Always complex


        - Column collection - Schemable



Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.          3
MongoDB


 • Pros
        - Really competing (rather than Cassandra, for Couch)
        - Easy to use
        - Ad-hoc Query approach for beginner developers


 • Cons
        - Hard to do data moving (to another database) by sharding


        - Couch thinks Ad-hoc Query capability is more important
        - Couch is trying to fill the gap in MongoDB



Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.       4
Couchbase vs. MongoDB


 • Object Handling in Memory
        - Mongo: Mongo has OS memory-mapped tech
          but In-memory only → page fault
        - Couch: In-memory + database file
          Re-cache - scheduled


 • Power Failure
        - Mongo: While flushing memory to disk
        - Couch: Transaction completing
        → Commit, crash-only architecture – safer




Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.   5
Couchbase, Mongo and Cassandra

 • Performance
        - Mongo: Object write data into memory, MRU mechanism
        - Couch: Caching gracefully:
          Memory mapping object / Memory managed object tech
        - Cassandra: Write throughput is faster


 • Big Data Analysis vs Big User Data
        - 1) How do we analyze big data? (Cassandra)
        - 2) How do we build application? (Couch)


 • Geo
        - Mongo: Mongo w/ API is better than Geocouch




Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.   6
Thank You

                 "Coming together is a beginning, keeping together is a
                 progress; working together is a success.“
                 - Henry Ford



                                          Yas Naoi
                                 naoi@docomoinnovations.com
                                      +1-408-256-0855
                                        Twitter: @yas


Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.            7

More Related Content

ODP
Benchmarking MongoDB and CouchBase
PPTX
Welcome to the Cloud: An Introduction to Cloud Computing and how it Changes E...
PPT
MongoDB quickstart for Java, PHP, and Python developers
PPT
Mongo DB for Java, Python and PHP Developers
PPTX
Inside hadoop-dev
PPTX
Introducing MongoDB into your Organization
PPTX
Yieldbot Tech Talk, Sept 20, 2012
PPTX
Mongodb Presentation
Benchmarking MongoDB and CouchBase
Welcome to the Cloud: An Introduction to Cloud Computing and how it Changes E...
MongoDB quickstart for Java, PHP, and Python developers
Mongo DB for Java, Python and PHP Developers
Inside hadoop-dev
Introducing MongoDB into your Organization
Yieldbot Tech Talk, Sept 20, 2012
Mongodb Presentation

Similar to CouchConf Tokyo DOCOMO Innovations Lunchtime Lightning Talk (English) (20)

PPTX
Mongo db operations_v2
PDF
Cloud Camp Chicago Dec 2012 - All presentations
PDF
Cloud Camp Chicago Dec 2012 Slides
PDF
DevOps -- A 10 year retrospective (based on interviews conducted at DevOps Da...
PDF
Introduction to hadoop and hdfs
PPTX
Mongodb hashim shaikh
PPTX
Mongodb Presentation
PDF
The Future of Distributed Databases
PPTX
OpenStack and Ceph case study at the University of Alabama
PPTX
Case Study: University Alabama-Birmingham.
PDF
"Portrait of the developer as The Artist" Lockheed Architect Workshop
PPTX
What is MongoDB? Introduction and features
PDF
Hadoop Overview
 
PPTX
The Columnar Era: Leveraging Parquet, Arrow and Kudu for High-Performance Ana...
PDF
Aug 2012 HUG: Random vs. Sequential
PDF
Big Data in Media
PPTX
Dropbox
PDF
Machine Learning and Hadoop: Present and Future
PDF
Introduction to MongoDB
PPTX
MongoDC - Ikanow April 2012 Meetup
Mongo db operations_v2
Cloud Camp Chicago Dec 2012 - All presentations
Cloud Camp Chicago Dec 2012 Slides
DevOps -- A 10 year retrospective (based on interviews conducted at DevOps Da...
Introduction to hadoop and hdfs
Mongodb hashim shaikh
Mongodb Presentation
The Future of Distributed Databases
OpenStack and Ceph case study at the University of Alabama
Case Study: University Alabama-Birmingham.
"Portrait of the developer as The Artist" Lockheed Architect Workshop
What is MongoDB? Introduction and features
Hadoop Overview
 
The Columnar Era: Leveraging Parquet, Arrow and Kudu for High-Performance Ana...
Aug 2012 HUG: Random vs. Sequential
Big Data in Media
Dropbox
Machine Learning and Hadoop: Present and Future
Introduction to MongoDB
MongoDC - Ikanow April 2012 Meetup
Ad

More from DOCOMO Innovations, Inc. (19)

PDF
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
PDF
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
PDF
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
PDF
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
PDF
Empower Your Single Site for Multi-tenancy Services | Stanford WebCamp 2023
PDF
Automate Behavior-driven Development | Stanford WebCamp 2022
PDF
Automate Behavior-driven Development | DrupalCon Portland 2022
PDF
クラウドオーケストレーターを使ってみよう
PDF
Leveraging Multiple Cloud Orchestration and Resource Optimization
PDF
Agile practice in drupal 8 module development 20200328a
PDF
Agile Practice in Drupal 8 Module Development
PDF
Leveraging Multiple Cloud Orchestration
PDF
DevOps+ to Leverage Software Development
PDF
Leveraging Multiple Cloud Orchestration
PDF
CouchConf Tokyo Customer Presentation: DOCOMO Innovations (Japanese)
PDF
CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)
PPT
Clanavi: How to Manage Your Cloud by Drupal (BADCamp 2010)
PDF
Clanavi: How to Manage Your Cloud by Drupal
PPT
How to Manage Your Cloud by Drupal (DrupalCon CPH 2010)
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
Automate, Integrate, Innovate - AI-powered GitLab CI for Drupal module develo...
Empower Your Single Site for Multi-tenancy Services | Stanford WebCamp 2023
Automate Behavior-driven Development | Stanford WebCamp 2022
Automate Behavior-driven Development | DrupalCon Portland 2022
クラウドオーケストレーターを使ってみよう
Leveraging Multiple Cloud Orchestration and Resource Optimization
Agile practice in drupal 8 module development 20200328a
Agile Practice in Drupal 8 Module Development
Leveraging Multiple Cloud Orchestration
DevOps+ to Leverage Software Development
Leveraging Multiple Cloud Orchestration
CouchConf Tokyo Customer Presentation: DOCOMO Innovations (Japanese)
CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)
Clanavi: How to Manage Your Cloud by Drupal (BADCamp 2010)
Clanavi: How to Manage Your Cloud by Drupal
How to Manage Your Cloud by Drupal (DrupalCon CPH 2010)
Ad

Recently uploaded (20)

PDF
SaaS reusability assessment using machine learning techniques
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
The AI Revolution in Customer Service - 2025
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PPTX
Internet of Everything -Basic concepts details
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
SaaS reusability assessment using machine learning techniques
giants, standing on the shoulders of - by Daniel Stenberg
Build automations faster and more reliably with UiPath ScreenPlay
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Build Real-Time ML Apps with Python, Feast & NoSQL
Data Virtualization in Action: Scaling APIs and Apps with FME
A symptom-driven medical diagnosis support model based on machine learning te...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Module 1 Introduction to Web Programming .pptx
MuleSoft-Compete-Deck for midddleware integrations
Advancing precision in air quality forecasting through machine learning integ...
Connector Corner: Transform Unstructured Documents with Agentic Automation
The AI Revolution in Customer Service - 2025
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Presentation - Principles of Instructional Design.pptx
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
Internet of Everything -Basic concepts details
Electrocardiogram sequences data analytics and classification using unsupervi...

CouchConf Tokyo DOCOMO Innovations Lunchtime Lightning Talk (English)

  • 1. CouchConf Tokyo Lightning Talk Comparison of Couchbase, MongoDB and Cassandra 2012/01/27 DOCOMO Innovations, Inc. Credit: James Phillips, Couchbase, Inc. Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 1
  • 2. Introduction • Yas Naoi • DOCOMO Innovations, Inc. • Project Manager / Architect • [email protected] • Twitter: @yas Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 2
  • 3. Cassandra • Pros - Optimized to write very rapidly (+ cache) - Real-time vs Analytics: More suitable for analytics - Can add many nodes but re-write in-memory and database file • Cons - Complex design for app developers - Read vs Write – Cassandra’s Read: Always complex - Column collection - Schemable Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 3
  • 4. MongoDB • Pros - Really competing (rather than Cassandra, for Couch) - Easy to use - Ad-hoc Query approach for beginner developers • Cons - Hard to do data moving (to another database) by sharding - Couch thinks Ad-hoc Query capability is more important - Couch is trying to fill the gap in MongoDB Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 4
  • 5. Couchbase vs. MongoDB • Object Handling in Memory - Mongo: Mongo has OS memory-mapped tech but In-memory only → page fault - Couch: In-memory + database file Re-cache - scheduled • Power Failure - Mongo: While flushing memory to disk - Couch: Transaction completing → Commit, crash-only architecture – safer Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 5
  • 6. Couchbase, Mongo and Cassandra • Performance - Mongo: Object write data into memory, MRU mechanism - Couch: Caching gracefully: Memory mapping object / Memory managed object tech - Cassandra: Write throughput is faster • Big Data Analysis vs Big User Data - 1) How do we analyze big data? (Cassandra) - 2) How do we build application? (Couch) • Geo - Mongo: Mongo w/ API is better than Geocouch Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 6
  • 7. Thank You "Coming together is a beginning, keeping together is a progress; working together is a success.“ - Henry Ford Yas Naoi [email protected] +1-408-256-0855 Twitter: @yas Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 7