SlideShare a Scribd company logo
1 of 58
Introduction to NoSQL –
Couchbase 4.5 and Couchbase
Mobile 1.2
Cécile Le Pape
Solutions Architect
High-Availability Caching
RDBMS
Application LayerUser Requests
Cache Misses and Write Requests
Read-Write Requests
Couchbase
Distributed Cache
Use Case 1
 Application objects
 Popular search query results
 Session information
 Heavily accessed web landing
pages
High-Availability Caching
 Speed up RDBMS
 Consistently low response times
for document / key lookups
 High-availability 24x7x365
 Replacement for entire caching tier
Data cached in Couchbase? Application characteristic
Use Case 1
http://www.Look.PopularSearchWuerycom
Look Something Search
WEB % of clicks % of clicks
something 56.3 28
DoSomething.com 13.4 25.08
SomethingFishy.org 9.8 14.68
Popular
Use Case 2
Session Store
Session Store
 Extremely fast access to session data
using unique session ID
 Easy scalability to handle fast growing
number of users and user-generated
data
 Always-on functionality for global
user base
Application characteristic
Use Case 2
 Session values or Cookies
(stored as key-value pairs)
 Examples include: items in a shopping
cart, flights selected, search results,
etc.
Data stored in Couchbase?
Use Case 3
Globally Distributed User Profile Store
http://www.ProfileStore.com
e enim nec felis rhoncus, ac volutpat magna blandit. Nunc facilisis turpis eget dolor mollis, id tincidunt dui mattis. Nunc sodales elementum turpis, vel interdum ante congue
quis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.Aliquam erat volutpat. Nullam suscipit diam nec tortor pharetra, vitae
adipiscing dolor pretium. Integer ac porta tortor. Vestibulum imperdiet quam laoreet nisl scelerisque, a tempus tortor tincidunt. Mauris suscipit dui ac urna dignissim, vitae
aliquet velit convallis. Phasellus lobortis felis eu magna vulputate dapibus. Ut ornareut quam a vulputat
ullam et dui odio. Nulla pharetra, velit ac convallis semper, dolor turpis porta nunc, in egestas mauris leo a nisi. Pellentesque fringilla sagittis magna vitae imperdiet. Mauris ac
leo ut tellus aliquet interdum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nunc cursus odio sit amet elit mollis, et sollicitudin lacus accumsan.Nulla facilisi.
Fusce et vehicula sem. Curabitur interdum vestibulum nulla id accumsan.Integer ut tortor in ligula semper vehicula. Vestibulum ut nibh ultrices, venenatis metus at, adipiscing
ipsum. Donec quis consequat lectus.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec a diam tempus, aliquet ipsum eu, vestibulum sapien. Donec eleifend lectus sit
amet luctus facilisis.Morbi porttitor, orci sit amet placerat tempus, nisi justo dictum augue, ac dignissim elit enim eget dolor. Praesent pulvinar ipsum arcu,eu posuere eros
luctus nec. Vestibulum odio eros, ultrices non metus sit amet, tristique malesuada augue. Pellentesque lacinia dolor nec diam eleifend mollis. Vestibulum sit amet ultrices diam.
Aliquam lacinia accumsan eros id hendrerit. Cras placeratlaoreet urna scelerisque rutrum. Duis ornare mi ac augue varius, sit amet accumsan leo lacinia. Vivamus nec egestas
neque. Quisque interdum enim molestie urn.
turpis eget dolor mollis, id tincidunt dui mattis. Nunc
sodales elementum turpis, vel interdum ante congue quis.
Pellentesque habitant morbi tristique senectus et netus et
malesuada
Welcome back Laura!
You have 3 items in your shopping cart
waiting for you.
LOGIN
ID:
PASS:
Globally Distributed User Profile Store
 Extremely fast access to individual profiles
 Always online system as multiple
applications access user profiles
 Flexibility to add and update user
attributes
 Easy scalability to handle fast growing
number of users
 User profile with unique ID
 User setting / preferences
 User’s network
 User application state
Data stored in Couchbase? Application characteristic
Use Case 3
Laura930
********
Data Aggregation
 Flexibility to store any kind of content
 Flexibility to handle schema changes
 Full-text Search across data set
 High speed data ingestion
 Scales horizontally as more content gets
added to the system
 Social media feeds: Twitter, Facebook,
LinkedIn
 Blogs, news, press articles
 Data service feeds: Hoovers, Reuters
 Data form other systems
Data stored in Couchbase? Application characteristic
Use Case 4
in
F
t
NEWS
Blog
Use Case 5
Content and Metadata
Nature, Field, Summer, Farm, Sky, Environment, Landscaped, Gr
ass, Green,Blue, Oilseed,
Rape, Agriculture, Scenics, Land, Spring, Non-Urban
Scene,Environmental, Conservation, Sun, Meadow, Horizon,
Season, Cloud, Landscapes, Travel Locations, Pasture, Cultivated
Land, Stratoshpere, cloudy day, Oliseed Rape, Rural
Scene, Vibrant Color, No People, Beauty In Nature,Gold, Color
Image, Beauty, Idyllic, Multicolored, Yellow, Colors, Cloudscape,
Outdoors, Plant, Sunlight, Horizon Over Land
Content and metadata store
Content and Metadata Store
 Flexibility to store any kind of content
 Fast access to content metadata (most
accessed objects) and content
 Full-text Search across data set
 Scales horizontally as more content gets
added to the system
 Content metadata
 Content: Articles, text
 Landing pages for website
 Digital content: eBooks, magazine,
research material
Data stored in NoSQL? Application characteristic
Use Case 5
http://www.LandingPage.com
ebook
Mag
Macro Trends Driving NoSQL Technology
NoSQL
+ +
More Data More Users Interactive Apps
Why The Digital Economy Needed A New Database Solution
Question: What are the biggest problems with Relational Database that are driving adoption of
NoSQL?
LACK OF
FLEXIBILITY/ HAS
RIGID SCHEMAS
INABILITY
TO SCALE OUT
PERFORMANCE
CHALLENGES
49%
69%
50%
47%
44%
COST
ALL OF THE ABOVE
35%
29%
16%
12%
Agile Development
Hotel Descriptions
Reviews
User Profiles
Reviews points
to users
Hotels points
to reviews
{
“ID”: 1,
“NAME”: “Fairmont
San Francisco”,
…}
{
“REVIEW_ID”: 1,
“REVIEW”: “Loved
Hotel…”,
…}
{
“REVIEW_ID”: 2,
“REVIEW”: “Nice,
but …”,
…}
{
“USER_ID”: 1,
“DISPLAY”: “Ted’s
Trip…”,
…}
{
“USER_ID”: 2,
“DISPLAY”:
“WhatWhat …”,
…}
Must support flexible schemas to make development agile
Must Dynamically Scale Apps to Support Millions of Users
Scalability
RDBMS Scales Up
Get a bigger, more complex server
Users
Application Scales Out
Just add more commodity web servers
Users
System Cost
Application Performance
System Cost
Application Performance
Won’t
scale
beyond
this point
Consumers & Employees Demand Highly Responsive Apps
Performance
Application
layer
RDBMSCache Application
layer
RDBMSCacheCouchbase
Apps Must Now Stay Online 24 x 365
Availability
PERFORMANCE
JSON
JSON
JSON
JSONJSON
24/7
http://www.mypage.com
turpis eget dolor mollis, id tincidunt dui mattis.
Nunc sodales elementum turpis, vel interdum
ante congue quis. Pellentesque habitant morbi
tristique senectus et netus et malesuada
Well, this is embarrassing.
We are having some difficulties and we apologies for the inconvenience.
NoSQL Considerations
NoSQL Considerations
Accessing data
– No standards exist yet
– Typically via SDKs or over HTTP
– Check if the programing language of your choice
is supported.
App Server
App Server
App Server
Consistency
– Consistent only at the document level
– Most documents stores currently don’t support multi-
document transactions
– Analyze your application needs
Availability
– Each node stores active and replica data
(Couchbase)
– Each node is either a master or slave (MongoDB)
NoSQL considerations
Operations
– Monitoring the system
– Backup and restore the system
– Upgrades and maintenance
– Support
App Server
App Server
Client
Ease of Scaling
– Ease of adding and reducing capacity
– Single node type
– App availability on topology changes
Indexing and Querying
– Secondary indexes
– Aggregates Grouping
– Basic querying / Ad hoc querying
 3rd party or user defined structure (Twitter feeds)
 Support for unlimited data growth (Viral apps)
 Data with non-homogenous structure
 Need to quickly and often change data structure
 Variable length documents
 Sparse data records
 Hierarchical data
Where is NoSQL a good fit?
 Low latency critical (ex. 1millisecond)
 High throughput (ex. 200000 ops / sec)
 Large number of users
 Unknown demand with sudden growth of users/data
 Predominantly direct document access
 Read / Mixed / Write heavy workloads
Where is NoSQL a good fit?
21©2014 Couchbase, Inc.
©2015 Couchbase Inc. 22
Why Couchbase
©2015 Couchbase Inc. 23
Key Capabilities
• Multiple data models
• N1QL - SQL-Like query
language
• Multiple indexes
• SDKs, ODBC / JDBC
drivers and frameworks
• Push-button scalability
• Consistent high-performance
• Always on 24x7 with HA - DR
• Easy Administration with Web UI,
Rest API and CLI
Combines the Flexibility of JSON, the Power of SQL and the Scale of
NoSQL
©2015 Couchbase Inc. 24
Couchbase Server Defined
Couchbase Server is the first NoSQL database that enables
you to develop with agility and operate at any scale.
Managed Cache Key-Value Store Document
Database
Embedded
Database
Sync Management
©2015 Couchbase Inc. 25
Digital Economy customers
 1 billion+ user profiles
 Replication across
7 data centers
 740 server nodes
 300K reads, 20K writes
/ sec, sustained
 50M Unique
monthly visitors
 2.5B Monthly page
views
 Replaced SQL Server
and MongoDB
 12TB data
 16M entries every
five minutes
 400K ops/sec. on
four nodes
 1 billion+ documents
 10TB+ data
 Sub-2ooms
response time
©2015 Couchbase Inc. 26
Develop With Agility
©2015 Couchbase Inc. 27
The Power Of The Flexible JSON Schema
Ability to store data in multiple ways
• Denormalized single document, as opposed to normalizing data across multiple table
• Dynamic Schema to add new values when needed
©2015 Couchbase Inc. 28
Accessing Data From Couchbase
Key access using Document
ID
• Operations are extremely fast
with consistent low latency
• Reads and writes are evenly
distributed across Data
Service nodes
• Data is cached in built-in
Managed Caching layer and
stored in persistent storage
layer
Queries using N1QL
• SQL-like : SELECT *
FROM
WHERE/LIKE/GROUP/etc.,
• JOINs
• Powerful Extensions (nest,
unnest) for JSON to
support nested and
hierarchical data structures.
• Multiple access paths –
Views and global
secondary indexes
Views using static queries
• Pre-computed complex
Map-Reduce queries
• Incrementally updated to
power analytics, reporting
and dashboards
• Strong for complex custom
aggregations
©2015 Couchbase Inc. 29
Application To Database Interaction
©2015 Couchbase Inc. 30
N1QL, next generation NoSQL query language
• SQL-like : SELECT * FROM WHERE/LIKE/GROUP/etc.,
• JOINS
• Powerful Extensions (nest, unnest) for JSON to support nested
and hierarchical data structures.
• Multiple access paths – Views and global secondary indexes
• ODBC/JDBC drivers available
©2015 Couchbase Inc. 31
How A JOIN In N1QL Works
©2015 Couchbase Inc. 32
How A JOIN In N1QL Works
©2015 Couchbase Inc. 33
How A JOIN In N1QL Works
©2015 Couchbase Inc. 34
Couchbase Global Indexing Service
• Indexes partitioned
independently from data
• Scaled independent of data
• ForestDB storage engine
cbq> CREATE INDEX purch_customID on purchases(customerID);
cbq> CREATE INDEX purch_type on purchases(type);
©2015 Couchbase Inc. 35
Operate At Any Scale
©2015 Couchbase Inc. 36
Storing And Retrieving Documents
©2015 Couchbase Inc. 37
Couchbase Architecture
• Data Service – builds and maintains
Distributed Secondary Indexes
(MapReduce Views)
• Indexing Engine – builds and
maintains Global Secondary
Indexes
• Query Engine – plans, coordinates,
and executes queries against either
Global or Distributed Indexes
• Cluster Manager – configuration,
heartbeat, statistics, RESTful
Management interface
©2015 Couchbase Inc. 38
Data Service: Writes And Cache Management
APPLICATION SERVER
MANAGED CACHE
DISK
DISK
QUEUE
DOC 1
DOC 2DOC 3DOC 4DOC 5
DOC 1
DOC 2 DOC 3 DOC 4 DOC 5
REPLICATION/
XDCR/
CONNECTORS/
VIEWS/
INDEXING
©2015 Couchbase Inc. 39
Query Execution Flow
1. Application submits
N1QL query
2. Query is parsed,
analyzed and plan is
created
1
2
©2015 Couchbase Inc. 40
Query Execution Flow
3. Query Service makes
request to Index
Service
4. Index Service returns
document keys and
data
3
4
©2015 Couchbase Inc. 41
Query Execution Flow
5. If Covering Index, skip
step 6
6. If filtering is required,
fetch documents from
Data Service56
©2015 Couchbase Inc. 42
Query Execution Flow
7. Apply final logic (e.g.
SORT, ORDER BY)
8. Return formatted
results to application
7
8
©2015 Couchbase Inc. 43
Couchbase Clustering Architecture
©2015 Couchbase Inc. 44
Auto Sharding – Bucket And vBuckets
 A bucket is a logical, unique key space
 Multiple buckets can exist within a single cluster of nodes
 Each bucket has active and replica data sets
(1, 2 or 3 extra copies)
 Each data set has 1024 Virtual Buckets (vBuckets)
 Each vBucket contains 1/1024th portion of the data set
 vBuckets do not have a fixed physical server location
 Mapping between the vBuckets and physical
servers is called the cluster map
 Document IDs (keys) always get hashed to the
same vbucket
 Couchbase SDK’s lookup the vbucket ->
server mapping
©2015 Couchbase Inc. 45
Cluster Map
©2015 Couchbase Inc. 46
Cluster Map
©2015 Couchbase Inc. 47
Data Services – Sharding and Replication
ACTIVE ACTIVE ACTIVE
REPLICA REPLICA REPLICA
Couchbase Server 1 Couchbase Server 2 Couchbase Server 3
ACTIVE ACTIVE
REPLICA REPLICA
Couchbase Server 4 Couchbase Server 5
SHARD
5
SHARD
2
SHARD SHARD
SHARD
4
SHARD SHARD
SHARD
1
SHARD
3
SHARD SHARD
SHARD
4
SHARD
1
SHARD
8
SHARD SHARD SHARD
SHARD
6
SHARD
3
SHARD
2
SHARD SHARD SHARD
SHARD
7
SHARD
9
SHARD
5
SHARD SHARD SHARD
SHARD
7
SHARD
SHARD
6
SHARD
SHARD
8
SHARD
9
SHARD
READ/WRITE/UPDATE
Application has single
logical connection to
cluster (client object)
• Multiple nodes added or
removed at once
• One-click operation
• Incremental movement of
active and replica
vBuckets and data
• Client library updated via
cluster map
• Fully online operation, no
downtime or loss of
performance
• Strong Consistency
enforced at document
level
©2015 Couchbase Inc. 48
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.
©2015 Couchbase Inc. 49
Modern Architecture – Multi-Dimensional Scaling
©2015 Couchbase Inc. 50
Modern Architecture – Multi-Dimensional Scaling
©2015 Couchbase Inc. 51
XDCR: Cluster Topology Aware
©2015 Couchbase Inc. 52
XDCR: Cluster Topology Aware
©2015 Couchbase Inc. 53
What’s new in Couchbase 4.1
Simplified
Development
Connected
Bigdata
Experience
Improved
Performance
Simplified
Security
Compliance
Improved HA &
DR
Easy Admin
Simplified Familiar
and Flexible Query
with N1QL
Full SQL Syntax
through N1QL
(INSERT/UPDATE/
DELETE and MERGE)
Integrated BI with
ODBC/JDBC
Spatial Queries for
Location Aware
Applications
New Frameworks
and Languages
(LINQ,Spring, Go)
Surround Big-data
- Spark SQL
- Spark Streams
- Kafka,
- Sqoop,
- Elastic,
- SOLR
Faster Queries with
Covering Indexes
Prepared Statements
for Low Latency
query execution
Independent Scaling
with Multi-
dimensional Scaling
Global Secondary
Indexes for Snappy
Queries
Faster Reporting and
Interactive Analytics
with Views Queries
…and more
Integrated Enterprise
Identity
Management with
LDAP Integration
Security Forensics
with Admin Auditing
Improved Data
Protection with
Lower latency XDCR
High Performance
Global Data
Distribution with
XDCR Filtering
Deployment with
High Performance
Containers: Docker
Expanded Public and
Private Cloud
Support
- AWS,
- Google,
- Azure,
- Joyent,
- Cisco,
- Verizon
New Enterprise
Platforms
- SUSE
- Oracle Ent.Linux
©2015 Couchbase Inc. 54
What’s new in Couchbase 4.5
Simplified
Development
Improved
Performance
Improved
HA & DR
Simplified
Security
Compliance
Easy
Dev-Ops
• Simplified N1QL Query
Development with
Integrated Query
Workbench and Powerful
Query Shell
• Sub-Document Updates
for Improved
Performance and
Efficiency
• Batch Mutations through
N1QL (INSERT, UPDATE,
DELETE and MERGE)
• Integrated Full-text
Search [Preview]
• Memory-Optimized
Global Indexes for Snappy
Queries
• High Performance Read-
Your-Own-Write
Consistency with N1QL
• Faster Array operations
with Powerful Array
Indexing
• Extended JOIN
Operations for flexible
cross document
operations
• Faster Queries with
Covering Indexes &
Prepared Statements
• Improved Compaction
Management with
Circular Reuse
• High Scale
Backup/Restore for the
Enterprise
• Last Writer Wins Conflict
Resolution with XDCR
[Preview]
• Role Based Access Control
for Admins
• Certificate Based
Encryption (X509 Certs)
• Docker Support:
Deployment with High
Performance Containers
• Support for Debian 8 and
RedHat Openshift
• Enhanced Clustering for
Large Clusters (>100
Nodes)
©2015 Couchbase Inc. 55
Couchbase Mobile
©2015 Couchbase Inc. 56
What Is Couchbase Mobile?
• Faster development cycles
• Less long term maintenance than
traditional solutions
• Enterprise class mobile/embedded NoSQL
database + sync platform
• Fast and consistent access to data
• Removed continual network dependency
©2015 Couchbase Inc. 57
What’s new in Couchbase Mobile 1.2
 Sync Gateway new features
– POST /{db}/_compact
– POST /{db}/_purge
– POST /{db}/_offline
– POST /{db}/_online
 Sync Gateway internally backed up by CBGT
 Couchbase Lite
– ForestDB Storage Engine (Developer Preview) - Preview the speed of our
new ForestDB storage engine.
– Database Encryption - AES-256 on-disk encryption with your choice of
provided storage library: SQLCipher or ForestDB.
– Improved Performance - Sync protocol enhancements, compression
optimizations, and lower memory usage
Thank you
Q&A

More Related Content

What's hot

How companies use NoSQL and Couchbase - NoSQL Now 2013
How companies use NoSQL and Couchbase - NoSQL Now 2013How companies use NoSQL and Couchbase - NoSQL Now 2013
How companies use NoSQL and Couchbase - NoSQL Now 2013Dipti Borkar
 
How companies use NoSQL and Couchbase
How companies use NoSQL and CouchbaseHow companies use NoSQL and Couchbase
How companies use NoSQL and CouchbaseDipti Borkar
 
SQL Server 2017 Machine Learning Services
SQL Server 2017 Machine Learning ServicesSQL Server 2017 Machine Learning Services
SQL Server 2017 Machine Learning ServicesSorin Peste
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformBob Ward
 
Sql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowSql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowBob Ward
 
SQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsMike Broberg
 
Cloudant Overview Bluemix Meetup from Lisa Neddam
Cloudant Overview Bluemix Meetup from Lisa NeddamCloudant Overview Bluemix Meetup from Lisa Neddam
Cloudant Overview Bluemix Meetup from Lisa NeddamRomeo Kienzler
 
Enterprise Architect's view of Couchbase 4.0 with N1QL
Enterprise Architect's view of Couchbase 4.0 with N1QLEnterprise Architect's view of Couchbase 4.0 with N1QL
Enterprise Architect's view of Couchbase 4.0 with N1QLKeshav Murthy
 
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part20812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2Raul Chong
 
Microservices - Is it time to breakup?
Microservices - Is it time to breakup? Microservices - Is it time to breakup?
Microservices - Is it time to breakup? Dave Nielsen
 
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...Data Con LA
 
Getting Started with Hadoop
Getting Started with HadoopGetting Started with Hadoop
Getting Started with HadoopCloudera, Inc.
 
HBaseCon 2012 | Building a Large Search Platform on a Shoestring Budget
HBaseCon 2012 | Building a Large Search Platform on a Shoestring BudgetHBaseCon 2012 | Building a Large Search Platform on a Shoestring Budget
HBaseCon 2012 | Building a Large Search Platform on a Shoestring BudgetCloudera, Inc.
 
What's new in SQL Server 2017
What's new in SQL Server 2017What's new in SQL Server 2017
What's new in SQL Server 2017Hasan Savran
 
HBaseCon 2013: Rebuilding for Scale on Apache HBase
HBaseCon 2013: Rebuilding for Scale on Apache HBaseHBaseCon 2013: Rebuilding for Scale on Apache HBase
HBaseCon 2013: Rebuilding for Scale on Apache HBaseCloudera, Inc.
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep divelucenerevolution
 
MongoDB at eBay
MongoDB at eBayMongoDB at eBay
MongoDB at eBayMongoDB
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 

What's hot (20)

How companies use NoSQL and Couchbase - NoSQL Now 2013
How companies use NoSQL and Couchbase - NoSQL Now 2013How companies use NoSQL and Couchbase - NoSQL Now 2013
How companies use NoSQL and Couchbase - NoSQL Now 2013
 
NoSQL_Night
NoSQL_NightNoSQL_Night
NoSQL_Night
 
How companies use NoSQL and Couchbase
How companies use NoSQL and CouchbaseHow companies use NoSQL and Couchbase
How companies use NoSQL and Couchbase
 
SQL Server 2017 Machine Learning Services
SQL Server 2017 Machine Learning ServicesSQL Server 2017 Machine Learning Services
SQL Server 2017 Machine Learning Services
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data Platform
 
Sql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowSql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should know
 
SQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 Questions
 
Cloudant Overview Bluemix Meetup from Lisa Neddam
Cloudant Overview Bluemix Meetup from Lisa NeddamCloudant Overview Bluemix Meetup from Lisa Neddam
Cloudant Overview Bluemix Meetup from Lisa Neddam
 
Enterprise Architect's view of Couchbase 4.0 with N1QL
Enterprise Architect's view of Couchbase 4.0 with N1QLEnterprise Architect's view of Couchbase 4.0 with N1QL
Enterprise Architect's view of Couchbase 4.0 with N1QL
 
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part20812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
 
Microservices - Is it time to breakup?
Microservices - Is it time to breakup? Microservices - Is it time to breakup?
Microservices - Is it time to breakup?
 
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...
Big Data Day LA 2015 - Introducing N1QL: SQL for Documents by Jeff Morris of ...
 
Getting Started with Hadoop
Getting Started with HadoopGetting Started with Hadoop
Getting Started with Hadoop
 
HBaseCon 2012 | Building a Large Search Platform on a Shoestring Budget
HBaseCon 2012 | Building a Large Search Platform on a Shoestring BudgetHBaseCon 2012 | Building a Large Search Platform on a Shoestring Budget
HBaseCon 2012 | Building a Large Search Platform on a Shoestring Budget
 
What's new in SQL Server 2017
What's new in SQL Server 2017What's new in SQL Server 2017
What's new in SQL Server 2017
 
HBaseCon 2013: Rebuilding for Scale on Apache HBase
HBaseCon 2013: Rebuilding for Scale on Apache HBaseHBaseCon 2013: Rebuilding for Scale on Apache HBase
HBaseCon 2013: Rebuilding for Scale on Apache HBase
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep dive
 
Allyourbase
AllyourbaseAllyourbase
Allyourbase
 
MongoDB at eBay
MongoDB at eBayMongoDB at eBay
MongoDB at eBay
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 

Viewers also liked

Utilizing Arrays: Modeling, Querying and Indexing
Utilizing Arrays: Modeling, Querying and IndexingUtilizing Arrays: Modeling, Querying and Indexing
Utilizing Arrays: Modeling, Querying and IndexingKeshav Murthy
 
Understanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesKeshav Murthy
 
Query in Couchbase. N1QL: SQL for JSON
Query in Couchbase.  N1QL: SQL for JSONQuery in Couchbase.  N1QL: SQL for JSON
Query in Couchbase. N1QL: SQL for JSONKeshav Murthy
 
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLBringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLKeshav Murthy
 
N1QL workshop: Indexing & Query turning.
N1QL workshop: Indexing & Query turning.N1QL workshop: Indexing & Query turning.
N1QL workshop: Indexing & Query turning.Keshav Murthy
 
Tuning for Performance: indexes & Queries
Tuning for Performance: indexes & QueriesTuning for Performance: indexes & Queries
Tuning for Performance: indexes & QueriesKeshav Murthy
 
Deep dive into N1QL: SQL for JSON: Internals and power features.
Deep dive into N1QL: SQL for JSON: Internals and power features.Deep dive into N1QL: SQL for JSON: Internals and power features.
Deep dive into N1QL: SQL for JSON: Internals and power features.Keshav Murthy
 
Couchbase @ Big Data France 2016
Couchbase @ Big Data France 2016Couchbase @ Big Data France 2016
Couchbase @ Big Data France 2016Cecile Le Pape
 
SDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedSDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedKorea Sdec
 
Accelerating analytics on the Sensor and IoT Data.
Accelerating analytics on the Sensor and IoT Data. Accelerating analytics on the Sensor and IoT Data.
Accelerating analytics on the Sensor and IoT Data. Keshav Murthy
 

Viewers also liked (11)

Drilling on JSON
Drilling on JSONDrilling on JSON
Drilling on JSON
 
Utilizing Arrays: Modeling, Querying and Indexing
Utilizing Arrays: Modeling, Querying and IndexingUtilizing Arrays: Modeling, Querying and Indexing
Utilizing Arrays: Modeling, Querying and Indexing
 
Understanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune Queries
 
Query in Couchbase. N1QL: SQL for JSON
Query in Couchbase.  N1QL: SQL for JSONQuery in Couchbase.  N1QL: SQL for JSON
Query in Couchbase. N1QL: SQL for JSON
 
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLBringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
 
N1QL workshop: Indexing & Query turning.
N1QL workshop: Indexing & Query turning.N1QL workshop: Indexing & Query turning.
N1QL workshop: Indexing & Query turning.
 
Tuning for Performance: indexes & Queries
Tuning for Performance: indexes & QueriesTuning for Performance: indexes & Queries
Tuning for Performance: indexes & Queries
 
Deep dive into N1QL: SQL for JSON: Internals and power features.
Deep dive into N1QL: SQL for JSON: Internals and power features.Deep dive into N1QL: SQL for JSON: Internals and power features.
Deep dive into N1QL: SQL for JSON: Internals and power features.
 
Couchbase @ Big Data France 2016
Couchbase @ Big Data France 2016Couchbase @ Big Data France 2016
Couchbase @ Big Data France 2016
 
SDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedSDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speed
 
Accelerating analytics on the Sensor and IoT Data.
Accelerating analytics on the Sensor and IoT Data. Accelerating analytics on the Sensor and IoT Data.
Accelerating analytics on the Sensor and IoT Data.
 

Similar to Introduction to NoSQL and Couchbase

Architecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplicationsArchitecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplicationsPrashanth Panduranga
 
Choosing technologies for a big data solution in the cloud
Choosing technologies for a big data solution in the cloudChoosing technologies for a big data solution in the cloud
Choosing technologies for a big data solution in the cloudJames Serra
 
Running a Megasite on Microsoft Technologies
Running a Megasite on Microsoft TechnologiesRunning a Megasite on Microsoft Technologies
Running a Megasite on Microsoft Technologiesgoodfriday
 
Amazon ElastiCache (Dan Zamansky) - AWS DB Day
Amazon ElastiCache (Dan Zamansky) - AWS DB DayAmazon ElastiCache (Dan Zamansky) - AWS DB Day
Amazon ElastiCache (Dan Zamansky) - AWS DB DayAmazon Web Services Korea
 
Cloud-Native Data: What data questions to ask when building cloud-native apps
Cloud-Native Data: What data questions to ask when building cloud-native appsCloud-Native Data: What data questions to ask when building cloud-native apps
Cloud-Native Data: What data questions to ask when building cloud-native appsVMware Tanzu
 
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Amazon Web Services
 
Containerizing couchbase with microservice architecture on mesosphere.pptx
Containerizing couchbase with microservice architecture on mesosphere.pptxContainerizing couchbase with microservice architecture on mesosphere.pptx
Containerizing couchbase with microservice architecture on mesosphere.pptxRavi Yadav
 
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and Clouds
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and CloudsArchitecting a Heterogeneous Data Platform Across Clusters, Regions, and Clouds
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and CloudsAlluxio, Inc.
 
Scaling Slack - The Good, the Unexpected, and the Road Ahead
Scaling Slack - The Good, the Unexpected, and the Road AheadScaling Slack - The Good, the Unexpected, and the Road Ahead
Scaling Slack - The Good, the Unexpected, and the Road AheadC4Media
 
Cloud Computing:An Economic Solution for Libraries
Cloud Computing:An Economic Solution for LibrariesCloud Computing:An Economic Solution for Libraries
Cloud Computing:An Economic Solution for LibrariesAmit Shaw
 
How to Radically Simplify Your Business Data Management
How to Radically Simplify Your Business Data ManagementHow to Radically Simplify Your Business Data Management
How to Radically Simplify Your Business Data ManagementClusterpoint
 
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers Red_Hat_Storage
 
MongoDB and In-Memory Computing
MongoDB and In-Memory ComputingMongoDB and In-Memory Computing
MongoDB and In-Memory ComputingDylan Tong
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010DavidGristwood
 
ABD210 deloitte amtrak case study
ABD210 deloitte amtrak case studyABD210 deloitte amtrak case study
ABD210 deloitte amtrak case studyAmazon Web Services
 
Mmckeown hadr that_conf
Mmckeown hadr that_confMmckeown hadr that_conf
Mmckeown hadr that_confMike McKeown
 
Introduction to Cloud Service Design
Introduction to Cloud Service DesignIntroduction to Cloud Service Design
Introduction to Cloud Service Designevancmiller
 
The BUsiness of Windows Azure Platform
The BUsiness of Windows Azure PlatformThe BUsiness of Windows Azure Platform
The BUsiness of Windows Azure PlatformDan Moore
 
Data Treatment MongoDB
Data Treatment MongoDBData Treatment MongoDB
Data Treatment MongoDBNorberto Leite
 

Similar to Introduction to NoSQL and Couchbase (20)

Architecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplicationsArchitecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplications
 
Choosing technologies for a big data solution in the cloud
Choosing technologies for a big data solution in the cloudChoosing technologies for a big data solution in the cloud
Choosing technologies for a big data solution in the cloud
 
Running a Megasite on Microsoft Technologies
Running a Megasite on Microsoft TechnologiesRunning a Megasite on Microsoft Technologies
Running a Megasite on Microsoft Technologies
 
Amazon ElastiCache (Dan Zamansky) - AWS DB Day
Amazon ElastiCache (Dan Zamansky) - AWS DB DayAmazon ElastiCache (Dan Zamansky) - AWS DB Day
Amazon ElastiCache (Dan Zamansky) - AWS DB Day
 
Cloud-Native Data: What data questions to ask when building cloud-native apps
Cloud-Native Data: What data questions to ask when building cloud-native appsCloud-Native Data: What data questions to ask when building cloud-native apps
Cloud-Native Data: What data questions to ask when building cloud-native apps
 
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
 
Containerizing couchbase with microservice architecture on mesosphere.pptx
Containerizing couchbase with microservice architecture on mesosphere.pptxContainerizing couchbase with microservice architecture on mesosphere.pptx
Containerizing couchbase with microservice architecture on mesosphere.pptx
 
Enterprise & Media Storage in the Cloud
Enterprise & Media Storage in the CloudEnterprise & Media Storage in the Cloud
Enterprise & Media Storage in the Cloud
 
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and Clouds
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and CloudsArchitecting a Heterogeneous Data Platform Across Clusters, Regions, and Clouds
Architecting a Heterogeneous Data Platform Across Clusters, Regions, and Clouds
 
Scaling Slack - The Good, the Unexpected, and the Road Ahead
Scaling Slack - The Good, the Unexpected, and the Road AheadScaling Slack - The Good, the Unexpected, and the Road Ahead
Scaling Slack - The Good, the Unexpected, and the Road Ahead
 
Cloud Computing:An Economic Solution for Libraries
Cloud Computing:An Economic Solution for LibrariesCloud Computing:An Economic Solution for Libraries
Cloud Computing:An Economic Solution for Libraries
 
How to Radically Simplify Your Business Data Management
How to Radically Simplify Your Business Data ManagementHow to Radically Simplify Your Business Data Management
How to Radically Simplify Your Business Data Management
 
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
 
MongoDB and In-Memory Computing
MongoDB and In-Memory ComputingMongoDB and In-Memory Computing
MongoDB and In-Memory Computing
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
 
ABD210 deloitte amtrak case study
ABD210 deloitte amtrak case studyABD210 deloitte amtrak case study
ABD210 deloitte amtrak case study
 
Mmckeown hadr that_conf
Mmckeown hadr that_confMmckeown hadr that_conf
Mmckeown hadr that_conf
 
Introduction to Cloud Service Design
Introduction to Cloud Service DesignIntroduction to Cloud Service Design
Introduction to Cloud Service Design
 
The BUsiness of Windows Azure Platform
The BUsiness of Windows Azure PlatformThe BUsiness of Windows Azure Platform
The BUsiness of Windows Azure Platform
 
Data Treatment MongoDB
Data Treatment MongoDBData Treatment MongoDB
Data Treatment MongoDB
 

Recently uploaded

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456KiaraTiradoMicha
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 

Recently uploaded (20)

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Introduction to NoSQL and Couchbase

  • 1. Introduction to NoSQL – Couchbase 4.5 and Couchbase Mobile 1.2 Cécile Le Pape Solutions Architect
  • 2. High-Availability Caching RDBMS Application LayerUser Requests Cache Misses and Write Requests Read-Write Requests Couchbase Distributed Cache Use Case 1
  • 3.  Application objects  Popular search query results  Session information  Heavily accessed web landing pages High-Availability Caching  Speed up RDBMS  Consistently low response times for document / key lookups  High-availability 24x7x365  Replacement for entire caching tier Data cached in Couchbase? Application characteristic Use Case 1 http://www.Look.PopularSearchWuerycom Look Something Search WEB % of clicks % of clicks something 56.3 28 DoSomething.com 13.4 25.08 SomethingFishy.org 9.8 14.68 Popular
  • 5. Session Store  Extremely fast access to session data using unique session ID  Easy scalability to handle fast growing number of users and user-generated data  Always-on functionality for global user base Application characteristic Use Case 2  Session values or Cookies (stored as key-value pairs)  Examples include: items in a shopping cart, flights selected, search results, etc. Data stored in Couchbase?
  • 6. Use Case 3 Globally Distributed User Profile Store
  • 7. http://www.ProfileStore.com e enim nec felis rhoncus, ac volutpat magna blandit. Nunc facilisis turpis eget dolor mollis, id tincidunt dui mattis. Nunc sodales elementum turpis, vel interdum ante congue quis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.Aliquam erat volutpat. Nullam suscipit diam nec tortor pharetra, vitae adipiscing dolor pretium. Integer ac porta tortor. Vestibulum imperdiet quam laoreet nisl scelerisque, a tempus tortor tincidunt. Mauris suscipit dui ac urna dignissim, vitae aliquet velit convallis. Phasellus lobortis felis eu magna vulputate dapibus. Ut ornareut quam a vulputat ullam et dui odio. Nulla pharetra, velit ac convallis semper, dolor turpis porta nunc, in egestas mauris leo a nisi. Pellentesque fringilla sagittis magna vitae imperdiet. Mauris ac leo ut tellus aliquet interdum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nunc cursus odio sit amet elit mollis, et sollicitudin lacus accumsan.Nulla facilisi. Fusce et vehicula sem. Curabitur interdum vestibulum nulla id accumsan.Integer ut tortor in ligula semper vehicula. Vestibulum ut nibh ultrices, venenatis metus at, adipiscing ipsum. Donec quis consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec a diam tempus, aliquet ipsum eu, vestibulum sapien. Donec eleifend lectus sit amet luctus facilisis.Morbi porttitor, orci sit amet placerat tempus, nisi justo dictum augue, ac dignissim elit enim eget dolor. Praesent pulvinar ipsum arcu,eu posuere eros luctus nec. Vestibulum odio eros, ultrices non metus sit amet, tristique malesuada augue. Pellentesque lacinia dolor nec diam eleifend mollis. Vestibulum sit amet ultrices diam. Aliquam lacinia accumsan eros id hendrerit. Cras placeratlaoreet urna scelerisque rutrum. Duis ornare mi ac augue varius, sit amet accumsan leo lacinia. Vivamus nec egestas neque. Quisque interdum enim molestie urn. turpis eget dolor mollis, id tincidunt dui mattis. Nunc sodales elementum turpis, vel interdum ante congue quis. Pellentesque habitant morbi tristique senectus et netus et malesuada Welcome back Laura! You have 3 items in your shopping cart waiting for you. LOGIN ID: PASS: Globally Distributed User Profile Store  Extremely fast access to individual profiles  Always online system as multiple applications access user profiles  Flexibility to add and update user attributes  Easy scalability to handle fast growing number of users  User profile with unique ID  User setting / preferences  User’s network  User application state Data stored in Couchbase? Application characteristic Use Case 3 Laura930 ********
  • 8. Data Aggregation  Flexibility to store any kind of content  Flexibility to handle schema changes  Full-text Search across data set  High speed data ingestion  Scales horizontally as more content gets added to the system  Social media feeds: Twitter, Facebook, LinkedIn  Blogs, news, press articles  Data service feeds: Hoovers, Reuters  Data form other systems Data stored in Couchbase? Application characteristic Use Case 4 in F t NEWS Blog
  • 9. Use Case 5 Content and Metadata Nature, Field, Summer, Farm, Sky, Environment, Landscaped, Gr ass, Green,Blue, Oilseed, Rape, Agriculture, Scenics, Land, Spring, Non-Urban Scene,Environmental, Conservation, Sun, Meadow, Horizon, Season, Cloud, Landscapes, Travel Locations, Pasture, Cultivated Land, Stratoshpere, cloudy day, Oliseed Rape, Rural Scene, Vibrant Color, No People, Beauty In Nature,Gold, Color Image, Beauty, Idyllic, Multicolored, Yellow, Colors, Cloudscape, Outdoors, Plant, Sunlight, Horizon Over Land Content and metadata store
  • 10. Content and Metadata Store  Flexibility to store any kind of content  Fast access to content metadata (most accessed objects) and content  Full-text Search across data set  Scales horizontally as more content gets added to the system  Content metadata  Content: Articles, text  Landing pages for website  Digital content: eBooks, magazine, research material Data stored in NoSQL? Application characteristic Use Case 5 http://www.LandingPage.com ebook Mag
  • 11. Macro Trends Driving NoSQL Technology NoSQL + + More Data More Users Interactive Apps
  • 12. Why The Digital Economy Needed A New Database Solution Question: What are the biggest problems with Relational Database that are driving adoption of NoSQL? LACK OF FLEXIBILITY/ HAS RIGID SCHEMAS INABILITY TO SCALE OUT PERFORMANCE CHALLENGES 49% 69% 50% 47% 44% COST ALL OF THE ABOVE 35% 29% 16% 12%
  • 13. Agile Development Hotel Descriptions Reviews User Profiles Reviews points to users Hotels points to reviews { “ID”: 1, “NAME”: “Fairmont San Francisco”, …} { “REVIEW_ID”: 1, “REVIEW”: “Loved Hotel…”, …} { “REVIEW_ID”: 2, “REVIEW”: “Nice, but …”, …} { “USER_ID”: 1, “DISPLAY”: “Ted’s Trip…”, …} { “USER_ID”: 2, “DISPLAY”: “WhatWhat …”, …} Must support flexible schemas to make development agile
  • 14. Must Dynamically Scale Apps to Support Millions of Users Scalability RDBMS Scales Up Get a bigger, more complex server Users Application Scales Out Just add more commodity web servers Users System Cost Application Performance System Cost Application Performance Won’t scale beyond this point
  • 15. Consumers & Employees Demand Highly Responsive Apps Performance Application layer RDBMSCache Application layer RDBMSCacheCouchbase
  • 16. Apps Must Now Stay Online 24 x 365 Availability PERFORMANCE JSON JSON JSON JSONJSON 24/7 http://www.mypage.com turpis eget dolor mollis, id tincidunt dui mattis. Nunc sodales elementum turpis, vel interdum ante congue quis. Pellentesque habitant morbi tristique senectus et netus et malesuada Well, this is embarrassing. We are having some difficulties and we apologies for the inconvenience.
  • 18. NoSQL Considerations Accessing data – No standards exist yet – Typically via SDKs or over HTTP – Check if the programing language of your choice is supported. App Server App Server App Server Consistency – Consistent only at the document level – Most documents stores currently don’t support multi- document transactions – Analyze your application needs Availability – Each node stores active and replica data (Couchbase) – Each node is either a master or slave (MongoDB)
  • 19. NoSQL considerations Operations – Monitoring the system – Backup and restore the system – Upgrades and maintenance – Support App Server App Server Client Ease of Scaling – Ease of adding and reducing capacity – Single node type – App availability on topology changes Indexing and Querying – Secondary indexes – Aggregates Grouping – Basic querying / Ad hoc querying
  • 20.  3rd party or user defined structure (Twitter feeds)  Support for unlimited data growth (Viral apps)  Data with non-homogenous structure  Need to quickly and often change data structure  Variable length documents  Sparse data records  Hierarchical data Where is NoSQL a good fit?
  • 21.  Low latency critical (ex. 1millisecond)  High throughput (ex. 200000 ops / sec)  Large number of users  Unknown demand with sudden growth of users/data  Predominantly direct document access  Read / Mixed / Write heavy workloads Where is NoSQL a good fit? 21©2014 Couchbase, Inc.
  • 22. ©2015 Couchbase Inc. 22 Why Couchbase
  • 23. ©2015 Couchbase Inc. 23 Key Capabilities • Multiple data models • N1QL - SQL-Like query language • Multiple indexes • SDKs, ODBC / JDBC drivers and frameworks • Push-button scalability • Consistent high-performance • Always on 24x7 with HA - DR • Easy Administration with Web UI, Rest API and CLI Combines the Flexibility of JSON, the Power of SQL and the Scale of NoSQL
  • 24. ©2015 Couchbase Inc. 24 Couchbase Server Defined Couchbase Server is the first NoSQL database that enables you to develop with agility and operate at any scale. Managed Cache Key-Value Store Document Database Embedded Database Sync Management
  • 25. ©2015 Couchbase Inc. 25 Digital Economy customers  1 billion+ user profiles  Replication across 7 data centers  740 server nodes  300K reads, 20K writes / sec, sustained  50M Unique monthly visitors  2.5B Monthly page views  Replaced SQL Server and MongoDB  12TB data  16M entries every five minutes  400K ops/sec. on four nodes  1 billion+ documents  10TB+ data  Sub-2ooms response time
  • 26. ©2015 Couchbase Inc. 26 Develop With Agility
  • 27. ©2015 Couchbase Inc. 27 The Power Of The Flexible JSON Schema Ability to store data in multiple ways • Denormalized single document, as opposed to normalizing data across multiple table • Dynamic Schema to add new values when needed
  • 28. ©2015 Couchbase Inc. 28 Accessing Data From Couchbase Key access using Document ID • Operations are extremely fast with consistent low latency • Reads and writes are evenly distributed across Data Service nodes • Data is cached in built-in Managed Caching layer and stored in persistent storage layer Queries using N1QL • SQL-like : SELECT * FROM WHERE/LIKE/GROUP/etc., • JOINs • Powerful Extensions (nest, unnest) for JSON to support nested and hierarchical data structures. • Multiple access paths – Views and global secondary indexes Views using static queries • Pre-computed complex Map-Reduce queries • Incrementally updated to power analytics, reporting and dashboards • Strong for complex custom aggregations
  • 29. ©2015 Couchbase Inc. 29 Application To Database Interaction
  • 30. ©2015 Couchbase Inc. 30 N1QL, next generation NoSQL query language • SQL-like : SELECT * FROM WHERE/LIKE/GROUP/etc., • JOINS • Powerful Extensions (nest, unnest) for JSON to support nested and hierarchical data structures. • Multiple access paths – Views and global secondary indexes • ODBC/JDBC drivers available
  • 31. ©2015 Couchbase Inc. 31 How A JOIN In N1QL Works
  • 32. ©2015 Couchbase Inc. 32 How A JOIN In N1QL Works
  • 33. ©2015 Couchbase Inc. 33 How A JOIN In N1QL Works
  • 34. ©2015 Couchbase Inc. 34 Couchbase Global Indexing Service • Indexes partitioned independently from data • Scaled independent of data • ForestDB storage engine cbq> CREATE INDEX purch_customID on purchases(customerID); cbq> CREATE INDEX purch_type on purchases(type);
  • 35. ©2015 Couchbase Inc. 35 Operate At Any Scale
  • 36. ©2015 Couchbase Inc. 36 Storing And Retrieving Documents
  • 37. ©2015 Couchbase Inc. 37 Couchbase Architecture • Data Service – builds and maintains Distributed Secondary Indexes (MapReduce Views) • Indexing Engine – builds and maintains Global Secondary Indexes • Query Engine – plans, coordinates, and executes queries against either Global or Distributed Indexes • Cluster Manager – configuration, heartbeat, statistics, RESTful Management interface
  • 38. ©2015 Couchbase Inc. 38 Data Service: Writes And Cache Management APPLICATION SERVER MANAGED CACHE DISK DISK QUEUE DOC 1 DOC 2DOC 3DOC 4DOC 5 DOC 1 DOC 2 DOC 3 DOC 4 DOC 5 REPLICATION/ XDCR/ CONNECTORS/ VIEWS/ INDEXING
  • 39. ©2015 Couchbase Inc. 39 Query Execution Flow 1. Application submits N1QL query 2. Query is parsed, analyzed and plan is created 1 2
  • 40. ©2015 Couchbase Inc. 40 Query Execution Flow 3. Query Service makes request to Index Service 4. Index Service returns document keys and data 3 4
  • 41. ©2015 Couchbase Inc. 41 Query Execution Flow 5. If Covering Index, skip step 6 6. If filtering is required, fetch documents from Data Service56
  • 42. ©2015 Couchbase Inc. 42 Query Execution Flow 7. Apply final logic (e.g. SORT, ORDER BY) 8. Return formatted results to application 7 8
  • 43. ©2015 Couchbase Inc. 43 Couchbase Clustering Architecture
  • 44. ©2015 Couchbase Inc. 44 Auto Sharding – Bucket And vBuckets  A bucket is a logical, unique key space  Multiple buckets can exist within a single cluster of nodes  Each bucket has active and replica data sets (1, 2 or 3 extra copies)  Each data set has 1024 Virtual Buckets (vBuckets)  Each vBucket contains 1/1024th portion of the data set  vBuckets do not have a fixed physical server location  Mapping between the vBuckets and physical servers is called the cluster map  Document IDs (keys) always get hashed to the same vbucket  Couchbase SDK’s lookup the vbucket -> server mapping
  • 45. ©2015 Couchbase Inc. 45 Cluster Map
  • 46. ©2015 Couchbase Inc. 46 Cluster Map
  • 47. ©2015 Couchbase Inc. 47 Data Services – Sharding and Replication ACTIVE ACTIVE ACTIVE REPLICA REPLICA REPLICA Couchbase Server 1 Couchbase Server 2 Couchbase Server 3 ACTIVE ACTIVE REPLICA REPLICA Couchbase Server 4 Couchbase Server 5 SHARD 5 SHARD 2 SHARD SHARD SHARD 4 SHARD SHARD SHARD 1 SHARD 3 SHARD SHARD SHARD 4 SHARD 1 SHARD 8 SHARD SHARD SHARD SHARD 6 SHARD 3 SHARD 2 SHARD SHARD SHARD SHARD 7 SHARD 9 SHARD 5 SHARD SHARD SHARD SHARD 7 SHARD SHARD 6 SHARD SHARD 8 SHARD 9 SHARD READ/WRITE/UPDATE Application has single logical connection to cluster (client object) • Multiple nodes added or removed at once • One-click operation • Incremental movement of active and replica vBuckets and data • Client library updated via cluster map • Fully online operation, no downtime or loss of performance • Strong Consistency enforced at document level
  • 48. ©2015 Couchbase Inc. 48 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.
  • 49. ©2015 Couchbase Inc. 49 Modern Architecture – Multi-Dimensional Scaling
  • 50. ©2015 Couchbase Inc. 50 Modern Architecture – Multi-Dimensional Scaling
  • 51. ©2015 Couchbase Inc. 51 XDCR: Cluster Topology Aware
  • 52. ©2015 Couchbase Inc. 52 XDCR: Cluster Topology Aware
  • 53. ©2015 Couchbase Inc. 53 What’s new in Couchbase 4.1 Simplified Development Connected Bigdata Experience Improved Performance Simplified Security Compliance Improved HA & DR Easy Admin Simplified Familiar and Flexible Query with N1QL Full SQL Syntax through N1QL (INSERT/UPDATE/ DELETE and MERGE) Integrated BI with ODBC/JDBC Spatial Queries for Location Aware Applications New Frameworks and Languages (LINQ,Spring, Go) Surround Big-data - Spark SQL - Spark Streams - Kafka, - Sqoop, - Elastic, - SOLR Faster Queries with Covering Indexes Prepared Statements for Low Latency query execution Independent Scaling with Multi- dimensional Scaling Global Secondary Indexes for Snappy Queries Faster Reporting and Interactive Analytics with Views Queries …and more Integrated Enterprise Identity Management with LDAP Integration Security Forensics with Admin Auditing Improved Data Protection with Lower latency XDCR High Performance Global Data Distribution with XDCR Filtering Deployment with High Performance Containers: Docker Expanded Public and Private Cloud Support - AWS, - Google, - Azure, - Joyent, - Cisco, - Verizon New Enterprise Platforms - SUSE - Oracle Ent.Linux
  • 54. ©2015 Couchbase Inc. 54 What’s new in Couchbase 4.5 Simplified Development Improved Performance Improved HA & DR Simplified Security Compliance Easy Dev-Ops • Simplified N1QL Query Development with Integrated Query Workbench and Powerful Query Shell • Sub-Document Updates for Improved Performance and Efficiency • Batch Mutations through N1QL (INSERT, UPDATE, DELETE and MERGE) • Integrated Full-text Search [Preview] • Memory-Optimized Global Indexes for Snappy Queries • High Performance Read- Your-Own-Write Consistency with N1QL • Faster Array operations with Powerful Array Indexing • Extended JOIN Operations for flexible cross document operations • Faster Queries with Covering Indexes & Prepared Statements • Improved Compaction Management with Circular Reuse • High Scale Backup/Restore for the Enterprise • Last Writer Wins Conflict Resolution with XDCR [Preview] • Role Based Access Control for Admins • Certificate Based Encryption (X509 Certs) • Docker Support: Deployment with High Performance Containers • Support for Debian 8 and RedHat Openshift • Enhanced Clustering for Large Clusters (>100 Nodes)
  • 55. ©2015 Couchbase Inc. 55 Couchbase Mobile
  • 56. ©2015 Couchbase Inc. 56 What Is Couchbase Mobile? • Faster development cycles • Less long term maintenance than traditional solutions • Enterprise class mobile/embedded NoSQL database + sync platform • Fast and consistent access to data • Removed continual network dependency
  • 57. ©2015 Couchbase Inc. 57 What’s new in Couchbase Mobile 1.2  Sync Gateway new features – POST /{db}/_compact – POST /{db}/_purge – POST /{db}/_offline – POST /{db}/_online  Sync Gateway internally backed up by CBGT  Couchbase Lite – ForestDB Storage Engine (Developer Preview) - Preview the speed of our new ForestDB storage engine. – Database Encryption - AES-256 on-disk encryption with your choice of provided storage library: SQLCipher or ForestDB. – Improved Performance - Sync protocol enhancements, compression optimizations, and lower memory usage

Editor's Notes

  1. KEY POINT: THE TREND TO NOSQL WILL ACCELERATE AS APPLICATIONS ARE GOING TO NEED TO SUPPORT AN EXPLODING NUMBER OF USERS, NUMBER OF DEVICES AND AMOUNT OF TRAFFIC Relational databases were designed to support applications with perhaps hundreds or thousands of users – not hundreds of millions, or even a billion in some cases – and a limited, structured set of data – not terabytes of semi-structured data Relational databases have been around for a long time – 30+ years, and they do some things really well. But they were designed at a very different time, for a different set of requirements – and they struggle to meet the new requirements being driven by the web, mobile, and big data trends: Can’t deliver highly responsive experience that consumers demand online Can’t affordably and easily scale to support millions of user. Relational scales up rather than out – which means you need to add expensive hardware to scale up, rather than scale out on reasonably sized, standard hardware. Can’t manage massive volumes of data at high speed Can’t handle lots of different data types, including unstructured and semi-structured data
  2. Relationnal : - Hundreds or thousands of inter-related tables Handles structured data well, unstructured data poorly Rigid schema requires migrations that can take weeks, months Impedance mismatch with developers NoSQL: Aggregates & denormalizes data into single document Handles structured & unstructured data equally well Inferred schema requires no migration JSON rapidly being adopted
  3. Relationnal: Centralized, scale up architecture with big, expensive servers Manual sharding at app level struggles to support “web scale” High software costs & TCO NoSQL Distributed, scale-out architecture with cluster of low-cost, commodity servers Auto-sharding at database level to support Big Data, Big Users Open source & lower TCO
  4. Relational: Architecture based on “speed of disk” Requires joins across hundreds or thousands of tables High throughput requires very expensive hardware NoSQL (Couchbase) Architecture based on “speed to memory” Faster access to aggregated, de-normalized objects High throughput at low costs with cluster of commodity servers
  5. Relational: Relational systems use clustering as an afterthought Must take database down for “maintenance windows” Struggle to support XDCR replication across many DCs NoSQL: Clustered systems with intra-cluster replication for availability Designed for online software upgrades & maintenance Native master-master XDCR for higher availability
  6. KEY POINTS – WITH THE TOOLS AND FUNCTIONALITY COUCHBASE BRING TO BEAR FOR THE PROSPECT, IT IS IS EASY TO DEVELOP APPLICATIONS BE THEY WEB, MOBILE OR IOT LIKE NEVER BEFORE, BUT STILL PERFORM VERY WELL AND SCALE OUT WITH THE EASE COUCHBASE IS KNOWN FOR. THIS IS WHAT MAKES COUCHBASE SPECIAL. - Really try and drive home the Develop with Agility line and try and define what it means to the customer’s needs. - Operate at any scale is key to be able to explain that we can grow and change with the prospects needs, but still remain easy to to scale, always on and high performance. Later slides all drive home the points on this slide, so do not spend more than two minutes giving a high overview oft this and what makes Couchbase special.
  7. KEY POINT: COUCHBASE HAS YOU COVERED FOR YOUR GENERAL PURPOSE DB NEEDS. FROM CACHING TO KV STORE, TO JSON DOCUMENT STORE, TO MOBILE APPS. NO OTHER NOSQL DB VENDOR HAS THIS BREADTH AND DEPTH OF TECHNOLOGY The purpose of this slide is to discuss the high level concepts of Couchbase, and if the SE wants to discuss what parts of Couchbase make up each concept. It is not to go over specific technologies like N1QL, ODBC, etc
  8. Key Point: Major enterprises across numerous industries are adopting couchbase NoSQL technology to support their data management needs. NoSQL is not just for large Internet companies – Its for everyone now. So who are some of the companies that are actually adopting Couchbase? As this slide shows, major enterprises across many different industries are adopting Couchbase NoSQL solution. You see many innovative Internet companies here – like eBay, LinkedIn, Orbitz, and PayPal. They were the early adopters of NoSQL. But it’s clear that NoSQL is now being adopted by a broad range of companies in many other industries: Consumer electronics and technology companies like Apple and Cisco Retail companies like Walmart and Tesco Financial Services companies like VISA and Wells Fargo Telcos like Verizon, AT&T and Vodafone What’s also interesting is that we’re seeing the use of NoSQL expand inside many of these companies. Orbitz, the online travel company, is a great example – they started using Couchbase to store their hotel rate data, and now they use Couchbase in many other ways. So the big takeaway is that an increasing number of companies across industries are seeing the value of NoSQL for a growing number of use cases.
  9. KEY POINT: YOU HAVE THE OPTION TO REPRESENT DATA QUITE DIFFERENTLY USING JSON AS OPPOSED TO A RELATIONAL DATABASE. - Where in relational databases you might have to have multiple tables to best represent your data, in JSON you can model your data like an object might already be in your programming language of choice. No ORM (Object Relational Model) needed. You can do relationships in Couchbase, but they are different than in a relational database and outside of the scope of an intro call normally. Make sure to stress that normalization is still something that can be done in Couchbase where it makes sense for the application, but this diagram is something that helps people coming from relational understand what is possible for JSON.
  10. KEY POINT: Applications communicate directly to the services they need to fulfil the aplication request and the application does not need to be topology aware as the SDK has that already. Single node type, services defined dynamically One node acts the same as 100, just the services are spread out in the cluster Query service accesses Index and Data to formulate response All query and document access is topology aware and dynamically scalable Develop with one node, deploy against multiple production nodes The Couchbase SDK handles knowing about where in the cluster it needs to go to satisfy whatever the application is requesting, be I CRUD or cluster management.
  11. KEY POINT: N1QL is a marriage of the strengths of the JSON flexible schema with the power and familiarity of SQL.
  12. KEY POINT: N1QL FULLY SUPPORTS JOIN ACROSS DOCUMENTS IN A BUCKET, but it has required criteria to work corrextly JOINs only work on IDs of one object against a value that is that ID in the JSON.
  13. KEY POINT:
  14. KEY POINT:
  15. KEY POINT: GROUND THE USER IN HOW OBJECTs RELATE TO BUCKETS AND THOSE ARE SPREAD ACROSS THE CLUSTER; AS WELL AS HOW THINGS IN THE CLUSTER ARE STACKED PHYSICALLY. Talk to the audience about how documents move in the application at a high level and the relation between data buckets and how they are spread evenly across the cluster. Remember that vBuckets are not in this diagram, but that is on purpose. That comes later and might confuse people at this point. Going over this slide now sets you up for the vBucket discussion later in the presentation. Convey what a bucket is. That it is a logical key space, with its own set of server resources, queues, etc. Make sure to stress that one can have multiple buckets, but to not just create them like you would tables or schemas in a relational database An example of when to split data into different buckets is using Views across different object types. For example, if you have JSON documents and base64 encoded XML documents in the same bucket, a view or index will have to interact with that object even though it will never need it. So it would be better to put the XML into another bucket so the views and indexes are only looking at the JSON data they actually will be indexing.
  16. KEY POINT: EACH COUCHBASE NODE HAS THE SAME SOFTWARE AND THESE ARE THE COMPONENTS. WHETHER THEY TURN THEM ALL ON DEPENDS ON THEIR FUNCTIONAL AND SCALLING NEEDS. Data Node is the heart of the database. Everything interacts with this service to read and write data. It includes a high performance managed cache Index Nodes receive a DCP stream of all changes from the data nodes, but for the N1QL query execution flow are only accessed by the Query Service. Query Service – Holds no data, but accesses indexes on the Indexing Services as well as Views and Data on the Data Service. It exposes a REST API to interface with it and then communicates with the other service as needed to Cluster Manager – Contains the WebUI, REST API and Performs the background tasks of the cluster such as cluster orchestration.
  17. Add lots of notes
  18. Add lots of notes
  19. Add lots of notes
  20. Add lots of notes
  21. Add lots of notes
  22. Add lots of notes
  23. Key Points: MDS provides the ability for cluster administrator to separate the various workloads and tailor the cluster architecture for the application’s scalability and performance needs. This while providing the functionality needed by by the application. Pictured is a possible architecture where all the cluster has been split with the Query and Index Service on different nodes of the cluster. This allows you to not only isolate the workload, but you could have the nodes with the other services with different server configs. For example, the query service needs CPU and RAM and has no storage, but the Index service needs Ram and fast disks. So you could configure these nodes different from the Data Service nodes to tailor performance even further. This is what allows Couchbase to scale with querying. The indexing and query services are eventually consistent by default, but in code can be made to fully
  24. Key Points: MDS provides the ability for cluster administrator to separate the various workloads and tailor the cluster architecture for the application’s scalability and performance needs. This while providing the functionality needed by by the application. Pictured is a possible architecture where all the cluster has been split with the Query and Index Service on different nodes of the cluster. This allows you to not only isolate the workload, but you could have the nodes with the other services with different server configs. For example, the query service needs CPU and RAM and has no storage, but the Index service needs Ram and fast disks. So you could configure these nodes different from the Data Service nodes to tailor performance even further. This is what allows Couchbase to scale with querying. The indexing and query services are eventually consistent by default, but in code can be made to fully
  25. Key Points: MDS provides the ability for cluster administrator to separate the various workloads and tailor the cluster architecture for the application’s scalability and performance needs. This while providing the functionality needed by by the application. Pictured is a possible architecture where all the cluster has been split with the Query and Index Service on different nodes of the cluster. This allows you to not only isolate the workload, but you could have the nodes with the other services with different server configs. For example, the query service needs CPU and RAM and has no storage, but the Index service needs Ram and fast disks. So you could configure these nodes different from the Data Service nodes to tailor performance even further. This is what allows Couchbase to scale with querying. The indexing and query services are eventually consistent by default, but in code can be made to fully
  26. KEY POINT: COUCHBASE ENABLES YOU TO EASILY MEET YOUR HA AND DR REQUIREMENTS WITH MEMORY TO MEMORY REPLICATION BETWEEN TO SEPARATE CLUSTERS. Cross–Data Center Replication to provide an easy yet powerful way to replicate data from one cluster to another for increased high availability, disaster recovery, and geographic load balancing. In Couchbase Server 4.0, we’ve added filtering capabilities to Cross–Data Center Replication (XDCR) in order to significantly reduce the amount of data replicated across data centers. - XDCR Filtering achieves this reduction by replicating only data relevant to the destination. - Couchbase customers no longer need to create many different buckets just to segment data for Cross–Data Center Replication.
  27. KEY POINT: COUCHBASE ENABLES YOU TO EASILY MEET YOUR HA AND DR REQUIREMENTS WITH MEMORY TO MEMORY REPLICATION BETWEEN TO SEPARATE CLUSTERS. Cross–Data Center Replication to provide an easy yet powerful way to replicate data from one cluster to another for increased high availability, disaster recovery, and geographic load balancing. In Couchbase Server 4.0, we’ve added filtering capabilities to Cross–Data Center Replication (XDCR) in order to significantly reduce the amount of data replicated across data centers. - XDCR Filtering achieves this reduction by replicating only data relevant to the destination. - Couchbase customers no longer need to create many different buckets just to segment data for Cross–Data Center Replication.
  28. KEY POINT: THERE ARE THREE CORE COMPONENTS TO THE COUCHBASE MOBILE SOLUTION: 1) COUCHBASE LITE, A LIGHTWEIGHT MOBILE DATABASE THAT RUNS ON THE DEVICE, 2) SYNC GATEWAY, WHICH SECURELY SYNCS DATA BETWEEN YOUR PRIVATE CLOUD AND YOUR PUBLIC CLOUD, AND 3) COUCHBASE SERVER AS THE PRIMARY DATA STORE FOR YOUR APPLICATION Couchbase Lite is a NoSQL mobile database, which means it runs in process with your application, and it has a very small footprint. There are four major elements of Couchbase Lite: 1. It is a document oriented database 2. It provides a Map Reduce query engine 3. It provides a suite of event notifications 4. It provides sync (multi master replication) Sync Gateway handles the boundary between your private data center and your public cloud. When I say private data center, that can still be in a public cloud like EC2 or Azure where you’ve got a number of VMs running. It handles the same cross cutting concerns from your application that you would have in any web-based application: things like Authentication, Authorization, and unique to Sync Gateway: it provides a method of data orchestration. It also only syncs the information that users cares about, and we need a way to programmatically define what that user cares about. And that’s another thing that Sync Gateway does for you. Couchbase Server serves as the primary data store for your application data.