SlideShare una empresa de Scribd logo
1 de 21
Descargar para leer sin conexión
Choosing a NoSQL Solution



Thursday, August 25, 11
Dave Grijalva
                          Director of Platform Technology




Thursday, August 25, 11
NoSQL




Thursday, August 25, 11
Why so many?




Thursday, August 25, 11
Tradeoffs



Thursday, August 25, 11
CAP Theorem
                                                  Consistency

                                              C       Unpossible

                          Availability


                                          A       P
                                                        Partition Tolerance
Thursday, August 25, 11
Access Patterns

                          • How much content?

                          • How many operations?
                          • Ratios of Insert/Update/Read/Delete?
                          • How valuable is your data?



Thursday, August 25, 11
Schema and Indexing


                          • How will you access your data?
                          • User Requests vs Background Processing
                          • Secondary Indexes




Thursday, August 25, 11
Clustering

                          • Where is the sharding done?

                          • Adding and removing nodes
                          • Where (in the world) is your data?
                          • Failure cases



Thursday, August 25, 11
Operations

                          • Backup and recovery

                          • Multi-datacenter issues
                          • Ease of deployment
                          • Tools integration

                          • Support


Thursday, August 25, 11
NoSQL @ ngmoco:)



Thursday, August 25, 11
Start Simple
                            Memcached       MySQL       MySQL




                          API Server     API Server     API Server




                                        Load Balancer




Thursday, August 25, 11
OAuth

                          • Shared secret based

                          • Signature validation on every request
                          • Tokens are per session
                          • Tokens expire



Thursday, August 25, 11
Redis

                          • In memory key/value store

                          • Really fast
                          • Delayed persistence
                          • Supports TTL per record

                          • Values can be blobs, lists, sets, or hashes


Thursday, August 25, 11
Game Data Store

                          • Per user, per game key/value store

                          • Exposed via REST API
                          • Very write heavy
                          • Keys are usually provided upfront

                          • High data throughput


Thursday, August 25, 11
Cassandra

                          • Configurable consistency

                          • No single write master
                          • Sharding managed by the cluster
                          • Built in replication

                          • Supercolumns!


Thursday, August 25, 11
“The Bank”

                          • High transaction volume

                          • ACID a requirement
                          • Lots of tracking required for revenue calculations
                          • Five nines uptime

                          • Insert dominant


Thursday, August 25, 11
Marklogic

                          • XML Document store

                          • Transactional
                          • Insert based persistence
                          • Temporal

                          • Clustered


Thursday, August 25, 11
Tips

                          • Start as simple as possible

                          • Learn how the systems work
                          • Try to find success and failure stories
                          • Explore failure scenarios. Test!

                          • There is no best solution. Look for a best match solution


Thursday, August 25, 11
ngmoco:) is hiring!
                              ngmoco.com/careers




Thursday, August 25, 11
Questions?



Thursday, August 25, 11

Más contenido relacionado

Más de DATAVERSITY

The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
DATAVERSITY
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best Practices
DATAVERSITY
 

Más de DATAVERSITY (20)

Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
 
Data at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and GovernanceData at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and Governance
 
Exploring Levels of Data Literacy
Exploring Levels of Data LiteracyExploring Levels of Data Literacy
Exploring Levels of Data Literacy
 
Building a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business GoalsBuilding a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business Goals
 
Make Data Work for You
Make Data Work for YouMake Data Work for You
Make Data Work for You
 
Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?
 
Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?
 
Data Modeling Fundamentals
Data Modeling FundamentalsData Modeling Fundamentals
Data Modeling Fundamentals
 
Showing ROI for Your Analytic Project
Showing ROI for Your Analytic ProjectShowing ROI for Your Analytic Project
Showing ROI for Your Analytic Project
 
How a Semantic Layer Makes Data Mesh Work at Scale
How a Semantic Layer Makes  Data Mesh Work at ScaleHow a Semantic Layer Makes  Data Mesh Work at Scale
How a Semantic Layer Makes Data Mesh Work at Scale
 
Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?
 
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
 
Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?
 
Data Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and ForwardsData Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and Forwards
 
Data Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement TodayData Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement Today
 
2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best Practices
 
Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?
 
Data Management Best Practices
Data Management Best PracticesData Management Best Practices
Data Management Best Practices
 
MLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageMLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive Advantage
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Selecting the Right NoSQL Tool for the Job

  • 1. Choosing a NoSQL Solution Thursday, August 25, 11
  • 2. Dave Grijalva Director of Platform Technology Thursday, August 25, 11
  • 4. Why so many? Thursday, August 25, 11
  • 6. CAP Theorem Consistency C Unpossible Availability A P Partition Tolerance Thursday, August 25, 11
  • 7. Access Patterns • How much content? • How many operations? • Ratios of Insert/Update/Read/Delete? • How valuable is your data? Thursday, August 25, 11
  • 8. Schema and Indexing • How will you access your data? • User Requests vs Background Processing • Secondary Indexes Thursday, August 25, 11
  • 9. Clustering • Where is the sharding done? • Adding and removing nodes • Where (in the world) is your data? • Failure cases Thursday, August 25, 11
  • 10. Operations • Backup and recovery • Multi-datacenter issues • Ease of deployment • Tools integration • Support Thursday, August 25, 11
  • 11. NoSQL @ ngmoco:) Thursday, August 25, 11
  • 12. Start Simple Memcached MySQL MySQL API Server API Server API Server Load Balancer Thursday, August 25, 11
  • 13. OAuth • Shared secret based • Signature validation on every request • Tokens are per session • Tokens expire Thursday, August 25, 11
  • 14. Redis • In memory key/value store • Really fast • Delayed persistence • Supports TTL per record • Values can be blobs, lists, sets, or hashes Thursday, August 25, 11
  • 15. Game Data Store • Per user, per game key/value store • Exposed via REST API • Very write heavy • Keys are usually provided upfront • High data throughput Thursday, August 25, 11
  • 16. Cassandra • Configurable consistency • No single write master • Sharding managed by the cluster • Built in replication • Supercolumns! Thursday, August 25, 11
  • 17. “The Bank” • High transaction volume • ACID a requirement • Lots of tracking required for revenue calculations • Five nines uptime • Insert dominant Thursday, August 25, 11
  • 18. Marklogic • XML Document store • Transactional • Insert based persistence • Temporal • Clustered Thursday, August 25, 11
  • 19. Tips • Start as simple as possible • Learn how the systems work • Try to find success and failure stories • Explore failure scenarios. Test! • There is no best solution. Look for a best match solution Thursday, August 25, 11
  • 20. ngmoco:) is hiring! ngmoco.com/careers Thursday, August 25, 11