26
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Solving Big Data Database Challenges with Redis December 1, 2016 DAT308 Manish Gupta, Jacqueline Hufford-Jensen, George Chiramattel, Kyle Oppenheim

AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

Embed Size (px)

Citation preview

Page 1: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Solving Big Data Database

Challenges with Redis

December 1, 2016

DAT308

Manish Gupta, Jacqueline Hufford-Jensen,

George Chiramattel, Kyle Oppenheim

Page 2: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

2

Panel

Kyle OppenheimVP, Engineering

Jacqueline Hufford-JensenSr Mgr, Database Administration

George ChiramattelPrincipal Engineer

Manish GuptaCMO

Page 3: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

3

Industry Dynamics

Data Complexity

Cloud/Hybrid

Real-Time Insights

Systems of Innovation vs. Systems of Record

Performance

Scalability

Flexibility

Ease of Use

Economic Impact

Technical Talent

250+ Databases

dBaaS / dbPaaS

Managed Services

Multi-model

Memory Flexibility

Macro Drivers Database Challenges Industry ResponseAdvancedMachine Learning

Big Data

Web

CRM

ERP

Page 4: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

4

Introduction

The open source home and commercial provider of Enterprise Redis software and Redis-as-a-Service.

Open source. The leading in-memory database platform, supporting any high-performance operational or analytic use case.

Page 5: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

5

NoSQL Relational

Redis

CassandraMongo

Caching

Key-Value

Search Graph

Oracle

MySQL

Microsoft SQL

PostgreSQL

DB2

Specialized

Redis’ Market Position

is the Home of Redis.

Page 6: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

6

Redis’ Popularity

……..#1 NoSQL in User Satisfaction and Market Presence

……..#1 NoSQL among Top 10 Data Stores

……..#1 database on Docker

#1 NoSQL database deployed in containers

………#1 in growth among top 3 NoSQL databases

………#1 database in skill demand

………# 1 database in Top Paying Technologies

Page 7: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

7

Power of Redis

Simplicity Extensibility Performance

ListsSorted Sets

Hashes Hyperlog-logs

Geospatial Indexes

Bitmaps

SetsStrings

Bit field

NoSQL Benchmark Redis Data Structures Redis Modules

Page 8: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

8

Redis Labs Innovation

INN

OV

ATI

ON

VALUE

Open Source Redis

Enterprise Redis Service

Redis-on-Flash

Redis Modules

SimplicityPerformance

AvailabilityScalability

Deployment Flexibility

Time to MarketResource Efficiency

+ + +

Enterprise Redis OnPrem

Redis Machine Learning

Page 9: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

9

Financial Services

Redis Labs Deployments

Advertising

Media

Technology

Communications

Education

Gaming

Banks

Retail/E-commerce Business Services

Social Travel

60,000 Accounts6600 Enterprise Customers 230K+ Databases 450 Databases/day

Page 10: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

10

Redis Labs Ecosystem

+OSS

Community

Modules

Solutions PaaS

IaaS

Hardware

Services Resellers

Languages & Libraries

Page 11: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

11

Redis Addresses Diverse Use Cases

High-Speed Transactions

Analytics

Time-Series Caching

Data Ingestion Job & QueueGeo Search

Social Functionality

Page 12: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

12

Redis Labs’ Survey Results

What is your Redis use case? What type of solution are you using Redis in?

Page 13: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)
Page 14: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

Consumers Small Businesses Accounting Professionals

Who we serve:

Page 15: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

15

Intuit: Real Time Redis

Why Redis:• Functions as database, message

broker, cache, effortlessly at very high performance

• Highly available, stable performance with very low hardware requirements

• Message broker in mobile

application

• Personalization -

Recommendations engine

• High-performance caching for

API layer

Redis used for:

Intuit Use Cases

Page 16: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

16

Intuit: Internal Redis Use Case

X

X

X

X

Business Challenge

Need to have fast response times from the front end service to the back-end service for the call center system.

Redis Labs Solution Redis is the Primary Data store

Redis is the integration DB and system of record. It stores conversation and appointment state data and lookup information

Conversation service uses Redis to store and access conversation data to support the high load and fast response to the front end while buffering high volumes from the back-end services

Key: Performance, multi-DC replication, and support because this is mission critical

Page 17: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)
Page 18: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

18

LifeLock Use Case

LifeLock: Redis Cost/Performance Wins

Why Redis:• Keystore functionality• High Availability• Cost of Redis• Straightforwardness of

implementation – limited SMEs• Deployed Internally/On-Premises • Session management

• OAuth

• Token-based authentication

• Token-based authorization

Redis used for:

Page 19: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

19

LifeLock: Additional details

Component Interaction

Diagram (Just the OAuth flow)

R1 R3R2

Page 20: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

More than 1 billion units sold

Over $20 billion saved for consumers life-to-date in North America

50 million active customers

60% of transactions on mobile

Page 21: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

21

Groupon: Relying on Redis

Why Redis:• High performance – helps

application stay responsive and scale to handle gigantic Groupon audience

• Versatile, flexible for many different uses with variably structured data

• Choosing relevant deals for users

• Fraud countermeasures

• Inventory control

• Task queues for orders & email

Redis used for:

Groupon Use Cases

Page 22: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

22

Groupon: Choosing Relevant Deals

Great Deals

Data

Aggregator

Ranked Offers

Usage Logs

Redis ingests Groupon usage data in near-real-time.

That data influences the deals users see.

Page 23: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

23

Groupon: Preventing Fraud

Redis helps find duplicate accounts quickly.

user_id = 1000

Kyle Oppenheim

3101 Park BlvdPalo Alto, CA 94306

Visa:4111 1111 1111 1111

[email protected]

10.0.0.1

cookie: oatmeal

user_id = 9876

Manish Gupta

3101 Park BlvdPalo Alto, CA 94306

Visa:4111 1111 1111 1111

[email protected]

192.168.0.1

cookie: peanutbutter

Visa:4111 1111 1111 1111

10009876

Key Value

(set)

Woah!Two users sharing a credit

card?

Page 24: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

24

Panel

Kyle OppenheimVP, Engineering

Jacqueline Hufford-JensenSr Mgr, Database Administration

George ChiramattelPrincipal Engineer

Manish GuptaCMO

Visit us at booth #615

Page 25: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

Thank you!

Page 26: AWS re:Invent 2016: Fireside chat with Groupon, Intuit, and LifeLock on solving Big Data database challenges with Redis (DAT308)

Remember to complete

your evaluations!