imc summit 2016 innovation - dennis duckworth - lambda-b-gone: the in-memory case study for faster,...

17
LAMBDA-B-GONE: IN-MEMORY CASE STUDY FOR FASTER, SMARTER AND SIMPLER ANSWERS DENNIS DUCKWORTH VOLTDB See all the presentations from the In-Memory Computing Summit at http://imcsummit.org

Upload: in-memory-computing-summit

Post on 09-Jan-2017

67 views

Category:

Data & Analytics


1 download

TRANSCRIPT

Page 1: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

LAMBDA-B-GONE: IN-MEMORY CASE STUDY FOR FASTER, SMARTER AND SIMPLER ANSWERS

DENNIS DUCKWORTHVOLTDB See all the presentations from the In-Memory

Computing Summit at http://imcsummit.org

Page 2: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

VOLTDB An operational database purpose-built to run 100% in-

memory at web scale In-Memory Relational, SQL, fully ACID compliantScale-out on commodity hardwareReliability, HA, fault tolerant Integration with OLAP, Hadoop, DW Best use cases: operational and transactional workloads

Page 3: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

ORIGINAL LAMBDA ARCHITECTURE

Page 4: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

VOLTDB-IMPROVED VERSION OF LAMBDA ARCHITECTURE

Page 5: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

CASE STUDY

5

Content Delivery Network Service Provider

Business challenges:- Real-time analytics for customers- Data accuracy: over/under billing- Scalability

Page 6: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

SQL interface unlike Trident or Spark-Streaming Merges the good things of the old-world like SQL and transactions

with the good things of the new world like ‘no-locks’, ‘k-factor’ HA, etc….

Very simple and intuitive API and usage k-factor + logs + snapshots eliminates the need to backup the

system Fast query performance Horizontal scalability

MAXCDN FINDINGS: VOLTDB ADVANTAGES

Page 7: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

MAXCDN FINDINGS: VOLTDB ADVANTAGES

Page 8: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

MAXCDN RESULTS

8

Simplified system architecture

1/10th the compute resources

100% budget accuracy, eliminated $$$ under/over spending

Faster time to value“We chose to go with VoltDB over other streaming aggregate solutions (like Trident) for its SQL interface, real-time Ad-Hoc queries over our raw data, and simpler overall design”Behzad Pirvali, Architect, MaxCDN

Page 10: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

AMAZON DYNAMODB

Page 11: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

AMAZON DYNAMODB + AWS LAMBDA + KINESIS FIREHOSE + S3 + REDSHIFT

Page 12: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

AMAZON DYNAMODB + AWS LAMBDA + KINESIS FIREHOSE + S3 + REDSHIFT + SPARK + SPARK STREAMING +

Page 13: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

AMAZON DYNAMODB + AWS LAMBDA + KINESIS FIREHOSE + S3 + REDSHIFT + SPARK + SPARK STREAMING IGNITE + KCL

Page 14: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

VOLTDB-IMPROVED VERSION OF LAMBDA ARCHITECTURE

Page 15: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

VOLTDB-IMPROVED VERSION OF LAMBDA ARCHITECTURE

Page 16: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

ONE LAST THOUGHT: WORD OF THE DAY

IDEMPOTENCETHE PROPERTY OF CERTAIN OPERATIONS IN MATHEMATICS AND

COMPUTER SCIENCE, THAT CAN BE APPLIED MULTIPLE TIMES WITHOUT CHANGING THE RESULT BEYOND THE INITIAL

APPLICATION.

Page 17: IMC Summit 2016 Innovation - Dennis Duckworth - Lambda-B-Gone: The In-memory Case Study for Faster, Smarter and Simpler Answers

DONE - THANK YOU

If you want to talk about how real transactions (and idempotence) can help you, come see us.

http://voltdb.com

@[email protected]

all images from wikimedia w/ cc license unless otherwise noted