nosql nolimits – couchbase live new york 2015

Post on 16-Apr-2017

479 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

NoSQLNoLimitsDoug Laird

Chief Marketing Officer

CouchbaseLive

WELCOME!

Who will be the Amazon of your industry?

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%

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

NoSQLNoLimitsRavi Mayuram

Senior Vice President, Engineering and Products

CouchbaseLive

OVER 3 BILLION USERS

ON OVER 14 BILLION DEVICES

ONLINE OVER 5 HOURS EACH DAY

OVER 3 BILLION USERS

ON OVER 14 BILLION DEVICES

ONLINE OVER 5 HOURS EACH DAYPOWERED BY WEB, MOBILE & IOT APPLICATIONS

AGILE

SCALABLE

AGILE

SCALABLEDEVELOPERS

MODEL DATA

QUERY DATA

MODEL DATA

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

QUERY DATA

SQL

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

PERFORMANCE

SCALEOPERATIONS

Secondary indexing – title is performance

SECONDARY INDEXING

SCALE UP

SCALE UPSCALE OUT

SCALE OUTQUERY DATA INDEX

MULTI-DIMENSIONAL SCALING

QUERY DATA INDEX

MULTI-DIMENSIONAL SCALING

OPERATIONSDEVELOPERS

I N T R O D U C I N G

Couchbase Server 4.0Available Today

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

Couchbase Server 3.0

SCALABILITY

AGILITY

Couchbase Server 3.0Couchbase Server 4.0

COUCHBASE SERVER 4.0

EARLY ADOPTERS

Couchbase Server 4.0

top related