winning black friday and surviving peak loads – couchbase connect 2016

14
©2016 Couchbase Inc. How To Win Black Friday (or any peak event) 1

Upload: couchbase

Post on 15-Feb-2017

151 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc. 1

How To Win Black Friday(or any peak event)

Page 2: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.

Page 3: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Peak Events are Everywhere

Page 4: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Page 5: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Couchbase was built for peaks 100 Nodes

8TB

of data 3 Billion Documents

2,000,000 operations per second +25% Faster in

4.5

Page 6: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Fail to prepare... ...prepare to fail

Page 7: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.

Simulate Your Peak!

1. Representative ClusterUse test / staging hardwareAlternatively EC2, GCE, Azure…

2. Representative WorkloadOwn ApplicationCouchbase Load Generatore.g. cbc-pillowfight

Page 8: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Plan for the worstNode Failure

Cluster Failover (XDCR)

Backup Procedure

Restart Time

What is breaking point?

Page 9: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Use our Support and Professional Services

Cluster Health CheckExpert Log AnalysisLoad Test GuidanceQuery OptimisationOnsite Supervision

Page 10: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

What tuning is available?

Scale only WHEN you need it

Scale only WHAT you need (“MDS”)

Common tunables:• Capacity (#Nodes, RAM, CPU)• Query Indexes• KV Threads (readers, writers, nonio)

Page 11: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

The Big Event: Monitoring

•Traffic Levels•Response Time•Resource Usage

• Disk, CPU, RAM•Node Status•Disk Queue•XDCR Queues•DCP Queue

Page 12: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

The Big Event: Requesting Help

Available

24 x 7 x 365

30minute

P1 Platinum Response

Page 13: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc.

Page 14: Winning Black Friday and surviving peak loads – Couchbase Connect 2016

©2016 Couchbase Inc. 14

The Digital Economy delivers unprecedented peaks

Couchbase as a technology and a company are built to handle these

Preparation is key to a successful event