SlideShare a Scribd company logo
1 of 79
Download to read offline
Building Scalable, Real Time Applications for Financial Services
Simon Webster
SVP & General Manager of EMEA
© DataStax, All Rights Reserved.
Feedback
• Please use the Event App to give us your
feedback
• Everyone who submits feedback will be entered
in the prize draw for a UE BOOM 2 by Ultimate
Ears Bluetooth Waterproof Portable Speaker
• Winner will be notified via email
3
DataStax Enterprise
Foundations for Finance
Daniel Cohen
Solutions Engineer
© DataStax, All Rights Reserved.
But Enough About Me…
• Solutions Engineer at DataStax
• LA ➜ SF ➜ NYC ➜ SF ➜ London
• Previously at JP Morgan in London
• Morgan Stanley, UBS, Merrill Lynch…
5
© DataStax, All Rights Reserved.
But Enough About Me…
• Solutions Engineer at DataStax
• LA ➜ SF ➜ NYC ➜ SF ➜ London
• Previously at JP Morgan in London
• Morgan Stanley, UBS, Merrill Lynch…
5
© DataStax, All Rights Reserved.
But Enough About Me…
• Solutions Engineer at DataStax
• LA ➜ SF ➜ NYC ➜ SF ➜ London
• Previously at JP Morgan in London
• Morgan Stanley, UBS, Merrill Lynch…
5
Sandy
7
Sandy
8
Sandy
© DataStax, All Rights Reserved.
DataStax Enterprise
9
The database for
cloud applications
© DataStax, All Rights Reserved.
1 Introductions
2 Technology Overview
3 Architectures
4 Use Cases
5 Questions?
10
© DataStax, All Rights Reserved.
What is Apache Cassandra?
• A distributed NoSQL database
– Google BigTable ✖ Amazon Dynamo
• Scale out with linear performance
– Just add nodes
• Continuously available
– Disaster avoidance, not disaster recovery
• Run on commodity hardware
– In the cloud, on premise, or hybrid
11
© DataStax, All Rights Reserved.
Distributed Architecture
• Fully distributed
– Data spread over multiple nodes
– All nodes participate in a cluster
– Configurable data replication
• Masterless
– All nodes are equal
– Read from or write to any node
• No Single Point of Failure
12
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Node 3

3rd copy
© DataStax, All Rights Reserved.
Scale Out Linearly
• Need more storage?
– Add more nodes.
• Need greater throughput?
– Add more nodes.
• Predictable, linear performance gains
13
© DataStax, All Rights Reserved.
Scale Out Linearly
• Need more storage?
– Add more nodes.
• Need greater throughput?
– Add more nodes.
• Predictable, linear performance gains
13
© DataStax, All Rights Reserved.
Scale Out Linearly
• Need more storage?
– Add more nodes.
• Need greater throughput?
– Add more nodes.
• Predictable, linear performance gains
13
© DataStax, All Rights Reserved.
Linear Scale Out at Netflix
14
Source:
The Netflix Tech Blog
http://techblog.netflix.com/
2011/11/benchmarking-
cassandra-scalability-on.html
© DataStax, All Rights Reserved.
A Quick Vocabulary Lesson
15
© DataStax, All Rights Reserved.
A Quick Vocabulary Lesson
15
Replication Factor – RF
• Specifies how many copies of a datum C* distributes across nodes
• Highly configurable for SLA & network topology (racks, data centers)
CREATE KEYSPACE "Excalibur" WITH REPLICATION =
{'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3};
© DataStax, All Rights Reserved.
A Quick Vocabulary Lesson
15
Replication Factor – RF
• Specifies how many copies of a datum C* distributes across nodes
• Highly configurable for SLA & network topology (racks, data centers)
CREATE KEYSPACE "Excalibur" WITH REPLICATION =
{'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3};
• Specifies how synchronized a row of data must be across C* nodes
• Tunable consistency: client application decides CL for each operation
… ONE … LOCAL_QUORUM … QUORUM … EACH_QUORUM …
Consistency Level – CL
© DataStax, All Rights Reserved.
A Quick Vocabulary Lesson
15
Replication Factor – RF
• Specifies how many copies of a datum C* distributes across nodes
• Highly configurable for SLA & network topology (racks, data centers)
CREATE KEYSPACE "Excalibur" WITH REPLICATION =
{'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3};
• Specifies how synchronized a row of data must be across C* nodes
• Tunable consistency: client application decides CL for each operation
… ONE … LOCAL_QUORUM … QUORUM … EACH_QUORUM …
Consistency Level – CL
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Write
Consistency Level = QUORUM
Replication Factor = 3
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
5 μs ack
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
5 μs ack
12 μs ack
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
5 μs ack
12 μs ack
12 μs ack
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
5 μs ack
12 μs ack
500 μs ack
12 μs ack
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Node 1
1st copy
Tunable Consistency
16
Parallel
Write
Write
Consistency Level = QUORUM
Replication Factor = 3
5 μs ack
12 μs ack
500 μs ack
12 μs ack
Node 2
2nd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Hints
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Continuous Availability
17
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Parallel
Read
Read
Consistency Level = QUORUM
Replication Factor = 3
Hints
Node 4
Node 2
2nd copy
Node 1
1st copy
Node 3

3rd copy
Node 3
3rd copy
Node 4
Node 5
© DataStax, All Rights Reserved.
Multiple Data Centers
18
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Node 3

3rd copy
Node 1

1st copy
Node 4
Node 5
Node 2

2nd copy
Node 3
London DCNew York DC
© DataStax, All Rights Reserved.
Disaster Avoidance
19
New York
London
Singapore
© DataStax, All Rights Reserved.
Disaster Avoidance
19
New York
London
Singapore
© DataStax, All Rights Reserved.
Disaster Avoidance
19
New York
London
Singapore
© DataStax, All Rights Reserved.
Disaster Avoidance
19
New York
London
Singapore
© DataStax, All Rights Reserved.
Mixed Workload DSE Cluster
Cassandra
Only DC

Transactions
Workload Isolation
20
Cassandra

+ Spark DC

Analytics
Analytical
Application
Operational
Application
© DataStax, All Rights Reserved.
• Syntax similar to RDBMS SQL
• Create objects via DDL
– e.g. CREATE…
• INSERT, UPDATE, DELETE
• GRANT, REVOKE
• SELECT…WHERE
• Command line and GUI tools
CQL: Cassandra Query Language
21
CQL Example
CREATE TABLE market_prices ( 

	 symbol TEXT,

	 date TIMESTAMP,

	 price DECIMAL,
	 side INT,

	 PRIMARY KEY (symbol, date)

) WITH CLUSTERING ORDER BY
	 (date DESC);
© DataStax, All Rights Reserved.
Drivers & Connectors
• Certified by DataStax:
– Java, C#
– Node.js, Python
– Ruby, C / C++
– PHP, ODBC
– Connector for Apache Spark
• Many community drivers
– Go, Clojure
– Erlang, Rust
22
© DataStax, All Rights Reserved.
1 Introductions
2 Technology Overview
3 Architectures
4 Use Cases
5 Questions?
23
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
App

Server
Cache
C* C*
App

Server
Cache
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
App

Server
Cache
C* C*
App

Server
Cache
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
App

Server
Cache
C* C*
App

Server
Cache
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
App

Server
Cache
C* C*
App

Server
Cache
session
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
C* C*
App

Server
Cache
session
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
C* C*
App

Server
Cache
session
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
Application Tier Resilience
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
– Sessions replicate naturally
– Recover on disaster / failure
• UI ➜ intelligently stateful
– Active failover to app server
24
C* C*
App

Server
Cache
session
DC LDN1 DC LDN2
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
❓
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
❌
© DataStax, All Rights Reserved.
…
A Resilient Enterprise Architecture
DC LDN2
App App
App App
DC NY1
App App
App App
DC LDN2
C*
DC LDN1
C*
DC NY2
C*DC NY1
C*
25
❌
© DataStax, All Rights Reserved.
Unify & Scale Legacy Infrastructure
26
…USA
Equities
UK
FX
UK
Bonds
Global
Users
Legacy
Systems
USA
FX
DataStax Enterprise ClusterC*
User Interface / Application Services
© DataStax, All Rights Reserved.
Microservices on Legacy
27
Users µServices
DC NY1
A E
F T
DC LDN1
A B
E F
Messages
DC NY1
DC LDN1
DC NY1
DC LDN1
C*
C*
USA
Equities
DSE
UK
FX
Legacy
© DataStax, All Rights Reserved.
DSE Real-time Analytics Reference Architecture
HTTP Application Message Queue
Streaming
Analytics
Batch
Analytics
Real-time
28
© DataStax, All Rights Reserved.
1 Introductions
2 Technology Overview
3 Architectures
4 Use Cases
5 Questions?
29
© DataStax, All Rights Reserved.
DataStax Use Cases
• Customer 360°
• Master data management
• Customer profile management
• Authentication & identity management
• Product personalization
• Anti-fraud & money laundering
• Payments & transactions
• Risk reporting / capital adequacy
• Market data capture / replay
30
© DataStax, All Rights Reserved.
Customer 360° / User Profile
• Consolidate data, reduce complexity
• Alleviate strain on legacy systems
• Integrated data sovereignty
• Eliminate downtime
• Recommend higher margin products
• Customer personalization
• Audit and regulatory compliance
• Full text indexing and document search
31
“DataStax has allowed us to break the
complexities of our legacy systems, empowering
us to leverage data to innovate and make more
informed decisions so we can provide a truly
personalized and premium experience to our
customers.”


© DataStax, All Rights Reserved.
Payments & Transactions
• Transaction history tagging, search and
budgeting, cash flow prediction
• Product recommendation based on
purchasing history
• Data safe against loss of node, rack, or
data center
• Shed load from legacy systems to reduce
cost and provide better user experience
“We had reached the limits of our scalability.
We wanted to remove all single points of
failure. We had to be active-active. That's
why we chose Cassandra.”
32
© DataStax, All Rights Reserved.
Regulatory Compliance
“The platform enables traders to capture vast
amounts of versioned market data which is then
used for risk management purposes in real time.”
33
• Capture and analyze every trade,
every position for every trader
• Real-time risk analysis
• Capital adequacy
• MiFID II
• Globally replicated, 100% uptime
• Low latency, high ingest
© DataStax, All Rights Reserved.
“DataStax Enterprise gives us the power to
change information in our supporting
systems into actionable insights… we can
not only scale but give our users a real-
time, engaging customer experience.”
• Financial product recommendation
• Provide the “small bank” feel through
personalization
• Real-time recommendation using transaction
data, search, and browsing history
• Measure engagement and satisfaction to
prevent flight
• Website and mobile metrics
• Prevent customer churn
Recommendations & Engagement
34
© DataStax, All Rights Reserved.
Market Tick & Time Series Data
• Capture high fidelity time series
information at high ingest rates and
low latencies
• 100% uptime even in the event of
data center loss
35
“We primarily use Cassandra as a distributed data store
for Financial Instrument and Time-Series data, where
the ‘master’ data stores cannot scale globally and
provide the high availability needed to support a global
application with heavy user demand.”


© DataStax, All Rights Reserved.
Mission Critical Applications
36
“DSE is a perfect match… easing availability
challenges by being active-active and
having an always-on architecture”
Source: Exploiting Hotel Cassandra ➜ http://bit.ly/1mf0KRE
Thank you!
Daniel Cohen
Solutions Engineer
daniel.cohen@datastax.com
@CodaAzzurra

More Related Content

What's hot

Voldemort on Solid State Drives
Voldemort on Solid State DrivesVoldemort on Solid State Drives
Voldemort on Solid State Drives
Vinoth Chandar
 
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
DataStax
 
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
DataStax
 
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
DataStax
 

What's hot (20)

A glimpse of cassandra 4.0 features netflix
A glimpse of cassandra 4.0 features   netflixA glimpse of cassandra 4.0 features   netflix
A glimpse of cassandra 4.0 features netflix
 
Cassandra @ Yahoo Japan (Satoshi Konno, Yahoo) | Cassandra Summit 2016
Cassandra @ Yahoo Japan (Satoshi Konno, Yahoo) | Cassandra Summit 2016Cassandra @ Yahoo Japan (Satoshi Konno, Yahoo) | Cassandra Summit 2016
Cassandra @ Yahoo Japan (Satoshi Konno, Yahoo) | Cassandra Summit 2016
 
Scylla on Kubernetes: Introducing the Scylla Operator
Scylla on Kubernetes: Introducing the Scylla OperatorScylla on Kubernetes: Introducing the Scylla Operator
Scylla on Kubernetes: Introducing the Scylla Operator
 
Back to the future with C++ and Seastar
Back to the future with C++ and SeastarBack to the future with C++ and Seastar
Back to the future with C++ and Seastar
 
Scaling DataStax in Docker
Scaling DataStax in DockerScaling DataStax in Docker
Scaling DataStax in Docker
 
Voldemort on Solid State Drives
Voldemort on Solid State DrivesVoldemort on Solid State Drives
Voldemort on Solid State Drives
 
How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)How to size up an Apache Cassandra cluster (Training)
How to size up an Apache Cassandra cluster (Training)
 
mParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from CassandramParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from Cassandra
 
Understanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpUnderstanding DSE Search by Matt Stump
Understanding DSE Search by Matt Stump
 
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
 
Cassandra Exports as a Trivially Parallelizable Problem (Emilio Del Tessandor...
Cassandra Exports as a Trivially Parallelizable Problem (Emilio Del Tessandor...Cassandra Exports as a Trivially Parallelizable Problem (Emilio Del Tessandor...
Cassandra Exports as a Trivially Parallelizable Problem (Emilio Del Tessandor...
 
Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0Live traffic capture and replay in cassandra 4.0
Live traffic capture and replay in cassandra 4.0
 
Running Cassandra in AWS
Running Cassandra in AWSRunning Cassandra in AWS
Running Cassandra in AWS
 
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
Tales From the Field: The Wrong Way of Using Cassandra (Carlos Rolo, Pythian)...
 
How we got to 1 millisecond latency in 99% under repair, compaction, and flus...
How we got to 1 millisecond latency in 99% under repair, compaction, and flus...How we got to 1 millisecond latency in 99% under repair, compaction, and flus...
How we got to 1 millisecond latency in 99% under repair, compaction, and flus...
 
RedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ TwitterRedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ Twitter
 
Managing Cassandra at Scale by Al Tobey
Managing Cassandra at Scale by Al TobeyManaging Cassandra at Scale by Al Tobey
Managing Cassandra at Scale by Al Tobey
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experience
 
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
Productizing a Cassandra-Based Solution (Brij Bhushan Ravat, Ericsson) | C* S...
 
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
C* Capacity Forecasting (Ajay Upadhyay, Jyoti Shandil, Arun Agrawal, Netflix)...
 

Similar to Building Scalable, Real Time Applications for Financial Services with DataStax

ONOS Open Network Operating System
ONOS Open Network Operating SystemONOS Open Network Operating System
ONOS Open Network Operating System
ON.Lab
 
Van jaconson netchannels
Van jaconson netchannelsVan jaconson netchannels
Van jaconson netchannels
Susant Sahani
 
Moolle fan-out control for scalable distributed data stores
Moolle  fan-out control for scalable distributed data storesMoolle  fan-out control for scalable distributed data stores
Moolle fan-out control for scalable distributed data stores
SungJu Cho
 

Similar to Building Scalable, Real Time Applications for Financial Services with DataStax (20)

DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
 
ONOS Open Network Operating System
ONOS Open Network Operating SystemONOS Open Network Operating System
ONOS Open Network Operating System
 
Van jaconson netchannels
Van jaconson netchannelsVan jaconson netchannels
Van jaconson netchannels
 
Making the Most Out of ScyllaDB's Awesome Concurrency at Optimizely
Making the Most Out of ScyllaDB's Awesome Concurrency at OptimizelyMaking the Most Out of ScyllaDB's Awesome Concurrency at Optimizely
Making the Most Out of ScyllaDB's Awesome Concurrency at Optimizely
 
Patrick Guillebert – IT-Tage 2015 – Cassandra NoSQL - Architektur und Anwendu...
Patrick Guillebert – IT-Tage 2015 – Cassandra NoSQL - Architektur und Anwendu...Patrick Guillebert – IT-Tage 2015 – Cassandra NoSQL - Architektur und Anwendu...
Patrick Guillebert – IT-Tage 2015 – Cassandra NoSQL - Architektur und Anwendu...
 
What a Modern Database Enables_Srini Srinivasan.pdf
What a Modern Database Enables_Srini Srinivasan.pdfWhat a Modern Database Enables_Srini Srinivasan.pdf
What a Modern Database Enables_Srini Srinivasan.pdf
 
LF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecases
LF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecasesLF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecases
LF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecases
 
cyclades eswc2016
cyclades eswc2016cyclades eswc2016
cyclades eswc2016
 
Hermes Reliable Replication Protocol - ASPLOS'20 Presentation
Hermes Reliable Replication Protocol -  ASPLOS'20 PresentationHermes Reliable Replication Protocol -  ASPLOS'20 Presentation
Hermes Reliable Replication Protocol - ASPLOS'20 Presentation
 
rtnetlink
rtnetlinkrtnetlink
rtnetlink
 
C* Summit 2013: Netflix Open Source Tools and Benchmarks for Cassandra by Adr...
C* Summit 2013: Netflix Open Source Tools and Benchmarks for Cassandra by Adr...C* Summit 2013: Netflix Open Source Tools and Benchmarks for Cassandra by Adr...
C* Summit 2013: Netflix Open Source Tools and Benchmarks for Cassandra by Adr...
 
Cassandra - decentralized structured database
Cassandra - decentralized structured databaseCassandra - decentralized structured database
Cassandra - decentralized structured database
 
Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...
 
Thoughts on consistency models
Thoughts on consistency modelsThoughts on consistency models
Thoughts on consistency models
 
Moolle fan-out control for scalable distributed data stores
Moolle  fan-out control for scalable distributed data storesMoolle  fan-out control for scalable distributed data stores
Moolle fan-out control for scalable distributed data stores
 
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
 
Disaggregated Networking - The Drivers, the Software & The High Availability
Disaggregated Networking - The Drivers, the Software & The High AvailabilityDisaggregated Networking - The Drivers, the Software & The High Availability
Disaggregated Networking - The Drivers, the Software & The High Availability
 
5033467 (1).ppt
5033467 (1).ppt5033467 (1).ppt
5033467 (1).ppt
 
Art of the Possible_Tim Faulkes.pdf
Art of the Possible_Tim Faulkes.pdfArt of the Possible_Tim Faulkes.pdf
Art of the Possible_Tim Faulkes.pdf
 
Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2
 

More from DataStax

More from DataStax (20)

Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?Is Your Enterprise Ready to Shine This Holiday Season?
Is Your Enterprise Ready to Shine This Holiday Season?
 
Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...
Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...
Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...
 
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid EnvironmentsRunning DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
 
Best Practices for Getting to Production with DataStax Enterprise Graph
Best Practices for Getting to Production with DataStax Enterprise GraphBest Practices for Getting to Production with DataStax Enterprise Graph
Best Practices for Getting to Production with DataStax Enterprise Graph
 
Webinar | Data Management for Hybrid and Multi-Cloud: A Four-Step Journey
Webinar | Data Management for Hybrid and Multi-Cloud: A Four-Step JourneyWebinar | Data Management for Hybrid and Multi-Cloud: A Four-Step Journey
Webinar | Data Management for Hybrid and Multi-Cloud: A Four-Step Journey
 
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...Webinar  |  How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
 
Webinar | Better Together: Apache Cassandra and Apache Kafka
Webinar  |  Better Together: Apache Cassandra and Apache KafkaWebinar  |  Better Together: Apache Cassandra and Apache Kafka
Webinar | Better Together: Apache Cassandra and Apache Kafka
 
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseTop 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
 
Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0Introduction to Apache Cassandra™ + What’s New in 4.0
Introduction to Apache Cassandra™ + What’s New in 4.0
 
Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...
Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...
Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...
 
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
Webinar  |  Aligning GDPR Requirements with Today's Hybrid Cloud RealitiesWebinar  |  Aligning GDPR Requirements with Today's Hybrid Cloud Realities
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
 
Designing a Distributed Cloud Database for Dummies
Designing a Distributed Cloud Database for DummiesDesigning a Distributed Cloud Database for Dummies
Designing a Distributed Cloud Database for Dummies
 
How to Power Innovation with Geo-Distributed Data Management in Hybrid Cloud
How to Power Innovation with Geo-Distributed Data Management in Hybrid CloudHow to Power Innovation with Geo-Distributed Data Management in Hybrid Cloud
How to Power Innovation with Geo-Distributed Data Management in Hybrid Cloud
 
How to Evaluate Cloud Databases for eCommerce
How to Evaluate Cloud Databases for eCommerceHow to Evaluate Cloud Databases for eCommerce
How to Evaluate Cloud Databases for eCommerce
 
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
 
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
 
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
 
Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)Datastax - The Architect's guide to customer experience (CX)
Datastax - The Architect's guide to customer experience (CX)
 
An Operational Data Layer is Critical for Transformative Banking Applications
An Operational Data Layer is Critical for Transformative Banking ApplicationsAn Operational Data Layer is Critical for Transformative Banking Applications
An Operational Data Layer is Critical for Transformative Banking Applications
 
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design ThinkingBecoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Building Scalable, Real Time Applications for Financial Services with DataStax

  • 1. Building Scalable, Real Time Applications for Financial Services Simon Webster SVP & General Manager of EMEA
  • 2.
  • 3. © DataStax, All Rights Reserved. Feedback • Please use the Event App to give us your feedback • Everyone who submits feedback will be entered in the prize draw for a UE BOOM 2 by Ultimate Ears Bluetooth Waterproof Portable Speaker • Winner will be notified via email 3
  • 4. DataStax Enterprise Foundations for Finance Daniel Cohen Solutions Engineer
  • 5. © DataStax, All Rights Reserved. But Enough About Me… • Solutions Engineer at DataStax • LA ➜ SF ➜ NYC ➜ SF ➜ London • Previously at JP Morgan in London • Morgan Stanley, UBS, Merrill Lynch… 5
  • 6. © DataStax, All Rights Reserved. But Enough About Me… • Solutions Engineer at DataStax • LA ➜ SF ➜ NYC ➜ SF ➜ London • Previously at JP Morgan in London • Morgan Stanley, UBS, Merrill Lynch… 5
  • 7. © DataStax, All Rights Reserved. But Enough About Me… • Solutions Engineer at DataStax • LA ➜ SF ➜ NYC ➜ SF ➜ London • Previously at JP Morgan in London • Morgan Stanley, UBS, Merrill Lynch… 5
  • 11. © DataStax, All Rights Reserved. DataStax Enterprise 9 The database for cloud applications
  • 12. © DataStax, All Rights Reserved. 1 Introductions 2 Technology Overview 3 Architectures 4 Use Cases 5 Questions? 10
  • 13. © DataStax, All Rights Reserved. What is Apache Cassandra? • A distributed NoSQL database – Google BigTable ✖ Amazon Dynamo • Scale out with linear performance – Just add nodes • Continuously available – Disaster avoidance, not disaster recovery • Run on commodity hardware – In the cloud, on premise, or hybrid 11
  • 14. © DataStax, All Rights Reserved. Distributed Architecture • Fully distributed – Data spread over multiple nodes – All nodes participate in a cluster – Configurable data replication • Masterless – All nodes are equal – Read from or write to any node • No Single Point of Failure 12 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Node 3
 3rd copy
  • 15. © DataStax, All Rights Reserved. Scale Out Linearly • Need more storage? – Add more nodes. • Need greater throughput? – Add more nodes. • Predictable, linear performance gains 13
  • 16. © DataStax, All Rights Reserved. Scale Out Linearly • Need more storage? – Add more nodes. • Need greater throughput? – Add more nodes. • Predictable, linear performance gains 13
  • 17. © DataStax, All Rights Reserved. Scale Out Linearly • Need more storage? – Add more nodes. • Need greater throughput? – Add more nodes. • Predictable, linear performance gains 13
  • 18. © DataStax, All Rights Reserved. Linear Scale Out at Netflix 14 Source: The Netflix Tech Blog http://techblog.netflix.com/ 2011/11/benchmarking- cassandra-scalability-on.html
  • 19. © DataStax, All Rights Reserved. A Quick Vocabulary Lesson 15
  • 20. © DataStax, All Rights Reserved. A Quick Vocabulary Lesson 15 Replication Factor – RF • Specifies how many copies of a datum C* distributes across nodes • Highly configurable for SLA & network topology (racks, data centers) CREATE KEYSPACE "Excalibur" WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3};
  • 21. © DataStax, All Rights Reserved. A Quick Vocabulary Lesson 15 Replication Factor – RF • Specifies how many copies of a datum C* distributes across nodes • Highly configurable for SLA & network topology (racks, data centers) CREATE KEYSPACE "Excalibur" WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3}; • Specifies how synchronized a row of data must be across C* nodes • Tunable consistency: client application decides CL for each operation … ONE … LOCAL_QUORUM … QUORUM … EACH_QUORUM … Consistency Level – CL
  • 22. © DataStax, All Rights Reserved. A Quick Vocabulary Lesson 15 Replication Factor – RF • Specifies how many copies of a datum C* distributes across nodes • Highly configurable for SLA & network topology (racks, data centers) CREATE KEYSPACE "Excalibur" WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'CPH1' : 3, 'CPH2' : 3}; • Specifies how synchronized a row of data must be across C* nodes • Tunable consistency: client application decides CL for each operation … ONE … LOCAL_QUORUM … QUORUM … EACH_QUORUM … Consistency Level – CL
  • 23. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 24. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 25. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Write Consistency Level = QUORUM Replication Factor = 3 Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 26. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 27. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 5 μs ack Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 28. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 5 μs ack 12 μs ack Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 29. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 5 μs ack 12 μs ack 12 μs ack Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 30. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 5 μs ack 12 μs ack 500 μs ack 12 μs ack Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 31. © DataStax, All Rights Reserved. Node 1 1st copy Tunable Consistency 16 Parallel Write Write Consistency Level = QUORUM Replication Factor = 3 5 μs ack 12 μs ack 500 μs ack 12 μs ack Node 2 2nd copy Node 3 3rd copy Node 4 Node 5
  • 32. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 33. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 34. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 35. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 4 Node 5
  • 36. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 4 Node 5
  • 37. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 4 Node 5
  • 38. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 4 Node 5
  • 39. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 4 Node 5
  • 40. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 41. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Hints Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 42. © DataStax, All Rights Reserved. Continuous Availability 17 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Parallel Read Read Consistency Level = QUORUM Replication Factor = 3 Hints Node 4 Node 2 2nd copy Node 1 1st copy Node 3
 3rd copy Node 3 3rd copy Node 4 Node 5
  • 43. © DataStax, All Rights Reserved. Multiple Data Centers 18 Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Node 3
 3rd copy Node 1
 1st copy Node 4 Node 5 Node 2
 2nd copy Node 3 London DCNew York DC
  • 44. © DataStax, All Rights Reserved. Disaster Avoidance 19 New York London Singapore
  • 45. © DataStax, All Rights Reserved. Disaster Avoidance 19 New York London Singapore
  • 46. © DataStax, All Rights Reserved. Disaster Avoidance 19 New York London Singapore
  • 47. © DataStax, All Rights Reserved. Disaster Avoidance 19 New York London Singapore
  • 48. © DataStax, All Rights Reserved. Mixed Workload DSE Cluster Cassandra Only DC Transactions Workload Isolation 20 Cassandra + Spark DC Analytics Analytical Application Operational Application
  • 49. © DataStax, All Rights Reserved. • Syntax similar to RDBMS SQL • Create objects via DDL – e.g. CREATE… • INSERT, UPDATE, DELETE • GRANT, REVOKE • SELECT…WHERE • Command line and GUI tools CQL: Cassandra Query Language 21 CQL Example CREATE TABLE market_prices ( 
 symbol TEXT,
 date TIMESTAMP,
 price DECIMAL, side INT,
 PRIMARY KEY (symbol, date)
 ) WITH CLUSTERING ORDER BY (date DESC);
  • 50. © DataStax, All Rights Reserved. Drivers & Connectors • Certified by DataStax: – Java, C# – Node.js, Python – Ruby, C / C++ – PHP, ODBC – Connector for Apache Spark • Many community drivers – Go, Clojure – Erlang, Rust 22
  • 51. © DataStax, All Rights Reserved. 1 Introductions 2 Technology Overview 3 Architectures 4 Use Cases 5 Questions? 23
  • 52. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 App Server Cache C* C* App Server Cache DC LDN1 DC LDN2
  • 53. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 App Server Cache C* C* App Server Cache DC LDN1 DC LDN2
  • 54. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 App Server Cache C* C* App Server Cache DC LDN1 DC LDN2
  • 55. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 App Server Cache C* C* App Server Cache session DC LDN1 DC LDN2
  • 56. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 C* C* App Server Cache session DC LDN1 DC LDN2
  • 57. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 C* C* App Server Cache session DC LDN1 DC LDN2
  • 58. © DataStax, All Rights Reserved. Application Tier Resilience • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra – Sessions replicate naturally – Recover on disaster / failure • UI ➜ intelligently stateful – Active failover to app server 24 C* C* App Server Cache session DC LDN1 DC LDN2
  • 59. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 60. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 61. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 62. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 63. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 64. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25
  • 65. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25 ❓
  • 66. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25 ❌
  • 67. © DataStax, All Rights Reserved. … A Resilient Enterprise Architecture DC LDN2 App App App App DC NY1 App App App App DC LDN2 C* DC LDN1 C* DC NY2 C*DC NY1 C* 25 ❌
  • 68. © DataStax, All Rights Reserved. Unify & Scale Legacy Infrastructure 26 …USA Equities UK FX UK Bonds Global Users Legacy Systems USA FX DataStax Enterprise ClusterC* User Interface / Application Services
  • 69. © DataStax, All Rights Reserved. Microservices on Legacy 27 Users µServices DC NY1 A E F T DC LDN1 A B E F Messages DC NY1 DC LDN1 DC NY1 DC LDN1 C* C* USA Equities DSE UK FX Legacy
  • 70. © DataStax, All Rights Reserved. DSE Real-time Analytics Reference Architecture HTTP Application Message Queue Streaming Analytics Batch Analytics Real-time 28
  • 71. © DataStax, All Rights Reserved. 1 Introductions 2 Technology Overview 3 Architectures 4 Use Cases 5 Questions? 29
  • 72. © DataStax, All Rights Reserved. DataStax Use Cases • Customer 360° • Master data management • Customer profile management • Authentication & identity management • Product personalization • Anti-fraud & money laundering • Payments & transactions • Risk reporting / capital adequacy • Market data capture / replay 30
  • 73. © DataStax, All Rights Reserved. Customer 360° / User Profile • Consolidate data, reduce complexity • Alleviate strain on legacy systems • Integrated data sovereignty • Eliminate downtime • Recommend higher margin products • Customer personalization • Audit and regulatory compliance • Full text indexing and document search 31 “DataStax has allowed us to break the complexities of our legacy systems, empowering us to leverage data to innovate and make more informed decisions so we can provide a truly personalized and premium experience to our customers.” 

  • 74. © DataStax, All Rights Reserved. Payments & Transactions • Transaction history tagging, search and budgeting, cash flow prediction • Product recommendation based on purchasing history • Data safe against loss of node, rack, or data center • Shed load from legacy systems to reduce cost and provide better user experience “We had reached the limits of our scalability. We wanted to remove all single points of failure. We had to be active-active. That's why we chose Cassandra.” 32
  • 75. © DataStax, All Rights Reserved. Regulatory Compliance “The platform enables traders to capture vast amounts of versioned market data which is then used for risk management purposes in real time.” 33 • Capture and analyze every trade, every position for every trader • Real-time risk analysis • Capital adequacy • MiFID II • Globally replicated, 100% uptime • Low latency, high ingest
  • 76. © DataStax, All Rights Reserved. “DataStax Enterprise gives us the power to change information in our supporting systems into actionable insights… we can not only scale but give our users a real- time, engaging customer experience.” • Financial product recommendation • Provide the “small bank” feel through personalization • Real-time recommendation using transaction data, search, and browsing history • Measure engagement and satisfaction to prevent flight • Website and mobile metrics • Prevent customer churn Recommendations & Engagement 34
  • 77. © DataStax, All Rights Reserved. Market Tick & Time Series Data • Capture high fidelity time series information at high ingest rates and low latencies • 100% uptime even in the event of data center loss 35 “We primarily use Cassandra as a distributed data store for Financial Instrument and Time-Series data, where the ‘master’ data stores cannot scale globally and provide the high availability needed to support a global application with heavy user demand.” 

  • 78. © DataStax, All Rights Reserved. Mission Critical Applications 36 “DSE is a perfect match… easing availability challenges by being active-active and having an always-on architecture” Source: Exploiting Hotel Cassandra ➜ http://bit.ly/1mf0KRE
  • 79. Thank you! Daniel Cohen Solutions Engineer daniel.cohen@datastax.com @CodaAzzurra