SlideShare une entreprise Scribd logo
1  sur  79
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Docker with BGP - OpenDNS
Docker with BGP - OpenDNSDocker with BGP - OpenDNS
Docker with BGP - OpenDNS
bacongobbler
 
Network Traffic Search using Apache HBase
Network Traffic Search using Apache HBaseNetwork Traffic Search using Apache HBase
Network Traffic Search using Apache HBase
Evans Ye
 
LF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK17_ OpenVswitch hardware offload over DPDKLF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK
 

Tendances (20)

SRX Automation at Groupon
SRX Automation at GrouponSRX Automation at Groupon
SRX Automation at Groupon
 
Docker with BGP - OpenDNS
Docker with BGP - OpenDNSDocker with BGP - OpenDNS
Docker with BGP - OpenDNS
 
Microservices summit talk 1/31
Microservices summit talk   1/31Microservices summit talk   1/31
Microservices summit talk 1/31
 
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, GoogleBringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
 
Enabling Googley microservices with HTTP/2 and gRPC.
Enabling Googley microservices with HTTP/2 and gRPC.Enabling Googley microservices with HTTP/2 and gRPC.
Enabling Googley microservices with HTTP/2 and gRPC.
 
Network Traffic Search using Apache HBase
Network Traffic Search using Apache HBaseNetwork Traffic Search using Apache HBase
Network Traffic Search using Apache HBase
 
Flink Forward Berlin 2018: Steven Wu - "Failure is not fatal: what is your re...
Flink Forward Berlin 2018: Steven Wu - "Failure is not fatal: what is your re...Flink Forward Berlin 2018: Steven Wu - "Failure is not fatal: what is your re...
Flink Forward Berlin 2018: Steven Wu - "Failure is not fatal: what is your re...
 
zebra & openconfigd Introduction
zebra & openconfigd Introductionzebra & openconfigd Introduction
zebra & openconfigd Introduction
 
Minimum Viable FIB
Minimum Viable FIBMinimum Viable FIB
Minimum Viable FIB
 
Future Internet protocols
Future Internet protocolsFuture Internet protocols
Future Internet protocols
 
TINA showcase: MOOSE Scalable Ethernet
TINA showcase: MOOSE Scalable EthernetTINA showcase: MOOSE Scalable Ethernet
TINA showcase: MOOSE Scalable Ethernet
 
Dockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Nova
 
LF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK17_ OpenVswitch hardware offload over DPDKLF_DPDK17_ OpenVswitch hardware offload over DPDK
LF_DPDK17_ OpenVswitch hardware offload over DPDK
 
Building scalable web socket backend
Building scalable web socket backendBuilding scalable web socket backend
Building scalable web socket backend
 
SIP Tutorial/Workshop 3
SIP Tutorial/Workshop 3SIP Tutorial/Workshop 3
SIP Tutorial/Workshop 3
 
netty_qcon_v4
netty_qcon_v4netty_qcon_v4
netty_qcon_v4
 
Raptor codes
Raptor codesRaptor codes
Raptor codes
 
Robert Kubis - gRPC - boilerplate to high-performance scalable APIs - code.t...
 Robert Kubis - gRPC - boilerplate to high-performance scalable APIs - code.t... Robert Kubis - gRPC - boilerplate to high-performance scalable APIs - code.t...
Robert Kubis - gRPC - boilerplate to high-performance scalable APIs - code.t...
 
TLD Anycast DNS servers to ISPs
TLD Anycast DNS servers to ISPsTLD Anycast DNS servers to ISPs
TLD Anycast DNS servers to ISPs
 
ゼロから作るパケット転送用OS (Internet Week 2014)
ゼロから作るパケット転送用OS (Internet Week 2014)ゼロから作るパケット転送用OS (Internet Week 2014)
ゼロから作るパケット転送用OS (Internet Week 2014)
 

Similaire à DataStax Enterprise – Foundations for Finance – 20160419

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
 

Similaire à DataStax Enterprise – Foundations for Finance – 20160419 (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
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
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
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

DataStax Enterprise – Foundations for Finance – 20160419

  • 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