SlideShare a Scribd company logo
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

PDF
Beyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
PDF
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
PDF
Containers: Unleashing Government Innovation - Ashesh Badani
PPTX
Dev opscon survey summary 2013
PDF
Red Hat OpenShift - a foundation for successful digital transformation
PPTX
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
PDF
Pragmatic Guide to Apache Kafka®'s Exactly Once Semantics
PDF
Long Term Support the Eclipse Way
Beyond the Operating System: Red Hat's Open Strategy for the Modern Enterprise
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
Containers: Unleashing Government Innovation - Ashesh Badani
Dev opscon survey summary 2013
Red Hat OpenShift - a foundation for successful digital transformation
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
Pragmatic Guide to Apache Kafka®'s Exactly Once Semantics
Long Term Support the Eclipse Way

Similar to Resilient Microservices for Finance with DataStax Enterprise & Apache Cassandra – 20151027 (20)

PDF
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
PDF
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
PDF
Highly available, scalable and secure data with Cassandra and DataStax Enterp...
PPTX
The Big Data Ecosystem for Financial Services
PPTX
ProtectWise Revolutionizes Enterprise Network Security in the Cloud with Data...
PPTX
How much money do you lose every time your ecommerce site goes down?
PDF
DataStax GeekNet Webinar - Apache Cassandra: Enterprise NoSQL
PDF
Slides: Relational to NoSQL Migration
PDF
201504 securing cassandraanddse
PPTX
DataStax
PDF
Cassandra Day London 2015: Securing Cassandra and DataStax Enterprise
PPTX
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
PDF
State of Cassandra 2012
PPTX
Webinar: DataStax Managed Cloud: focus on innovation, not administration
PPTX
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
PPTX
Webinar: ROI on Big Data - RDBMS, NoSQL or Both? A Simple Guide for Knowing H...
PDF
Security Challenges in Cloud Integration - Cloud Security Alliance, Austin Ch...
PPTX
How to get Real-Time Value from your IoT Data - Datastax
PPTX
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
PDF
Leveraging Cassandra for real-time multi-datacenter public cloud analytics
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...
The Big Data Ecosystem for Financial Services
ProtectWise Revolutionizes Enterprise Network Security in the Cloud with Data...
How much money do you lose every time your ecommerce site goes down?
DataStax GeekNet Webinar - Apache Cassandra: Enterprise NoSQL
Slides: Relational to NoSQL Migration
201504 securing cassandraanddse
DataStax
Cassandra Day London 2015: Securing Cassandra and DataStax Enterprise
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
State of Cassandra 2012
Webinar: DataStax Managed Cloud: focus on innovation, not administration
Webinar - Delivering Enhanced Message Processing at Scale With an Always-on D...
Webinar: ROI on Big Data - RDBMS, NoSQL or Both? A Simple Guide for Knowing H...
Security Challenges in Cloud Integration - Cloud Security Alliance, Austin Ch...
How to get Real-Time Value from your IoT Data - Datastax
Webinar: The Performance Challenge: Providing an Amazing Customer Experience ...
Leveraging Cassandra for real-time multi-datacenter public cloud analytics
Ad

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
assetexplorer- product-overview - presentation
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Digital Strategies for Manufacturing Companies
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Nekopoi APK 2025 free lastest update
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
ai tools demonstartion for schools and inter college
PPTX
CHAPTER 2 - PM Management and IT Context
Reimagine Home Health with the Power of Agentic AI​
Upgrade and Innovation Strategies for SAP ERP Customers
2025 Textile ERP Trends: SAP, Odoo & Oracle
Understanding Forklifts - TECH EHS Solution
assetexplorer- product-overview - presentation
Softaken Excel to vCard Converter Software.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Digital Systems & Binary Numbers (comprehensive )
Design an Analysis of Algorithms II-SECS-1021-03
Digital Strategies for Manufacturing Companies
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Navsoft: AI-Powered Business Solutions & Custom Software Development
Operating system designcfffgfgggggggvggggggggg
Nekopoi APK 2025 free lastest update
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Computer Software and OS of computer science of grade 11.pptx
ai tools demonstartion for schools and inter college
CHAPTER 2 - PM Management and IT Context
Ad

Resilient Microservices for Finance with DataStax Enterprise & Apache Cassandra – 20151027

  • 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