Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to...

24
AEROSPIKE USER SUMMIT 2018 Replacing Cassandra: A Digital Transformation for the World’s Largest Digital Identity Network Matthias Baumhof, Vice President Technology Nick Blievers, Senior Director Engineering ThreatMetrix, A LexisNexis Risk Solutions Company

Transcript of Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to...

Page 1: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

AERO SPIKE USER SUM M IT 2018

Replacing Cassandra: A Digital Transformation for the

World’s Largest Digital Identity Network

Matthias Baumhof, Vice President Technology

Nick Blievers, Senior Director Engineering

ThreatMetrix, A LexisNexis Risk Solutions Company

Page 2: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

2 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Trusted Useror Cyber Threat?

Page 3: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

3 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Our intelligence is powered by 5,000 companies in our global network

Page 4: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

4 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

The world’s largest Digital Identity Network

Global Shared Intelligence:

130M transactions daily across 40,000 websites

Page 5: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

5 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Allowing for quick and confident customer recognition

Source:

Q1 2018 ThreatMetrix

Cybercrime Report

Page 6: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

6 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Transactions

•3bn API transactions per month

•55% are mobile

Active Entities

•Over 4.5bn active devices protected

•Over 1.4bn active accounts protected

~50 countries / second ~160 countries / minute ~240 countries / hour

Global Shared Intelligence at Scale

Page 7: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

7 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Universal fraud & authentication decisioning

in real time at global scale in the cloud

Customer calls API

ThreatMetrix returns 100’s of attributes

ThreatMetrix Datacenter

< 100 ms

Smart RulesSmart Learning

Page 8: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

8 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Real-Time Decisioning Example:

Identifying trusted returning customers

Account Registration

and successful Login

Device AUser A Location A

User forgot password

while trying to login,

challenge?

No

Yes

Device AUser A Location A

`

Device BUser A Location B

TRUSTED

TRUSTEDAfter 12 months

Page 9: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

9 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Switching to Aerospike

Page 10: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

10 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

General Requirements

• Predictive and fast performance with reads, max 1ms

• Read latency should not be affected with a heavy write workload

• I/O capacity for millions of reads/sec and writes/sec

• Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data

• Node count in a manageable range: < 50 nodes

• Highly available, stores multiple copies of the data

• Multi Datacenter replication with minimal latency: < 500ms

• Easy to administer, operate and expand

• Clients for typical programming languages

Page 11: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

11 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Storage Requirements

Page 12: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

12 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Performance Requirements

• Slowdowns in user journey cost $$$

• Reportedly 100ms can cost Amazon 1% in revenue*

• Ever Increasing demand

Page 13: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

13 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

What we were using

Custom SQLite clustered solution Cassandra

Page 14: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

14 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

The new storage layer

• “10x faster than what you use

now”

• Sounds good, possibly too good

to be true?

Page 15: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

15 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Migration

Custom SQLite Cassandra Aerospike

Page 16: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

16 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

The Path To Better Performance

Page 17: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

17 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Is it really 10x?

96 Nodes

100ms

28 Nodes

30ms

*The new hardware is faster and has 3x the RAM, and better SSDs

Page 18: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

18 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Unexpected benefits

SSD write endurance

Support

User Defined Functions

Page 19: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

19 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

What do we think now?

• World class products are a collection of trade-offs… but the right

trade-offs.

• Aerospike does make concessions, but delivers in it’s promise of

blindingly fast performance

• Can’t argue with the results!

Page 20: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

20 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Our Cluster Details

Page 21: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

21 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Cluster Growth

(per Datacenter)

28 Nodes

450 TB disk

20 TB RAM

48 Nodes

1,300 TB

35 TB RAM

Now End of 2018

Page 22: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

22 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

ThreatMetrix real-time API architecture

. . .

. . .

Load balancer

API server

Analytics Engines

28 Aerospike servers

Page 23: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

23 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Real-world performance

Average read latency: ~ 0.35ms measured at Analytics Engine

24h window, ~40,000 writes / sec, ~10,000 reads / sec

Page 24: Replacing Cassandra: A Digital Transformation for the ... · • Predictive and fast access to 10’s of billions of keys and > 100 TB of raw data • Node count in a manageable

24 A E R O S P I K E U S E R S U M M I T | Proprietary & Confidential | All rights reserved. © 2018 Aerospike Inc

Thank you

Americas+1408 200 5700

Asia Pacific+61 2 9411 4499

EMEA+31 (0)20 800 0638

[email protected]

[email protected]

Webthreatmetrix.com