SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
Application Modernisation
through
Event-Driven Microservices
Rishi Doerga
Senior Solutions Engineer
Agenda
2
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
Tenets for Faster
Application Development
3
Eliminate
Dependencies
Reduce
Technical Debt
and TCO
Build and
Integrate
Scalable Apps
Agenda
4
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
The origin of monolithic apps
User Interface
Business Logic
Data Layer
Server app
● Short term benefit: Quick time to
value
● Ideal for small orgs/developer
teams
● Single code repository to
manage
● Still being used in startups to
this day
6
Challenges with Monoliths …
Monolith
● Slow: Smallest change requires end-end testing
● Unreliable: A simple error can bring down the entire app
● Expensive: Changes to tech stack are expensive. Barrier
to adopting new programming frameworks
Services
Database
7
Microservices
● Faster release cycles: Smaller modules that can
Independently deployed and upgraded
● Improved Scalability and Reliability: Independently
scale services and recover from errors faster
● Developer autonomy: Choose the right programming
language and data store for each service
Services
Databases
Services
Database
… Have Led to the Adoption of Microservices
Monolith
● Slow: Smallest change requires end-end testing
● Unreliable: A simple error can bring down the entire app
● Expensive: Changes to tech stack are expensive. Barrier
to adopting new programming frameworks
Netflix: An early adopter of microservices
Reasons to Modernize (2009):
● Optimize for developer speed (new
features, bug fixes)
● Scale to the next order of magnitude
● 24/7 reliability
30+ independent teams 500+ microservices 2B API requests
Two Approaches
For Interservice
Communication
9
REST APIs
Synchronous request/response communication
Messaging Queues
Synchronous or asynchronous communication
Service 4
Service 3
Challenges with Using REST APIs for Interservice
Communication
1
0
REST APIs
Synchronous request/response
Challenges
● Slow
Tight coupling means business logic
is rewritten to add new services.
● Unreliable
Requires costly linear scaling.
Unexpected errors are difficult to
recover from.
● Expensive
High operational overhead of
managing services, at scale.
Service 2
Service 5
Service 6
Service 1
API
API
API
API
API
API
Challenges with Using Message Queues for
Interservice Communication
11
Messaging Queues
Synchronous or asynchronous
communication
Challenges
● Slow
Lack a common structure, leads
to inter-team dependencies.
● Unreliable
Cannot scale dynamically.
Ephemeral persistence.
● Expensive
Cannot easily integrate with
cloud-native apps.
Service 2
Service 5
Service 4
Service 3
Service 6
Service 1
Messaging Queues
(No common structure to share data, lacks
built-in stream processing, ephemeral
message persistence, low fault-tolerance)
Agenda
12
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
The Foundational Assumption of Every Database:
Data at Rest
Data at rest
Slow, daily
batch processing
Simple, static
real-time queries
Databases
Paradigm for Data in Motion: Event Streams
14
Rich customer
experiences
Real-time
events
Real-time
Event Streams
Cyber Sensor
Healthcare Citizen
Data driven
operations
1
5
Paradigm for Data in Motion: Event Streams
1
6
Using a command processor
1
7
Fully
Decoupled
Paradigm for Data in Motion: Event Streams
Confluent enables the new class of
event-driven microservices
1
8
Why Build with Confluent
Asynchronous service
communication and
development
• Decoupled communication
• Pub/Sub messaging
• Elastic scalability
• Persistent storage
• Process data in flight and
real-time
Service 2
Service 5
Service 6
Service 1
Service 4
Service 3
Agenda
19
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
Confluent Cloud
Cloud-native data streaming platform built
by the founders of Apache Kafka®
Everywhere
Connect your data in real
time with a platform that
spans from on-prem to
cloud and across clouds
Complete
Go above & beyond Kafka
with all the essential tools
for a complete data
streaming platform
Cloud-Native
Apache Kafka©, fully
managed and re-
architected to harness
the power of the cloud
Stream confidently on the world’s most trusted data streaming platform built by the founders of
Apache Kafka©, with resilience, security, compliance, and privacy built-in by default.
2
0
…enabling you to deploy, operate, and scale in
minutes instead of months
Kafka re-architected to be truly Cloud-Native
2
1
Months Minutes
Weeks
Open Source
Apache Kafka
In-house development and
maintenance without support
Self-managed
Kafka Services
Manual operations with basic
tooling and/or support
Confluent
Cloud
Fully managed, elastic,
and automated product
capabilities with zero overhead
Free trial of Confluent Cloud
22
Why Confluent?
Schema Registry: Eliminate interservice
bottlenecks and dependencies, with a
centralized schema repository
Confluent Cloud: Remove the operational
hassles for cluster management, with a
cloud-native service
ksqlDB: Build real-time contextual
applications, with an event-streaming
database
Increase Developer Velocity
1
Schema Registry: Eliminate interservice
bottlenecks and dependencies, with a
centralized schema repository
Confluent Cloud: Remove the operational
hassles for cluster management, with a
cloud-native service
ksqlDB: Build real-time contextual
applications, with an event-streaming
database
Increase Developer Velocity
1
Build Highly Reliable and
Fault Tolerant Microservices
Infinite Storage: A system for record for
systems and applications
Multi-Region Clusters: Run a single
cluster across multiple DCs for
disaster recovery and high availability
End-to-end Stream Governance:
Discover, understand and trust your data
streams with a fully managed suite
2
Why Confluent?
Schema Registry: Eliminate interservice
bottlenecks and dependencies, with a
centralized schema repository
Confluent Cloud: Remove the operational
hassles for cluster management, with a
cloud-native service
ksqlDB: Build real-time contextual
applications, with an event-streaming
database
Increase Developer Velocity
Build Highly Reliable and
Fault Tolerant Microservices
Reduce Technical Debt and
Messaging TCO
Infinite Storage: A system for record for
systems and applications
Multi-Region Clusters: Run a single
cluster across multiple DCs for
disaster recovery and high availability
End-to-end Stream Governance:
Discover, understand and trust your data
streams with a fully managed suite
200+ Connectors: Leverage CDC, JMS and
JDBC connectors to unlock data from
legacy applications
Cluster Linking: Geo-replicate data and
bridge to cloud, by linking clusters across
hybrid and multicloud environments
1 2 3
Committer-driven Expertise: Support
your migration and modernization journey
with our assistance
Why Confluent?
Agenda
26
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
How we do it:
a Retail Example
E-Commerce Application
(Monolith)
2
8
Catalog
Order
Payment
On-Prem Monolith
(E-commerce App)
Load
Balancer
Client/Web
Application
Writes
Reads
Writes
Reads
Step 1: Route Reads to
Catalog Microservice
2
9
Catalog
Order
Payment
On-Prem Monolith
(E-commerce App)
Load
Balancer
Client/Web
Application
Writes to
Catalog module
Other Writes
and Reads
Writes
Reads
Writes
CDC Source
Connector
Streams (Reads)
Reads from
Microservice
Partially replaces
Catalog Module
Cloud Native
Catalog Microservice
Step 2: Fully Replace
Catalog Module
3
0
Order
Payment
On-Prem Monolith
(E-commerce App)
Load
Balancer
Client/Web
Application
Other Writes
and Reads
Writes
Reads
Writes
CDC Source +Sink
Connector
Cloud Native
Catalog Microservice
Streams (Reads)
Reads from
Microservice
Reads
Streams (Writes)
Writes to
Microservice
Third Party Consumer Apps
How we do it?
a Banking Example
Banking Reference
Architecture (Traditional)
3
2
Transaction Query Invalid Operation Query
Batch Process
Monolith
Payment Module
Customer
Module
Transaction
Module
Step 1. Route Reads to
Payment Microservice
3
3
Payment
Module
Transaction
Module
Monolith
ksqlDB
Payment Stream
Customer Stream
Transaction Stream
Authorization Stream
Invalid Operation
Stream
Schema
Registry
CDC
Connector
JMS
Connector
Customer
Module
Payment
Microservice
Transaction Query Invalid Operation Query
Step 2. Fully Replace
Payment Module
3
4
Transaction
Module
Monolith
ksqlDB
Payment Stream
Customer Stream
Transaction Stream
Authorization Stream
Invalid Operation
Stream
Schema
Registry
CDC
Connector
JMS
Connector
Customer
Module
Transaction Query Invalid Operation Query
Payment
Microservice
Agenda
35
2. Challenges with Monoliths
and Interservice Communication
1. Tenets for Faster Application
Development
3. Event driven architecture
using Kafka
4. Key Benefits from Confluent
5. How we do it?
6. Q&A
Thank you!
Application Modernisation through Event-Driven Microservices

Contenu connexe

Similaire à Application Modernisation through Event-Driven Microservices

apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays
 
Disruptive Trends in Application Development
Disruptive Trends in Application DevelopmentDisruptive Trends in Application Development
Disruptive Trends in Application DevelopmentWaveMaker, Inc.
 
Azure Modern Cloud App Development Approaches 2017
Azure Modern Cloud App Development Approaches 2017Azure Modern Cloud App Development Approaches 2017
Azure Modern Cloud App Development Approaches 2017Vadim Zendejas
 
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...HostedbyConfluent
 
Accelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateMichael Elder
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessAWS User Group Italy
 
Embracing Containers and Microservices for Future Proof Application Moderniza...
Embracing Containers and Microservices for Future Proof Application Moderniza...Embracing Containers and Microservices for Future Proof Application Moderniza...
Embracing Containers and Microservices for Future Proof Application Moderniza...Marlabs
 
Connect Ops and Security with Flexible Web App and API Protection
Connect Ops and Security with Flexible Web App and API ProtectionConnect Ops and Security with Flexible Web App and API Protection
Connect Ops and Security with Flexible Web App and API ProtectionDevOps.com
 
Citi Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging ModernizationCiti Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging Modernizationconfluent
 
OCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes LaunchOCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes LaunchPT Datacomm Diangraha
 
Spider & F5 Round Table - The Flexible Data Center
Spider & F5 Round Table - The Flexible Data CenterSpider & F5 Round Table - The Flexible Data Center
Spider & F5 Round Table - The Flexible Data CenterTzoori Tamam
 
Confluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKConfluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKconfluent
 
Exploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsExploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsLucy Zeniffer
 
App Modernization: From 0 to Hero
App Modernization: From 0 to HeroApp Modernization: From 0 to Hero
App Modernization: From 0 to HeroLorenzo Barbieri
 
Get the Message Across: Seamlessly Transport Data to Apps, Anywhere
Get the Message Across: Seamlessly Transport Data to Apps, AnywhereGet the Message Across: Seamlessly Transport Data to Apps, Anywhere
Get the Message Across: Seamlessly Transport Data to Apps, AnywhereVMware Tanzu
 
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreA Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreSimform
 
Developing Hybrid Cloud Applications
Developing Hybrid Cloud ApplicationsDeveloping Hybrid Cloud Applications
Developing Hybrid Cloud ApplicationsDaniel Berg
 
Think Small To Go Big - Introduction To Microservices
Think Small To Go Big - Introduction To MicroservicesThink Small To Go Big - Introduction To Microservices
Think Small To Go Big - Introduction To MicroservicesRyan Baxter
 
Day in the life event-driven workshop
Day in the life  event-driven workshopDay in the life  event-driven workshop
Day in the life event-driven workshopChristina Lin
 

Similaire à Application Modernisation through Event-Driven Microservices (20)

apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
 
Disruptive Trends in Application Development
Disruptive Trends in Application DevelopmentDisruptive Trends in Application Development
Disruptive Trends in Application Development
 
Azure Modern Cloud App Development Approaches 2017
Azure Modern Cloud App Development Approaches 2017Azure Modern Cloud App Development Approaches 2017
Azure Modern Cloud App Development Approaches 2017
 
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...
Kubernetes Connectivity to Cloud Native Kafka | Christina Lin and Evan Shorti...
 
Accelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud Private
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverless
 
Embracing Containers and Microservices for Future Proof Application Moderniza...
Embracing Containers and Microservices for Future Proof Application Moderniza...Embracing Containers and Microservices for Future Proof Application Moderniza...
Embracing Containers and Microservices for Future Proof Application Moderniza...
 
Connect Ops and Security with Flexible Web App and API Protection
Connect Ops and Security with Flexible Web App and API ProtectionConnect Ops and Security with Flexible Web App and API Protection
Connect Ops and Security with Flexible Web App and API Protection
 
Citi Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging ModernizationCiti Tech Talk: Messaging Modernization
Citi Tech Talk: Messaging Modernization
 
OCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes LaunchOCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes Launch
 
Spider & F5 Round Table - The Flexible Data Center
Spider & F5 Round Table - The Flexible Data CenterSpider & F5 Round Table - The Flexible Data Center
Spider & F5 Round Table - The Flexible Data Center
 
Confluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIKConfluent Partner Tech Talk with QLIK
Confluent Partner Tech Talk with QLIK
 
Exploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key ComponentsExploring Cloud Native Architecture: Its Benefits And Key Components
Exploring Cloud Native Architecture: Its Benefits And Key Components
 
App Modernization: From 0 to Hero
App Modernization: From 0 to HeroApp Modernization: From 0 to Hero
App Modernization: From 0 to Hero
 
Get the Message Across: Seamlessly Transport Data to Apps, Anywhere
Get the Message Across: Seamlessly Transport Data to Apps, AnywhereGet the Message Across: Seamlessly Transport Data to Apps, Anywhere
Get the Message Across: Seamlessly Transport Data to Apps, Anywhere
 
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreA Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
 
Developing Hybrid Cloud Applications
Developing Hybrid Cloud ApplicationsDeveloping Hybrid Cloud Applications
Developing Hybrid Cloud Applications
 
Think Small To Go Big - Introduction To Microservices
Think Small To Go Big - Introduction To MicroservicesThink Small To Go Big - Introduction To Microservices
Think Small To Go Big - Introduction To Microservices
 
Adopting the Cloud
Adopting the CloudAdopting the Cloud
Adopting the Cloud
 
Day in the life event-driven workshop
Day in the life  event-driven workshopDay in the life  event-driven workshop
Day in the life event-driven workshop
 

Plus de confluent

Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Santander Stream Processing with Apache Flink
Santander Stream Processing with Apache FlinkSantander Stream Processing with Apache Flink
Santander Stream Processing with Apache Flinkconfluent
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsUnlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsconfluent
 
Workshop híbrido: Stream Processing con Flink
Workshop híbrido: Stream Processing con FlinkWorkshop híbrido: Stream Processing con Flink
Workshop híbrido: Stream Processing con Flinkconfluent
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...confluent
 
AWS Immersion Day Mapfre - Confluent
AWS Immersion Day Mapfre   -   ConfluentAWS Immersion Day Mapfre   -   Confluent
AWS Immersion Day Mapfre - Confluentconfluent
 
Eventos y Microservicios - Santander TechTalk
Eventos y Microservicios - Santander TechTalkEventos y Microservicios - Santander TechTalk
Eventos y Microservicios - Santander TechTalkconfluent
 
Q&A with Confluent Experts: Navigating Networking in Confluent Cloud
Q&A with Confluent Experts: Navigating Networking in Confluent CloudQ&A with Confluent Experts: Navigating Networking in Confluent Cloud
Q&A with Confluent Experts: Navigating Networking in Confluent Cloudconfluent
 
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: 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
 

Plus de confluent (20)

Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Santander Stream Processing with Apache Flink
Santander Stream Processing with Apache FlinkSantander Stream Processing with Apache Flink
Santander Stream Processing with Apache Flink
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsUnlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insights
 
Workshop híbrido: Stream Processing con Flink
Workshop híbrido: Stream Processing con FlinkWorkshop híbrido: Stream Processing con Flink
Workshop híbrido: Stream Processing con Flink
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
 
AWS Immersion Day Mapfre - Confluent
AWS Immersion Day Mapfre   -   ConfluentAWS Immersion Day Mapfre   -   Confluent
AWS Immersion Day Mapfre - Confluent
 
Eventos y Microservicios - Santander TechTalk
Eventos y Microservicios - Santander TechTalkEventos y Microservicios - Santander TechTalk
Eventos y Microservicios - Santander TechTalk
 
Q&A with Confluent Experts: Navigating Networking in Confluent Cloud
Q&A with Confluent Experts: Navigating Networking in Confluent CloudQ&A with Confluent Experts: Navigating Networking in Confluent Cloud
Q&A with Confluent Experts: Navigating Networking in Confluent Cloud
 
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: 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
 

Dernier

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 

Dernier (20)

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 

Application Modernisation through Event-Driven Microservices

  • 2. Agenda 2 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A
  • 3. Tenets for Faster Application Development 3 Eliminate Dependencies Reduce Technical Debt and TCO Build and Integrate Scalable Apps
  • 4. Agenda 4 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A
  • 5. The origin of monolithic apps User Interface Business Logic Data Layer Server app ● Short term benefit: Quick time to value ● Ideal for small orgs/developer teams ● Single code repository to manage ● Still being used in startups to this day
  • 6. 6 Challenges with Monoliths … Monolith ● Slow: Smallest change requires end-end testing ● Unreliable: A simple error can bring down the entire app ● Expensive: Changes to tech stack are expensive. Barrier to adopting new programming frameworks Services Database
  • 7. 7 Microservices ● Faster release cycles: Smaller modules that can Independently deployed and upgraded ● Improved Scalability and Reliability: Independently scale services and recover from errors faster ● Developer autonomy: Choose the right programming language and data store for each service Services Databases Services Database … Have Led to the Adoption of Microservices Monolith ● Slow: Smallest change requires end-end testing ● Unreliable: A simple error can bring down the entire app ● Expensive: Changes to tech stack are expensive. Barrier to adopting new programming frameworks
  • 8. Netflix: An early adopter of microservices Reasons to Modernize (2009): ● Optimize for developer speed (new features, bug fixes) ● Scale to the next order of magnitude ● 24/7 reliability 30+ independent teams 500+ microservices 2B API requests
  • 9. Two Approaches For Interservice Communication 9 REST APIs Synchronous request/response communication Messaging Queues Synchronous or asynchronous communication
  • 10. Service 4 Service 3 Challenges with Using REST APIs for Interservice Communication 1 0 REST APIs Synchronous request/response Challenges ● Slow Tight coupling means business logic is rewritten to add new services. ● Unreliable Requires costly linear scaling. Unexpected errors are difficult to recover from. ● Expensive High operational overhead of managing services, at scale. Service 2 Service 5 Service 6 Service 1 API API API API API API
  • 11. Challenges with Using Message Queues for Interservice Communication 11 Messaging Queues Synchronous or asynchronous communication Challenges ● Slow Lack a common structure, leads to inter-team dependencies. ● Unreliable Cannot scale dynamically. Ephemeral persistence. ● Expensive Cannot easily integrate with cloud-native apps. Service 2 Service 5 Service 4 Service 3 Service 6 Service 1 Messaging Queues (No common structure to share data, lacks built-in stream processing, ephemeral message persistence, low fault-tolerance)
  • 12. Agenda 12 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A
  • 13. The Foundational Assumption of Every Database: Data at Rest Data at rest Slow, daily batch processing Simple, static real-time queries Databases
  • 14. Paradigm for Data in Motion: Event Streams 14 Rich customer experiences Real-time events Real-time Event Streams Cyber Sensor Healthcare Citizen Data driven operations
  • 15. 1 5 Paradigm for Data in Motion: Event Streams
  • 16. 1 6 Using a command processor
  • 17. 1 7 Fully Decoupled Paradigm for Data in Motion: Event Streams
  • 18. Confluent enables the new class of event-driven microservices 1 8 Why Build with Confluent Asynchronous service communication and development • Decoupled communication • Pub/Sub messaging • Elastic scalability • Persistent storage • Process data in flight and real-time Service 2 Service 5 Service 6 Service 1 Service 4 Service 3
  • 19. Agenda 19 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A
  • 20. Confluent Cloud Cloud-native data streaming platform built by the founders of Apache Kafka® Everywhere Connect your data in real time with a platform that spans from on-prem to cloud and across clouds Complete Go above & beyond Kafka with all the essential tools for a complete data streaming platform Cloud-Native Apache Kafka©, fully managed and re- architected to harness the power of the cloud Stream confidently on the world’s most trusted data streaming platform built by the founders of Apache Kafka©, with resilience, security, compliance, and privacy built-in by default. 2 0
  • 21. …enabling you to deploy, operate, and scale in minutes instead of months Kafka re-architected to be truly Cloud-Native 2 1 Months Minutes Weeks Open Source Apache Kafka In-house development and maintenance without support Self-managed Kafka Services Manual operations with basic tooling and/or support Confluent Cloud Fully managed, elastic, and automated product capabilities with zero overhead
  • 22. Free trial of Confluent Cloud 22
  • 23. Why Confluent? Schema Registry: Eliminate interservice bottlenecks and dependencies, with a centralized schema repository Confluent Cloud: Remove the operational hassles for cluster management, with a cloud-native service ksqlDB: Build real-time contextual applications, with an event-streaming database Increase Developer Velocity 1
  • 24. Schema Registry: Eliminate interservice bottlenecks and dependencies, with a centralized schema repository Confluent Cloud: Remove the operational hassles for cluster management, with a cloud-native service ksqlDB: Build real-time contextual applications, with an event-streaming database Increase Developer Velocity 1 Build Highly Reliable and Fault Tolerant Microservices Infinite Storage: A system for record for systems and applications Multi-Region Clusters: Run a single cluster across multiple DCs for disaster recovery and high availability End-to-end Stream Governance: Discover, understand and trust your data streams with a fully managed suite 2 Why Confluent?
  • 25. Schema Registry: Eliminate interservice bottlenecks and dependencies, with a centralized schema repository Confluent Cloud: Remove the operational hassles for cluster management, with a cloud-native service ksqlDB: Build real-time contextual applications, with an event-streaming database Increase Developer Velocity Build Highly Reliable and Fault Tolerant Microservices Reduce Technical Debt and Messaging TCO Infinite Storage: A system for record for systems and applications Multi-Region Clusters: Run a single cluster across multiple DCs for disaster recovery and high availability End-to-end Stream Governance: Discover, understand and trust your data streams with a fully managed suite 200+ Connectors: Leverage CDC, JMS and JDBC connectors to unlock data from legacy applications Cluster Linking: Geo-replicate data and bridge to cloud, by linking clusters across hybrid and multicloud environments 1 2 3 Committer-driven Expertise: Support your migration and modernization journey with our assistance Why Confluent?
  • 26. Agenda 26 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A
  • 27. How we do it: a Retail Example
  • 28. E-Commerce Application (Monolith) 2 8 Catalog Order Payment On-Prem Monolith (E-commerce App) Load Balancer Client/Web Application Writes Reads Writes Reads
  • 29. Step 1: Route Reads to Catalog Microservice 2 9 Catalog Order Payment On-Prem Monolith (E-commerce App) Load Balancer Client/Web Application Writes to Catalog module Other Writes and Reads Writes Reads Writes CDC Source Connector Streams (Reads) Reads from Microservice Partially replaces Catalog Module Cloud Native Catalog Microservice
  • 30. Step 2: Fully Replace Catalog Module 3 0 Order Payment On-Prem Monolith (E-commerce App) Load Balancer Client/Web Application Other Writes and Reads Writes Reads Writes CDC Source +Sink Connector Cloud Native Catalog Microservice Streams (Reads) Reads from Microservice Reads Streams (Writes) Writes to Microservice Third Party Consumer Apps
  • 31. How we do it? a Banking Example
  • 32. Banking Reference Architecture (Traditional) 3 2 Transaction Query Invalid Operation Query Batch Process Monolith Payment Module Customer Module Transaction Module
  • 33. Step 1. Route Reads to Payment Microservice 3 3 Payment Module Transaction Module Monolith ksqlDB Payment Stream Customer Stream Transaction Stream Authorization Stream Invalid Operation Stream Schema Registry CDC Connector JMS Connector Customer Module Payment Microservice Transaction Query Invalid Operation Query
  • 34. Step 2. Fully Replace Payment Module 3 4 Transaction Module Monolith ksqlDB Payment Stream Customer Stream Transaction Stream Authorization Stream Invalid Operation Stream Schema Registry CDC Connector JMS Connector Customer Module Transaction Query Invalid Operation Query Payment Microservice
  • 35. Agenda 35 2. Challenges with Monoliths and Interservice Communication 1. Tenets for Faster Application Development 3. Event driven architecture using Kafka 4. Key Benefits from Confluent 5. How we do it? 6. Q&A