SlideShare a Scribd company logo
1 of 48
Download to read offline
Resilient Microservices for Finance
with DataStax Enterprise & Apache Cassandra
Daniel Cohen
Solutions Engineer
Resilient Microservices for Finance
with DataStax Enterprise & Apache Cassandra
Daniel Cohen
Solutions Engineer
!
Company Confidential© 2015 DataStax, All Rights Reserved. 2
1 Introductions
2 Resilient Architectures
3 Monolithic to µ
4 LUST
5 Questions?
Company Confidential© 2015 DataStax, All Rights Reserved.
DataStax Enterprise
3
A Purpose-Built
Platform on
Apache Cassandra
Company Confidential© 2015 DataStax, All Rights Reserved. 4
Company Confidential© 2015 DataStax, All Rights Reserved.
2013
DataStax
5
Company Confidential© 2015 DataStax, All Rights Reserved.
2014
DataStax
6
Company Confidential© 2015 DataStax, All Rights Reserved.
2015
DataStax
7
Company Confidential© 2015 DataStax, All Rights Reserved. 8
1 Introductions
2 Resilient Architectures
3 Monolithic to µ
4 LUST
5 Questions?
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
App
Server
Cache
C* C*
App
Server
Cache
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
App
Server
Cache
C* C*
App
Server
Cache
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
App
Server
Cache
C* C*
App
Server
Cache
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
App
Server
Cache
C* C*
App
Server
Cache
session
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
C* C*
App
Server
Cache
session
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
C* C*
App
Server
Cache
session
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
C* C*
App
Server
Cache
session
Company Confidential© 2015 DataStax, All Rights Reserved.
Application Tier Resilience
Example: A Single Session
DC NY1 DC NY2
• Stateless ➜ fault tolerant
• Horizontally scalable
• Store sessions in Cassandra
• Sessions replicate naturally
• Recover on disaster / failure
• UI ➜ intelligently stateful
• Active in recovery / failover
9
C* C*
App
Server
Cache
session
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App
❓
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App❌
Company Confidential© 2015 DataStax, All Rights Reserved.
A Resilient Enterprise Architecture
10
DC NY1
C*
DC NY2
C*
DC LDN1
C*
DC LDN2
C*
…DC NY1
App App
App App
DC LDN2
App App
App App❌
Company Confidential© 2015 DataStax, All Rights Reserved. 11
Authentication & Authorization
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved. 11
Authentication & Authorization
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
session?
Company Confidential© 2015 DataStax, All Rights Reserved. 11
Authentication & Authorization
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
session?
Company Confidential© 2015 DataStax, All Rights Reserved. 11
Authentication & Authorization
session
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved.
quote?
11
Authentication & Authorization
session
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved.
quote?
11
Authentication & Authorization
session
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved.
quote
11
Authentication & Authorization
session
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved.
quote
11
Authentication & Authorization
session
DC LDN1
C*
DC LDN2
C*
DC AMS1
C*
DC ZUR1
C*
DSE
Cluster
Web
User
App
Services
DC LDN2
App App
App App
DC AMS1
App App
App App ……
Company Confidential© 2015 DataStax, All Rights Reserved. 12
1 Introductions
2 Resilient Architectures
3 Monolithic to µ
4 LUST
5 Questions?
Company Confidential© 2015 DataStax, All Rights Reserved.
✅ Simple to develop
✅ Simple to deploy
✅ One Team, One Dream
⚠ Large code base: difficulty
⚠ Single code base: collisions
⚠ Long term commitments
The Monolithic Server
13
Users
Monolithic
Database
Monolithic Application
Trading Analytics
Authentication Authorization
Data Access
UIs
Company Confidential© 2015 DataStax, All Rights Reserved.
Write programs that do one thing and do it well. Write
programs to work together. Write programs to handle
text streams, because that is a universal interface.
– Douglas McIlroy
(1994)
Source: The Art of Unix Programming by Eric Steven Raymond
http://www.faqs.org/docs/artu/ch01s06.html
The UNIX Philosophy
14
Company Confidential© 2015 DataStax, All Rights Reserved.
✅ Team ➜ product lifecycle
✅ Fault isolation
✅ Best technology for purpose
⚠ Deployments?
⚠ Interservice communication?
⚠ Additional points of failure
Microservices – Mark One
15
UIs
—
Web
Native
—
Desktop
Mobile
µServices
Trading
Analytics
Authentication
Authorization
Storage
Trading
Analytics
Authentication
Authorization
Company Confidential© 2015 DataStax, All Rights Reserved.
✅ Avoid single points of failure
✅ Interservice communication ➜ decoupled
⚠ Deployments? Tools, a topic for next time.
Microservices – Mark Twain
16
UIs
—
Web
Native
—
Desktop
Mobile
µServices
Trading
Analytics
Authentication
Authorization
Messages
Storage
C*
Company Confidential© 2015 DataStax, All Rights Reserved.
We've Always Been at War with Eurasia
17
Company Confidential© 2015 DataStax, All Rights Reserved. 18
1 Introductions
2 Resilient Architectures
3 Monolithic to µ
4 LUST
5 Questions?
Company Confidential© 2015 DataStax, All Rights Reserved.
LUdicrously Simplified Trading
LUST – Your App! Sales & Trading
19
UIs App Services
Desk Services
Desk UIs
Back Office
Settlement
Reporting
Accounting
Clearing
Middle Office
Market Risk
Confirmation
Booking
Credit Risk
Pricing
Risk MonitorPositions
Trading
Data Services
Market Data
Reference Data
Research Analytics
Authentication Authorization
Messages
Company Confidential© 2015 DataStax, All Rights Reserved.
Any organization that designs a system…will inevitably
produce a design whose structure is a copy of the
organization's communication structure.
– Melvin E. Conway
(1968)
Source: How Do Committees Invent? by Melvin E. Conway
http://www.melconway.com/research/committees.html
Conway’s Law
20
Company Confidential© 2015 DataStax, All Rights Reserved.
Pre-trade Execution Post-trade
The (Abridged) Life & Times of a Trade
21
Pricing
Risk Monitor
Analytics
Trading
Routing
Enrichment
Clearing
Settlement
Accounting
Reporting
Market Data Portfolio Data Reference Data
Company Confidential© 2015 DataStax, All Rights Reserved.
LUST in the Time of Microservices
22
µServices Key
UK FX Trading
USA Equities Trading
Authentication
Authorization
A
F
E
DC NY1
A
F F
DC LDN1
A
F E
C* C*
USA
Equities
UK
FX
Company Confidential© 2015 DataStax, All Rights Reserved.
Unify & Scale Legacy Infrastructure
23
…USA
Equities
UK
FX
UK
Bonds
Global
Users
Legacy
Systems
USA
FX
DataStax Enterprise ClusterC*
User Interface / Application Services
Company Confidential© 2015 DataStax, All Rights Reserved.
• Microservices with Node.js and Apache Cassandra by Jorge Bay Gondra
– http://www.datastax.com/on-demand/microservices-with-node-js-and-cassandra
• Winning Integration Architectures with Apache Camel by Jakub Korab
– https://vimeo.com/138868846
• Microservices by Martin Fowler
– http://martinfowler.com/articles/microservices.html
• Microservices in a Nutshell by James Lewis & Martin Fowler
– https://www.thoughtworks.com/insights/blog/microservices-nutshell
• Visit the DataStax Academy for free online courses
– http://academy.datastax.com/
Sources & Additional Information
24
Thank you!
Questions?
Daniel Cohen
daniel.cohen@datastax.com
@CodaAzzurra

More Related Content

Similar to Resilient Microservices Finance Cassandra

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 – ...Daniel Cohen
 
Reporting from the Trenches: Intuit & Cassandra
Reporting from the Trenches: Intuit & CassandraReporting from the Trenches: Intuit & Cassandra
Reporting from the Trenches: Intuit & CassandraDataStax
 
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...CA Technologies
 
Webinar: What's Wrong with DRaaS and How to Fix it
Webinar: What's Wrong with DRaaS and How to Fix itWebinar: What's Wrong with DRaaS and How to Fix it
Webinar: What's Wrong with DRaaS and How to Fix itStorage Switzerland
 
Le soluzioni tecnologiche per il disaster recovery e business continuity
Le soluzioni tecnologiche per il disaster recovery e business continuityLe soluzioni tecnologiche per il disaster recovery e business continuity
Le soluzioni tecnologiche per il disaster recovery e business continuityJürgen Ambrosi
 
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?Odinot Stanislas
 
Migrating to Cloud Native Solutions
Migrating to Cloud Native SolutionsMigrating to Cloud Native Solutions
Migrating to Cloud Native Solutionsinwin stack
 
01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinar01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinarAerospike, Inc.
 
Citrix ready-webinar-xtremio
Citrix ready-webinar-xtremioCitrix ready-webinar-xtremio
Citrix ready-webinar-xtremioEMC
 
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIO
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIOTransforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIO
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIOEMC
 
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...The good, the bad, and the ugly of migrating hundreds of legacy applications ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...Josef Adersberger
 
The good, the bad & the ugly of migrating hundreds of legacy applications to ...
The good, the bad & the ugly of migrating hundreds of legacy applications to ...The good, the bad & the ugly of migrating hundreds of legacy applications to ...
The good, the bad & the ugly of migrating hundreds of legacy applications to ...QAware GmbH
 
Driving Down Costs of z Systems™ Storage
Driving Down Costs of z Systems™ StorageDriving Down Costs of z Systems™ Storage
Driving Down Costs of z Systems™ StorageCA Technologies
 
Virtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewVirtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewAngela Chavez
 
Avoiding disaster recovery disasters
Avoiding disaster recovery disastersAvoiding disaster recovery disasters
Avoiding disaster recovery disastersAlexandra Matthiesen
 
Predicting When Your Applications Will Go Off the Rails! Managing DB2 Appli...
Predicting When Your Applications Will Go Off the Rails!  Managing DB2 Appli...Predicting When Your Applications Will Go Off the Rails!  Managing DB2 Appli...
Predicting When Your Applications Will Go Off the Rails! Managing DB2 Appli...CA Technologies
 
Distributed application usecase on docker
Distributed application usecase on dockerDistributed application usecase on docker
Distributed application usecase on dockerHiroshi Miura
 
Serverless integration anatomy
Serverless integration anatomyServerless integration anatomy
Serverless integration anatomyChristina Lin
 
Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015VMUG IT
 

Similar to Resilient Microservices Finance Cassandra (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 – ...
 
Reporting from the Trenches: Intuit & Cassandra
Reporting from the Trenches: Intuit & CassandraReporting from the Trenches: Intuit & Cassandra
Reporting from the Trenches: Intuit & Cassandra
 
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
 
Webinar: What's Wrong with DRaaS and How to Fix it
Webinar: What's Wrong with DRaaS and How to Fix itWebinar: What's Wrong with DRaaS and How to Fix it
Webinar: What's Wrong with DRaaS and How to Fix it
 
Le soluzioni tecnologiche per il disaster recovery e business continuity
Le soluzioni tecnologiche per il disaster recovery e business continuityLe soluzioni tecnologiche per il disaster recovery e business continuity
Le soluzioni tecnologiche per il disaster recovery e business continuity
 
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
 
Migrating to Cloud Native Solutions
Migrating to Cloud Native SolutionsMigrating to Cloud Native Solutions
Migrating to Cloud Native Solutions
 
01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinar01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinar
 
Citrix ready-webinar-xtremio
Citrix ready-webinar-xtremioCitrix ready-webinar-xtremio
Citrix ready-webinar-xtremio
 
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIO
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIOTransforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIO
Transforming Desktop Virtualization with Citrix XenDesktop and EMC XtremIO
 
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...The good, the bad, and the ugly of migrating hundreds of legacy applications ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
 
The good, the bad & the ugly of migrating hundreds of legacy applications to ...
The good, the bad & the ugly of migrating hundreds of legacy applications to ...The good, the bad & the ugly of migrating hundreds of legacy applications to ...
The good, the bad & the ugly of migrating hundreds of legacy applications to ...
 
Driving Down Costs of z Systems™ Storage
Driving Down Costs of z Systems™ StorageDriving Down Costs of z Systems™ Storage
Driving Down Costs of z Systems™ Storage
 
Virtual Private Data Center Solution Overview
Virtual Private Data Center Solution OverviewVirtual Private Data Center Solution Overview
Virtual Private Data Center Solution Overview
 
Avoiding disaster recovery disasters
Avoiding disaster recovery disastersAvoiding disaster recovery disasters
Avoiding disaster recovery disasters
 
Avoiding disaster recovery disasters
Avoiding disaster recovery disastersAvoiding disaster recovery disasters
Avoiding disaster recovery disasters
 
Predicting When Your Applications Will Go Off the Rails! Managing DB2 Appli...
Predicting When Your Applications Will Go Off the Rails!  Managing DB2 Appli...Predicting When Your Applications Will Go Off the Rails!  Managing DB2 Appli...
Predicting When Your Applications Will Go Off the Rails! Managing DB2 Appli...
 
Distributed application usecase on docker
Distributed application usecase on dockerDistributed application usecase on docker
Distributed application usecase on docker
 
Serverless integration anatomy
Serverless integration anatomyServerless integration anatomy
Serverless integration anatomy
 
Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015
 

Recently uploaded

Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineeringssuserb3a23b
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 

Recently uploaded (20)

Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineering
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 

Resilient Microservices Finance Cassandra

  • 1. Resilient Microservices for Finance with DataStax Enterprise & Apache Cassandra Daniel Cohen Solutions Engineer
  • 2. Resilient Microservices for Finance with DataStax Enterprise & Apache Cassandra Daniel Cohen Solutions Engineer !
  • 3. Company Confidential© 2015 DataStax, All Rights Reserved. 2 1 Introductions 2 Resilient Architectures 3 Monolithic to µ 4 LUST 5 Questions?
  • 4. Company Confidential© 2015 DataStax, All Rights Reserved. DataStax Enterprise 3 A Purpose-Built Platform on Apache Cassandra
  • 5. Company Confidential© 2015 DataStax, All Rights Reserved. 4
  • 6. Company Confidential© 2015 DataStax, All Rights Reserved. 2013 DataStax 5
  • 7. Company Confidential© 2015 DataStax, All Rights Reserved. 2014 DataStax 6
  • 8. Company Confidential© 2015 DataStax, All Rights Reserved. 2015 DataStax 7
  • 9. Company Confidential© 2015 DataStax, All Rights Reserved. 8 1 Introductions 2 Resilient Architectures 3 Monolithic to µ 4 LUST 5 Questions?
  • 10. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 App Server Cache C* C* App Server Cache
  • 11. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 App Server Cache C* C* App Server Cache
  • 12. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 App Server Cache C* C* App Server Cache
  • 13. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 App Server Cache C* C* App Server Cache session
  • 14. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 C* C* App Server Cache session
  • 15. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 C* C* App Server Cache session
  • 16. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 C* C* App Server Cache session
  • 17. Company Confidential© 2015 DataStax, All Rights Reserved. Application Tier Resilience Example: A Single Session DC NY1 DC NY2 • Stateless ➜ fault tolerant • Horizontally scalable • Store sessions in Cassandra • Sessions replicate naturally • Recover on disaster / failure • UI ➜ intelligently stateful • Active in recovery / failover 9 C* C* App Server Cache session
  • 18. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 19. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 20. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 21. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 22. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 23. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App
  • 24. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App ❓
  • 25. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App❌
  • 26. Company Confidential© 2015 DataStax, All Rights Reserved. A Resilient Enterprise Architecture 10 DC NY1 C* DC NY2 C* DC LDN1 C* DC LDN2 C* …DC NY1 App App App App DC LDN2 App App App App❌
  • 27. Company Confidential© 2015 DataStax, All Rights Reserved. 11 Authentication & Authorization DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 28. Company Confidential© 2015 DataStax, All Rights Reserved. 11 Authentication & Authorization DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App …… session?
  • 29. Company Confidential© 2015 DataStax, All Rights Reserved. 11 Authentication & Authorization DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App …… session?
  • 30. Company Confidential© 2015 DataStax, All Rights Reserved. 11 Authentication & Authorization session DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 31. Company Confidential© 2015 DataStax, All Rights Reserved. quote? 11 Authentication & Authorization session DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 32. Company Confidential© 2015 DataStax, All Rights Reserved. quote? 11 Authentication & Authorization session DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 33. Company Confidential© 2015 DataStax, All Rights Reserved. quote 11 Authentication & Authorization session DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 34. Company Confidential© 2015 DataStax, All Rights Reserved. quote 11 Authentication & Authorization session DC LDN1 C* DC LDN2 C* DC AMS1 C* DC ZUR1 C* DSE Cluster Web User App Services DC LDN2 App App App App DC AMS1 App App App App ……
  • 35. Company Confidential© 2015 DataStax, All Rights Reserved. 12 1 Introductions 2 Resilient Architectures 3 Monolithic to µ 4 LUST 5 Questions?
  • 36. Company Confidential© 2015 DataStax, All Rights Reserved. ✅ Simple to develop ✅ Simple to deploy ✅ One Team, One Dream ⚠ Large code base: difficulty ⚠ Single code base: collisions ⚠ Long term commitments The Monolithic Server 13 Users Monolithic Database Monolithic Application Trading Analytics Authentication Authorization Data Access UIs
  • 37. Company Confidential© 2015 DataStax, All Rights Reserved. Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface. – Douglas McIlroy (1994) Source: The Art of Unix Programming by Eric Steven Raymond http://www.faqs.org/docs/artu/ch01s06.html The UNIX Philosophy 14
  • 38. Company Confidential© 2015 DataStax, All Rights Reserved. ✅ Team ➜ product lifecycle ✅ Fault isolation ✅ Best technology for purpose ⚠ Deployments? ⚠ Interservice communication? ⚠ Additional points of failure Microservices – Mark One 15 UIs — Web Native — Desktop Mobile µServices Trading Analytics Authentication Authorization Storage Trading Analytics Authentication Authorization
  • 39. Company Confidential© 2015 DataStax, All Rights Reserved. ✅ Avoid single points of failure ✅ Interservice communication ➜ decoupled ⚠ Deployments? Tools, a topic for next time. Microservices – Mark Twain 16 UIs — Web Native — Desktop Mobile µServices Trading Analytics Authentication Authorization Messages Storage C*
  • 40. Company Confidential© 2015 DataStax, All Rights Reserved. We've Always Been at War with Eurasia 17
  • 41. Company Confidential© 2015 DataStax, All Rights Reserved. 18 1 Introductions 2 Resilient Architectures 3 Monolithic to µ 4 LUST 5 Questions?
  • 42. Company Confidential© 2015 DataStax, All Rights Reserved. LUdicrously Simplified Trading LUST – Your App! Sales & Trading 19 UIs App Services Desk Services Desk UIs Back Office Settlement Reporting Accounting Clearing Middle Office Market Risk Confirmation Booking Credit Risk Pricing Risk MonitorPositions Trading Data Services Market Data Reference Data Research Analytics Authentication Authorization Messages
  • 43. Company Confidential© 2015 DataStax, All Rights Reserved. Any organization that designs a system…will inevitably produce a design whose structure is a copy of the organization's communication structure. – Melvin E. Conway (1968) Source: How Do Committees Invent? by Melvin E. Conway http://www.melconway.com/research/committees.html Conway’s Law 20
  • 44. Company Confidential© 2015 DataStax, All Rights Reserved. Pre-trade Execution Post-trade The (Abridged) Life & Times of a Trade 21 Pricing Risk Monitor Analytics Trading Routing Enrichment Clearing Settlement Accounting Reporting Market Data Portfolio Data Reference Data
  • 45. Company Confidential© 2015 DataStax, All Rights Reserved. LUST in the Time of Microservices 22 µServices Key UK FX Trading USA Equities Trading Authentication Authorization A F E DC NY1 A F F DC LDN1 A F E C* C* USA Equities UK FX
  • 46. Company Confidential© 2015 DataStax, All Rights Reserved. Unify & Scale Legacy Infrastructure 23 …USA Equities UK FX UK Bonds Global Users Legacy Systems USA FX DataStax Enterprise ClusterC* User Interface / Application Services
  • 47. Company Confidential© 2015 DataStax, All Rights Reserved. • Microservices with Node.js and Apache Cassandra by Jorge Bay Gondra – http://www.datastax.com/on-demand/microservices-with-node-js-and-cassandra • Winning Integration Architectures with Apache Camel by Jakub Korab – https://vimeo.com/138868846 • Microservices by Martin Fowler – http://martinfowler.com/articles/microservices.html • Microservices in a Nutshell by James Lewis & Martin Fowler – https://www.thoughtworks.com/insights/blog/microservices-nutshell • Visit the DataStax Academy for free online courses – http://academy.datastax.com/ Sources & Additional Information 24