real-time hbase: lessons from the cloud

35
Real-time HBase: Lessons from the Cloud Bryan Beaudreault, @HubSpotDev

Upload: hbasecon

Post on 10-May-2015

1.333 views

Category:

Software


2 download

DESCRIPTION

Speaker: Bryan Beaudreault (HubSpot) Running HBase in real time in the cloud provides an interesting and ever-changing set of challenges -- instance types are not ideal, neighbors can degrade your performance, and instances can randomly die in unanticipated ways. This talk will cover what HubSpot has learned about running in production on Amazon EC2, how it handle DR and redundancy, and the tooling the team has found to be the most helpful.

TRANSCRIPT

Page 1: Real-time HBase: Lessons from the Cloud

Real-time HBase: Lessons from the Cloud

Bryan Beaudreault, @HubSpotDev

Page 2: Real-time HBase: Lessons from the Cloud
Page 3: Real-time HBase: Lessons from the Cloud
Page 4: Real-time HBase: Lessons from the Cloud
Page 5: Real-time HBase: Lessons from the Cloud
Page 6: Real-time HBase: Lessons from the Cloud
Page 7: Real-time HBase: Lessons from the Cloud

You’re doing it WRONG!

Page 8: Real-time HBase: Lessons from the Cloud
Page 9: Real-time HBase: Lessons from the Cloud

Instance types

Network,Neighbors,

Page 10: Real-time HBase: Lessons from the Cloud

PERSPECTIVE:

Consumer/Prospect

Page 11: Real-time HBase: Lessons from the Cloud

PERSPECTIVE:

Consumer/Prospect

Page 12: Real-time HBase: Lessons from the Cloud

PERSPECTIVE:

Consumer/Prospect

Page 13: Real-time HBase: Lessons from the Cloud

PERSPECTIVE:

Consumer/Prospect

Page 14: Real-time HBase: Lessons from the Cloud

Improve reads, limit impact

Page 15: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 16: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 17: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 18: Real-time HBase: Lessons from the Cloud

Over-provision, fail fast

Page 19: Real-time HBase: Lessons from the Cloud

\PERSPECTIVE:

Consumer/Prospect

Page 20: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 21: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 22: Real-time HBase: Lessons from the Cloud
Page 23: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 24: Real-time HBase: Lessons from the Cloud
Page 25: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 26: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 27: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 28: Real-time HBase: Lessons from the Cloud

c1.xlarge

i2.4xlarge

CPU heavy workloadsReduce memory footprintAdd more servers

Excellent, but expensiveUse data encoding to reduce diskUse Java7 and G1 to reduce GCs

m1.xlarge Memory heavy workloadsBeware compactionsMore regions

Page 29: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 30: Real-time HBase: Lessons from the Cloud

cpu fsWriteLatency

fsReadLatencyload

callQueueLen

compactionQueueSizeiowait

steal

heap

locality

requests

memstoreSizeMB

blockCacheHitCachingRatio

flushQueueSize

Page 31: Real-time HBase: Lessons from the Cloud
Page 32: Real-time HBase: Lessons from the Cloud

PERSPECTIVE: Consumer/

Prospect

Page 33: Real-time HBase: Lessons from the Cloud

Master HBase with us.

dev.hubspot.com

Page 34: Real-time HBase: Lessons from the Cloud
Page 35: Real-time HBase: Lessons from the Cloud

Bryan Beaudreault @HubSpotDev