Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to the Couchbase Data Platform – Connect Europe 2018

177 views

Published on

Speaker: Perry Krug, Customer Engagement Architect, Couchbase

Perry Krug, founding Couchbase Customer Engagement Architect, introduces the Couchbase Data Platform and explores forthcoming enhancements for both server and mobile products.

Published in: Technology
  • Be the first to comment

Introduction to the Couchbase Data Platform – Connect Europe 2018

  1. 1. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Introduction to the Couchbase Data Platform Perry Krug, Principal Architect 1
  2. 2. 2Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Customers spend more time interacting than transacting…
  3. 3. Customers expect exceptional digital experiences Feature-rich Quick Anywhere AnytimePersonalized
  4. 4. 8Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Core Principles Drove Platform Evolution – True auto sharding – JSON-based flexible data model – Memory-first Architecture – Asynchronous approach to everything – Scale workloads independently Managed Cache Key-Value Store Document Database Mobile N1QL Query Full Text Search AnalyticsEventing
  5. 5. 9Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. The Couchbase Data Platform
  6. 6. 10Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase: Full Stack Data Management Lightweight embedded NoSQL database with full CRUD and query functionality. Secure web gateway with synchronization, data access, and data integration APIs for accessing, integrating, and synchronizing data over the web. Highly scalable, highly available, high performance NoSQL database server. Built-in enterprise level security throughout the entire stack includes user authentication, user and role based data access control (RBAC), secure transport (TLS), and 256-bit AES full database encryption. Couchbase Lite Sync Gateway Couchbase Server EMBEDDED DATABASE SYNCHRONIZATION DATABASE SERVER SECURITY CLIENT WEB TIER DATABASEinternet intranet
  7. 7. 13Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase - Unique Capabilities • Multiple data models and index types • N1QL – SQL for JSON • Full-Text Search Engine • Built-in query workbench • SDKs, and ODBC/JDBC drivers • Connectors to Kafka and Spark • Push-button scalability • Consistent high-performance • Always on 24x7 with HA • Cross Data Center Replication (XDCR) • Administer with Web UI, REST and CLI • Cloud and Container Native
  8. 8. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Develop With Agility
  9. 9. 15Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase: The Power of a Flexible JSON Schema Store data in multiple ways: • Denormalized single document • Normalized with references • Add new values when needed • Support for binary values Access Data in multiple ways: • Direct Key-Value • SQL querying • Full-Text Search • MPP for large, ad-hoc access
  10. 10. 16Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Data Access: N1QL = SQL for JSON SELECT * FROM users WHERE users.lastName = “Johnson” UPDATE users SET status = “Platinum” WHERE users.lastName = “Johnson” DELETE FROM users WHERE users.firstName = “Shane”
  11. 11. 17Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. JOIN in N1QL
  12. 12. 18Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Full Text Search Scoring Document ID Description Matches 1.88 hotel_1234 best location 1.82 hotel_2345 loved hotel location 1.37 hotel_3456 location is awesome 1.25 hotel_4557 hard to locate best hotel location┊ SEARCH Search results • Inverted Index • Term matching • Scoring • Context snippet
  13. 13. 19Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Full Text Search concepts ScoringInverted indexes Language awareness
  14. 14. 20Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Traditional Analytics Solutions Operational DB Analytical DBAnalytics Tool Business Application Operations Data Batch Batch Batch
  15. 15. 21Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Shadow Dataset of a Couchbase Bucket Analytics Complex Queries on large datasets Real-time Insights for Business Teams DATA DATA DATA ANALYTICS ANALYTICS ANALYTICS ANALYTICS MPP architecture: parallelization among core and servers Fast Ingest
  16. 16. 22Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. HTAP: Query and Analytics • Many queries • Each touches a little data • Fewer queries • Each touches a lot of data Query Service Analytics Service Optimized for Analytics (OLAP) Optimized for Operations (OLTP)
  17. 17. 23Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Eventing Eventing Other Data Stores
  18. 18. 24Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Eventing: Functions Function OnUpdate (doc, meta) { query() update() curl() log() } OnDelete (meta) { … } Create or Update Delete Do more with a change
  19. 19. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Operate At Any Scale
  20. 20. 26Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase Architecture • Data Service – Stores documents, builds and maintains Distributed Secondary Indexes (MapReduce Views) • Query Service – Plans, coordinates, and executes queries against either Global or Distributed Indexes • Index Service – Builds and maintains Global Secondary Indexes • Search Service – Builds, maintains and queries Full Text Search indexes • Analytics Service – MPP Architecture for running ad-hoc queries and large-scale aggregations • Eventing Service – User-defined functions, triggers and timers • Cluster Manager – Configuration, heartbeat, statistics, RESTful Management interface
  21. 21. 27Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Application To Database Interaction
  22. 22. 28Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Scale & Availability with Couchbase  Scale on demand with automatic partitioning and rebalancing  Build always-available apps with memory-to-memory replication and automatic failover  Simplify development with topology aware clients and direct communication
  23. 23. 29Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Modern Architecture – Multi-Dimensional Scaling MDS is the architecture that enables independent scaling of data, query, and indexing workloads while being managed as one cluster.
  24. 24. 30Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Modern Architecture – Multi-Dimensional Scaling
  25. 25. 31Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Modern Architecture – Multi-Dimensional Scaling
  26. 26. 32Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Cross Data Center Replication
  27. 27. 33Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase Full Stack Security Client Tier Mobile Client Web Client Embedded System Data Tier Web Services Middle Tier COUCHBASE LITE SYNC GATEWAY COUCHBASE SERVER Internet Intranet 1 Local Storage Full Database AES-256 Encryption Role-Based Access Control and Secure Data Storage 4 2 Secure Transport Over Wire 3 Pluggable Authentication and Role-Based Access Control 2 Secure Transport Over Wire 5 Geo-Fencing with Secure, Filtered XDCR
  28. 28. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Reference Architectures
  29. 29. 35Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Reference Architecture: Start with Caching User Requests Cache Misses and Write Requests RDBMS Application Layer Couchbase Read-Write Requests
  30. 30. 36Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Reference Architecture: Replicate Geographically New York London Tokyo Bi-directional XDCR
  31. 31. 37Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Reference Architecture: Aggregate other Data Stores Event BusData Sources Ingestion / Enrichment Couchbase Cluster … Couchbase Cluster … Other Data Stores Applications
  32. 32. 38Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Reference Architecture: Mobilize Batch Loader Mobile Apps Couchbase Server … Other DBs Sync Gateway Web Apps Change Listener Direct REST COUCHBASE LITE
  33. 33. 39Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Next Steps Learn More: https://www.couchbase.com/ Download: https://www.couchbase.com/downloads Free Online Training: https://www.couchbase.com/training Contact Us: info@couchbase.com
  34. 34. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. THANK YOU

×