SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Meetup
Journey to Event-Driven Architecture
Suraj Pillai
Senior Solutions Engineer
Confluent
/suraj-pillai-confluent
Normal
Applications
(i.e., monoliths)
Monoliths
are hard to
think about
Monoliths
are hard to
change
5
Re-
integration
There are no good
ways to integrate
microservices
Filesystem
Database
Integrating
Microservices
through the
database
● “I have a database and I know how to use it.”
● Eventually causes services to co-mingle.
● Violation the «bounded context»
● Great to use inside a service boundary!
● Terrible for sharing data or negotiating change.
RPC
Integrating
microservices via
RPC
● Avoids problems of database integration
● Feels natural
● Aligns with the request/response paradigm
● Problem: cascading failures
● Question: how do you debug this system?
● Answer: you build a log.
🤔
Events?
What’s an
event?
A shared narrative describing the
evolution of the business
over time
A combination of:
Notification
State transfer
What’s an event?
Also,
events
are immutable.
What’s an event?
There has been a revolution; organizations must become real time;
to become real time, they must become event driven
Transitioning to event-first thinking
Event-first thinking changes how you think about what you are building
Event-first analog: I walk into a room, generate an “entered room” event and the light turns on.
This is a reaction to an event.
Event-command analog: I walk into a room, flip the light switch and the light turns on. This is a
command.
Event-command pattern
Event-first pattern
Event-first pattern
Benefits of the event-first approach
● Decoupling: Processors don’t know anything about upstream or downstream processors
● Encapsulation: There are clean boundaries between processors.
● Evolutionary change: The system and events can change over time.
● Event sourcing: When using a log and log-aware stream processors, we gain the ability to
potentially rebuild and restore application state.
Evolution of
Financial Services
60’s -90’s
Mainframe
Observations:
1. Primary used for reconciliation
and bookkeeping functions.
2. Long EOD processes
3. Clearing functions largely
manual.
4. Reduced fraud between
collection and reconciliation.
5. Allowed for easier and more
accurate bookkeeping and
profit reporting.
6. Gave the birth to a generation
of super-tellers
7. Most if not all functionalities
within mainframe.
3270
26
The early 90’s
Mainframe
Observations:
1. GUI interface at branch
resulting in higher productivity.
2. Newer services available at
branches
3. Lowered cost of operations.
4. Clearance & settlement
activities become faster.
5. EOD becomes faster and
streamlined.
6. Newer challenges - cost of
operations of branches, cash
handling, IT teams at branches
and HQ.
7. Risk management - Basel
Accords come into existence.
Normal rule based haircuts
imposed.
3270
Branch
Teller
Systems
Branch
Server
MQ
27
The mid 90’s
Mainframe
Observations:
1. GUI interface at branch
resulting in higher productivity.
2. Newer services available at
branches
3. Lowered cost of operations.
4. Clearance & settlement
activities become faster.
5. EOD becomes faster and
streamlined.
6. Newer challenges - cost of
operations of branches, cash
handling, IT teams at branches
and HQ.
7. A new thing called the internet
makes an appearance.
8. ERP systems optimise back-
office functions.
3270
Branch
Teller
Systems
Branch
Server
MQ
ATM Website
Tandem - Base24
ISO 8583
HR Finance Risk
Custom
28
The first decade of the 2000’s
Core
Banking
Observations:
1. Emergence of Core Banking
players and tremendous
optimisation of banking
operations.
2. Introduction of SOA & ESB
patterns resulting in scale and
unbundling of capabilities.
3. Emergence of new channels -
Internet and in the later half
mobile.
4. Fraud and Anti-money
laundering systems make an
entry.
5. Large IT teams and outsourcing
contracts.
6. Systems evolve into monoliths
and become difficult to change.
7. Banks become super powerful
as controllers of data and
customer information.
8. Emergence of Silicon Valley
9. Real-time payments emerge.
10. 24 x 7 services arrive.
Contact
Center
Core
enabled
branches
ATM
Internet
Banking
Tandem - Base24 HR
Finance Risk
Mobile
Banking
Account Origination Enterprise Data Warehousing
Liquidity Management Customer 360 CRM
Doc Mgmt. Campaign Mgmt. Business Analytics
ESB/ Integration Layer
Payments Credit Card AML/Fraud
SOA
Layer
29
The second decade of the 2000’s
Core
Banking
Observations:
1. The platform ecosystem
becomes the primary
acquisition and servicing
engine.
2. APIs reduce the cost of
transactions dramatically.
3. Microservices and event
driven architectures makes
features and functions de-
coupled which enables
faster change to systems &
processes and also faster
time to market for new
apps.
4. Security, fraud, risk & AML
become more real-time
5. Newer sources of revenue
emerge.
6. Payments becomes a
different business for banks.
7. Silicon Valley leads and IS
the competitor.
8. Insourcing happens at scale.
9. COVID -19 hastens digital
transformation as electronic
transactions dominate.
10. Cloud and Hybrid Cloud
Contact
Center
Core enabled
branches
ATM
Internet
Banking
Tandem - Base24 HR
Finance Risk
Mobile
Banking
ESB Layer
Payments Credit Card AML/Fraud
Ecosystem
External API layer
Customer
microservice
Product
Notification
Cross-Sell
Payment
Streaming Caching Internal API GW
Data Lake
Personalisation
Cust
360
Gov
Services
Microservices
30
Kafka- Event
Streaming
Platform
Streaming Platform
Pub / Sub
Storage
Processing
Summary:
1. Kafka used for event-
driven multi-legged
transactions spanning
Validation, Fraud
Detection, etc etc
2. Microservices developed
in Kstreams
3. Kafka Connect used to
connect other systems
such as Mainframes via
IBM MQ
Payment - Post Payment
API
Management
Layer
Validation
Fraud
Compliance
Mainframe
Payment
Commit
Connect
POST
/payment
Event-driven payment processing
Summary:
1. Get Payment status service
2. This KStreams service
joins data from multiple
Kafka topics
3. A materialized cache is
created in Kafka (indicated
by the “green” topic) which
has details on the payment
status. This data can then
be stored in a DB or
consumed by downstream
microservices
Payment- Get Payment Status
API
Management
Layer
Fraud Compliance Enrichment
Payment
Tracking
GET
/payment/{id}
Consume Events
Four pillars of event streaming
1. Business function: The payment processing pipeline
2. Instrumentation plane: How much money is transferred? How quickly are payments processed?
3. Control plane: Patterns to start, stop, pause, coordinate and autoscale
4. Operational plane: Dead letter queues (DLQs), error tracking & handling, deployment, config
management
Thank You
/suraj-pillai-confluent

Weitere ähnliche Inhalte

Mehr von confluent

Citi TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep DiveCiti TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep Diveconfluent
 
Build real-time streaming data pipelines to AWS with Confluent
Build real-time streaming data pipelines to AWS with ConfluentBuild real-time streaming data pipelines to AWS with Confluent
Build real-time streaming data pipelines to AWS with Confluentconfluent
 
Q&A with Confluent Professional Services: Confluent Service Mesh
Q&A with Confluent Professional Services: Confluent Service MeshQ&A with Confluent Professional Services: Confluent Service Mesh
Q&A with Confluent Professional Services: Confluent Service Meshconfluent
 
Citi Tech Talk: Event Driven Kafka Microservices
Citi Tech Talk: Event Driven Kafka MicroservicesCiti Tech Talk: Event Driven Kafka Microservices
Citi Tech Talk: Event Driven Kafka Microservicesconfluent
 
Confluent & GSI Webinars series - Session 3
Confluent & GSI Webinars series - Session 3Confluent & GSI Webinars series - Session 3
Confluent & GSI Webinars series - Session 3confluent
 
Citi Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging ModernizationCiti Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging Modernizationconfluent
 
Citi Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time dataCiti Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time dataconfluent
 
Confluent & GSI Webinars series: Session 2
Confluent & GSI Webinars series: Session 2Confluent & GSI Webinars series: Session 2
Confluent & GSI Webinars series: Session 2confluent
 
Data In Motion Paris 2023
Data In Motion Paris 2023Data In Motion Paris 2023
Data In Motion Paris 2023confluent
 
Confluent Partner Tech Talk with Synthesis
Confluent Partner Tech Talk with SynthesisConfluent Partner Tech Talk with Synthesis
Confluent Partner Tech Talk with Synthesisconfluent
 
The Future of Application Development - API Days - Melbourne 2023
The Future of Application Development - API Days - Melbourne 2023The Future of Application Development - API Days - Melbourne 2023
The Future of Application Development - API Days - Melbourne 2023confluent
 
The Playful Bond Between REST And Data Streams
The Playful Bond Between REST And Data StreamsThe Playful Bond Between REST And Data Streams
The Playful Bond Between REST And Data Streamsconfluent
 
The Journey to Data Mesh with Confluent
The Journey to Data Mesh with ConfluentThe Journey to Data Mesh with Confluent
The Journey to Data Mesh with Confluentconfluent
 
Citi Tech Talk: Monitoring and Performance
Citi Tech Talk: Monitoring and PerformanceCiti Tech Talk: Monitoring and Performance
Citi Tech Talk: Monitoring and Performanceconfluent
 
Confluent Partner Tech Talk with Reply
Confluent Partner Tech Talk with ReplyConfluent Partner Tech Talk with Reply
Confluent Partner Tech Talk with Replyconfluent
 
Citi Tech Talk Disaster Recovery Solutions Deep Dive
Citi Tech Talk  Disaster Recovery Solutions Deep DiveCiti Tech Talk  Disaster Recovery Solutions Deep Dive
Citi Tech Talk Disaster Recovery Solutions Deep Diveconfluent
 
Citi Tech Talk: Hybrid Cloud
Citi Tech Talk: Hybrid CloudCiti Tech Talk: Hybrid Cloud
Citi Tech Talk: Hybrid Cloudconfluent
 
Partner Tech Talk Q3: Q&A with PS - Migration and Upgrade
Partner Tech Talk Q3: Q&A with PS - Migration and UpgradePartner Tech Talk Q3: Q&A with PS - Migration and Upgrade
Partner Tech Talk Q3: Q&A with PS - Migration and Upgradeconfluent
 
Confluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKConfluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKconfluent
 
Real-time Streaming for Government and the Public Sector
Real-time Streaming for Government and the Public SectorReal-time Streaming for Government and the Public Sector
Real-time Streaming for Government and the Public Sectorconfluent
 

Mehr von confluent (20)

Citi TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep DiveCiti TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep Dive
 
Build real-time streaming data pipelines to AWS with Confluent
Build real-time streaming data pipelines to AWS with ConfluentBuild real-time streaming data pipelines to AWS with Confluent
Build real-time streaming data pipelines to AWS with Confluent
 
Q&A with Confluent Professional Services: Confluent Service Mesh
Q&A with Confluent Professional Services: Confluent Service MeshQ&A with Confluent Professional Services: Confluent Service Mesh
Q&A with Confluent Professional Services: Confluent Service Mesh
 
Citi Tech Talk: Event Driven Kafka Microservices
Citi Tech Talk: Event Driven Kafka MicroservicesCiti Tech Talk: Event Driven Kafka Microservices
Citi Tech Talk: Event Driven Kafka Microservices
 
Confluent & GSI Webinars series - Session 3
Confluent & GSI Webinars series - Session 3Confluent & GSI Webinars series - Session 3
Confluent & GSI Webinars series - Session 3
 
Citi Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging ModernizationCiti Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging Modernization
 
Citi Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time dataCiti Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time data
 
Confluent & GSI Webinars series: Session 2
Confluent & GSI Webinars series: Session 2Confluent & GSI Webinars series: Session 2
Confluent & GSI Webinars series: Session 2
 
Data In Motion Paris 2023
Data In Motion Paris 2023Data In Motion Paris 2023
Data In Motion Paris 2023
 
Confluent Partner Tech Talk with Synthesis
Confluent Partner Tech Talk with SynthesisConfluent Partner Tech Talk with Synthesis
Confluent Partner Tech Talk with Synthesis
 
The Future of Application Development - API Days - Melbourne 2023
The Future of Application Development - API Days - Melbourne 2023The Future of Application Development - API Days - Melbourne 2023
The Future of Application Development - API Days - Melbourne 2023
 
The Playful Bond Between REST And Data Streams
The Playful Bond Between REST And Data StreamsThe Playful Bond Between REST And Data Streams
The Playful Bond Between REST And Data Streams
 
The Journey to Data Mesh with Confluent
The Journey to Data Mesh with ConfluentThe Journey to Data Mesh with Confluent
The Journey to Data Mesh with Confluent
 
Citi Tech Talk: Monitoring and Performance
Citi Tech Talk: Monitoring and PerformanceCiti Tech Talk: Monitoring and Performance
Citi Tech Talk: Monitoring and Performance
 
Confluent Partner Tech Talk with Reply
Confluent Partner Tech Talk with ReplyConfluent Partner Tech Talk with Reply
Confluent Partner Tech Talk with Reply
 
Citi Tech Talk Disaster Recovery Solutions Deep Dive
Citi Tech Talk  Disaster Recovery Solutions Deep DiveCiti Tech Talk  Disaster Recovery Solutions Deep Dive
Citi Tech Talk Disaster Recovery Solutions Deep Dive
 
Citi Tech Talk: Hybrid Cloud
Citi Tech Talk: Hybrid CloudCiti Tech Talk: Hybrid Cloud
Citi Tech Talk: Hybrid Cloud
 
Partner Tech Talk Q3: Q&A with PS - Migration and Upgrade
Partner Tech Talk Q3: Q&A with PS - Migration and UpgradePartner Tech Talk Q3: Q&A with PS - Migration and Upgrade
Partner Tech Talk Q3: Q&A with PS - Migration and Upgrade
 
Confluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKConfluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIK
 
Real-time Streaming for Government and the Public Sector
Real-time Streaming for Government and the Public SectorReal-time Streaming for Government and the Public Sector
Real-time Streaming for Government and the Public Sector
 

Kürzlich hochgeladen

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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 Scriptwesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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...Miguel Araújo
 
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...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Kürzlich hochgeladen (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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 Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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...
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Journey to Event Driven Architecture

  • 1. Meetup Journey to Event-Driven Architecture Suraj Pillai Senior Solutions Engineer Confluent /suraj-pillai-confluent
  • 6. There are no good ways to integrate microservices
  • 8.
  • 10. Integrating Microservices through the database ● “I have a database and I know how to use it.” ● Eventually causes services to co-mingle. ● Violation the «bounded context» ● Great to use inside a service boundary! ● Terrible for sharing data or negotiating change.
  • 11. RPC
  • 12. Integrating microservices via RPC ● Avoids problems of database integration ● Feels natural ● Aligns with the request/response paradigm ● Problem: cascading failures ● Question: how do you debug this system? ● Answer: you build a log. 🤔
  • 15. A shared narrative describing the evolution of the business over time
  • 16. A combination of: Notification State transfer What’s an event?
  • 18. There has been a revolution; organizations must become real time; to become real time, they must become event driven
  • 19. Transitioning to event-first thinking Event-first thinking changes how you think about what you are building
  • 20. Event-first analog: I walk into a room, generate an “entered room” event and the light turns on. This is a reaction to an event. Event-command analog: I walk into a room, flip the light switch and the light turns on. This is a command.
  • 24. Benefits of the event-first approach ● Decoupling: Processors don’t know anything about upstream or downstream processors ● Encapsulation: There are clean boundaries between processors. ● Evolutionary change: The system and events can change over time. ● Event sourcing: When using a log and log-aware stream processors, we gain the ability to potentially rebuild and restore application state.
  • 26. 60’s -90’s Mainframe Observations: 1. Primary used for reconciliation and bookkeeping functions. 2. Long EOD processes 3. Clearing functions largely manual. 4. Reduced fraud between collection and reconciliation. 5. Allowed for easier and more accurate bookkeeping and profit reporting. 6. Gave the birth to a generation of super-tellers 7. Most if not all functionalities within mainframe. 3270 26
  • 27. The early 90’s Mainframe Observations: 1. GUI interface at branch resulting in higher productivity. 2. Newer services available at branches 3. Lowered cost of operations. 4. Clearance & settlement activities become faster. 5. EOD becomes faster and streamlined. 6. Newer challenges - cost of operations of branches, cash handling, IT teams at branches and HQ. 7. Risk management - Basel Accords come into existence. Normal rule based haircuts imposed. 3270 Branch Teller Systems Branch Server MQ 27
  • 28. The mid 90’s Mainframe Observations: 1. GUI interface at branch resulting in higher productivity. 2. Newer services available at branches 3. Lowered cost of operations. 4. Clearance & settlement activities become faster. 5. EOD becomes faster and streamlined. 6. Newer challenges - cost of operations of branches, cash handling, IT teams at branches and HQ. 7. A new thing called the internet makes an appearance. 8. ERP systems optimise back- office functions. 3270 Branch Teller Systems Branch Server MQ ATM Website Tandem - Base24 ISO 8583 HR Finance Risk Custom 28
  • 29. The first decade of the 2000’s Core Banking Observations: 1. Emergence of Core Banking players and tremendous optimisation of banking operations. 2. Introduction of SOA & ESB patterns resulting in scale and unbundling of capabilities. 3. Emergence of new channels - Internet and in the later half mobile. 4. Fraud and Anti-money laundering systems make an entry. 5. Large IT teams and outsourcing contracts. 6. Systems evolve into monoliths and become difficult to change. 7. Banks become super powerful as controllers of data and customer information. 8. Emergence of Silicon Valley 9. Real-time payments emerge. 10. 24 x 7 services arrive. Contact Center Core enabled branches ATM Internet Banking Tandem - Base24 HR Finance Risk Mobile Banking Account Origination Enterprise Data Warehousing Liquidity Management Customer 360 CRM Doc Mgmt. Campaign Mgmt. Business Analytics ESB/ Integration Layer Payments Credit Card AML/Fraud SOA Layer 29
  • 30. The second decade of the 2000’s Core Banking Observations: 1. The platform ecosystem becomes the primary acquisition and servicing engine. 2. APIs reduce the cost of transactions dramatically. 3. Microservices and event driven architectures makes features and functions de- coupled which enables faster change to systems & processes and also faster time to market for new apps. 4. Security, fraud, risk & AML become more real-time 5. Newer sources of revenue emerge. 6. Payments becomes a different business for banks. 7. Silicon Valley leads and IS the competitor. 8. Insourcing happens at scale. 9. COVID -19 hastens digital transformation as electronic transactions dominate. 10. Cloud and Hybrid Cloud Contact Center Core enabled branches ATM Internet Banking Tandem - Base24 HR Finance Risk Mobile Banking ESB Layer Payments Credit Card AML/Fraud Ecosystem External API layer Customer microservice Product Notification Cross-Sell Payment Streaming Caching Internal API GW Data Lake Personalisation Cust 360 Gov Services Microservices 30
  • 32. Streaming Platform Pub / Sub Storage Processing
  • 33. Summary: 1. Kafka used for event- driven multi-legged transactions spanning Validation, Fraud Detection, etc etc 2. Microservices developed in Kstreams 3. Kafka Connect used to connect other systems such as Mainframes via IBM MQ Payment - Post Payment API Management Layer Validation Fraud Compliance Mainframe Payment Commit Connect POST /payment
  • 35. Summary: 1. Get Payment status service 2. This KStreams service joins data from multiple Kafka topics 3. A materialized cache is created in Kafka (indicated by the “green” topic) which has details on the payment status. This data can then be stored in a DB or consumed by downstream microservices Payment- Get Payment Status API Management Layer Fraud Compliance Enrichment Payment Tracking GET /payment/{id} Consume Events
  • 36. Four pillars of event streaming 1. Business function: The payment processing pipeline 2. Instrumentation plane: How much money is transferred? How quickly are payments processed? 3. Control plane: Patterns to start, stop, pause, coordinate and autoscale 4. Operational plane: Dead letter queues (DLQs), error tracking & handling, deployment, config management