nosql nolimits – couchbase live new york 2015

25
NoSQLNoLimits Doug Laird Chief Marketing Officer CouchbaseLive

Upload: couchbase

Post on 16-Apr-2017

479 views

Category:

Software


0 download

TRANSCRIPT

Page 1: NoSQL NoLimits – Couchbase Live New York 2015

NoSQLNoLimitsDoug Laird

Chief Marketing Officer

CouchbaseLive

Page 2: NoSQL NoLimits – Couchbase Live New York 2015

WELCOME!

Page 3: NoSQL NoLimits – Couchbase Live New York 2015

Who will be the Amazon of your industry?

Page 4: NoSQL NoLimits – Couchbase Live New York 2015

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

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

NoSQLNoLimitsRavi Mayuram

Senior Vice President, Engineering and Products

CouchbaseLive

Page 7: NoSQL NoLimits – Couchbase Live New York 2015

OVER 3 BILLION USERS

ON OVER 14 BILLION DEVICES

ONLINE OVER 5 HOURS EACH DAY

Page 8: NoSQL NoLimits – Couchbase Live New York 2015

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

AGILE

SCALABLE

Page 10: NoSQL NoLimits – Couchbase Live New York 2015

AGILE

SCALABLEDEVELOPERS

MODEL DATA

QUERY DATA

Page 11: NoSQL NoLimits – Couchbase Live New York 2015

MODEL DATA

Page 12: NoSQL NoLimits – Couchbase Live New York 2015

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

QUERY DATA

Page 14: NoSQL NoLimits – Couchbase Live New York 2015

SQL

Page 15: NoSQL NoLimits – Couchbase Live New York 2015

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

PERFORMANCE

SCALEOPERATIONS

Page 17: NoSQL NoLimits – Couchbase Live New York 2015

Secondary indexing – title is performance

SECONDARY INDEXING

Page 18: NoSQL NoLimits – Couchbase Live New York 2015

SCALE UP

Page 19: NoSQL NoLimits – Couchbase Live New York 2015

SCALE UPSCALE OUT

Page 20: NoSQL NoLimits – Couchbase Live New York 2015

SCALE OUTQUERY DATA INDEX

MULTI-DIMENSIONAL SCALING

Page 21: NoSQL NoLimits – Couchbase Live New York 2015

QUERY DATA INDEX

MULTI-DIMENSIONAL SCALING

OPERATIONSDEVELOPERS

Page 22: NoSQL NoLimits – Couchbase Live New York 2015

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

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

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

EARLY ADOPTERS

Couchbase Server 4.0