nosql nolimits – couchbase live new york 2015
TRANSCRIPT
![Page 1: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/1.jpg)
NoSQLNoLimitsDoug Laird
Chief Marketing Officer
CouchbaseLive
![Page 2: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/2.jpg)
WELCOME!
![Page 3: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/3.jpg)
Who will be the Amazon of your industry?
![Page 4: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/4.jpg)
TOP 10 INDUSTRIES ATTENDING COUCHBASE LIVE NY
Finance 26%Technology 26%Travel 10%Media 8%Healthcare 8%Manufacturing 7%Communications 6%Retail 5%Education 3%Government 2%
![Page 5: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/5.jpg)
BANKING CHANNELS OVER THE YEARS
1995 2000 2005 2010 2014
100%90%80%70%60%50%40%30%20%10%
BRANCH BANKING
ONLINE BANKINGMOBILE BANKING
![Page 6: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/6.jpg)
NoSQLNoLimitsRavi Mayuram
Senior Vice President, Engineering and Products
CouchbaseLive
![Page 7: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/7.jpg)
OVER 3 BILLION USERS
ON OVER 14 BILLION DEVICES
ONLINE OVER 5 HOURS EACH DAY
![Page 8: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/8.jpg)
OVER 3 BILLION USERS
ON OVER 14 BILLION DEVICES
ONLINE OVER 5 HOURS EACH DAYPOWERED BY WEB, MOBILE & IOT APPLICATIONS
![Page 9: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/9.jpg)
AGILE
SCALABLE
![Page 10: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/10.jpg)
AGILE
SCALABLEDEVELOPERS
MODEL DATA
QUERY DATA
![Page 11: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/11.jpg)
MODEL DATA
![Page 12: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/12.jpg)
DATA MODELING: RIGID OR FLEXIBLE?
RELATIONALDOCUMENT
VS.
OrdersLineItems
Customers
Contacts
History
• 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
• Aggregates & normalizes data into single document
• Handles structured & unstructured data equally well
• Inferred schema requires no migration
• JSON rapidly being adopted
OrderDateCustomerID
Orders Customers
LineItems
IDName
Contacts HistoryTransformRelation
![Page 13: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/13.jpg)
QUERY DATA
![Page 14: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/14.jpg)
SQL
![Page 15: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/15.jpg)
Find High-Value Customers with Orders > $10,000
API QUERYN1QL QUERY
VS.
• Proven and expressive query language
• Leverage SQL skills and ecosystem
• Extended for JSON
• Complex codes and logic
• Inefficient processing on client side
Query customer objects from
databaseFor each
customer objectFind all the order objects for the
customer
Calculate the total amount for
each order
Sum up the grand total
amount for all orders
If grand total amount >
$10000, Extract customer data
Add customer to the high-value customer list
Sort the high-value customer
list
LOOPING OVER MILLIONS OF CUSTOMERS IN APPLICATION!!!
SELECT Customers.ID, Customers.Name, SUM(OrderLine.Amount)FROM Orders UNNEST Orders.LineItems AS OrderLine
JOIN Customers ON KEYS Orders.CustIDGROUP BY Customers.ID, Customers.NameHAVING SUM(OrderLine.Amount) > 10000ORDER BY SUM(OrderLine.Amount) DESC
![Page 16: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/16.jpg)
PERFORMANCE
SCALEOPERATIONS
![Page 17: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/17.jpg)
Secondary indexing – title is performance
SECONDARY INDEXING
![Page 18: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/18.jpg)
SCALE UP
![Page 19: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/19.jpg)
SCALE UPSCALE OUT
![Page 20: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/20.jpg)
SCALE OUTQUERY DATA INDEX
MULTI-DIMENSIONAL SCALING
![Page 21: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/21.jpg)
QUERY DATA INDEX
MULTI-DIMENSIONAL SCALING
OPERATIONSDEVELOPERS
![Page 22: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/22.jpg)
I N T R O D U C I N G
Couchbase Server 4.0Available Today
![Page 23: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/23.jpg)
A R C H I T E C T U R A L I N N O V A T I O N S
H U G E E N G I N E E R I N G E F F O R T
M A S S I V E C O M M U N I T Y E N G A G E M E N T
E A R L Y P R O D U C T I O N D E P L O Y M E N T S
![Page 24: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/24.jpg)
Couchbase Server 3.0
SCALABILITY
AGILITY
Couchbase Server 3.0Couchbase Server 4.0
COUCHBASE SERVER 4.0
![Page 25: NoSQL NoLimits – Couchbase Live New York 2015](https://reader036.vdocuments.mx/reader036/viewer/2022062401/58f2dd141a28ab17278b45af/html5/thumbnails/25.jpg)
EARLY ADOPTERS
Couchbase Server 4.0