SlideShare a Scribd company logo
Inter Service
Communication in
Microservices
Ecosystem
Venugopal Gangadharan
Saravanan Patmanathan
12th Feb, 2019
Agenda
Blocks that build
Yes, we need to talk
Ok, But how
Talking it out
Look who is talking
Conversation control
Who is right
Can I get a visual please
Let us interact
Demo
Q & A
1
How deep we will dive
Overview of building blocks
Basics of different communication techniques
Pros and cons of each
Tools used for different communication styles
Illustrations
Usecase discussion
Interact with the group
Code example - One for each communication style
Q & A
1
Blocks that build
Multiple distributed components
Controllers
 Gateway
 Service Registry
 Configuration Service
Business
 Functional Components
Common stores
 Datastore
 Communication Bus
 Distributed Cache
2
Yes, we need to talk
Service dependency chaining
 Service A ---depends on---- Service B
 Service B ---depends on---- Service C
Information sharing
 Multiple services needs to know
Action Triggers
 An activity triggering a set of actions
State Update
 System with state knowledge
Order Inventory Ship
Updater State
Fault
Config
NW
Perf
Forward
Eco System
Multi-Service dependency chaining
Information sharing
NW Fault Trigger State updates
Ok, but how
1. Style based
 Synchronous
 Asynchronous
2. Receiver Endpoints
 Single receiver
 Multiple receivers
 Service Mesh
3. Client to Service Communication
 Direct communication to Service API
 Communication via., an API Gateway
Order Inventory Ship
Multi-Service synchronous request / response
Order Inventory
Shipment Location
sync
M M M M
T1
M
T2 T3 T4
Async
Talking it out
Synchronous
 Distributed with individual flow sequence
 Sequential Service Orchestration
 Parallel Service Orchestration
 Security aspects
Asynchronous
 Choreography of events
 Orchestrated sequential events
 Orchestrated Event choreography
GOSSIP
Req – wait – Resp
Look who is talking
Synchronous
 REST / HTTP(s)
o Spring Boot REST
 RPC
o gRPC – mono or multi lingual
o Apache Thrift
Asynchronous
 Publish / Subscribe
o Rabbit MQ
o Kafka
Orchestration
 Camunda BPM
 Activiti
Synchronous conversation control
User authentication &
authorization
 UAA service
Service level control
 Feign REST Client
 Declarative style
 Services control the talk
 Secure communication
 Platform level control
 Landing service availability
 Pluggable Fall back
 Hystrix based call flow
Conversation Control … contd.,
Who is right
Synchronous
 Pros
 Reliable
 Fits read heavy systems
 Consistency
 Cons
 Dependency based design
 Chained actions
 Tight Coupling
 High Possibility of cascading effects
Asynchronous
 Pros
 Greater Autonomy for Microservices
 Decouple service dependency
 Achievable scale outs
 Fits write heavy systems
 Cons:
 Complexity
 Synchronous consumers need to change
Can I get a visual please
Dance Choreography
Well, I control the flow
Lets put it together
Publish what ever
Use case: Centralized Service
Orchestration
Domain: Telecom
Use case: Network Service provisioning
Orchestration: Service type based flow
Microservices: F C A P S
Steps:
 Service data captured via., business UI
 Data translates to metadata for service provisioning
 Invokes service type based flow
 Performs flow actions via., service adapters
 Service test as part of flow
Use case: Event Driven Service
Orchestration
Domain: Infrastructure Management
Use case: NOC Automation
Orchestration: Customer specific Flows
Microservices: Ticketing, Escalation, Scheduler
Steps:
 Network and Enterprise connector Bridge
 Customer specific flows defined
 Events trigger the flow
 Flow triggers the microservice via., Event bus
 Actionable steps defined in event type DB
 Integration with trouble ticketing system via., Event bus
• https://docs.microsoft.com/en-us/dotnet/standard/microservices-
architecture
• https://dzone.com
• https://www.jhipster.tech
References please

More Related Content

PPTX
Ws discovery in wcf 4
ODP
Net Style Sms Gateway
PPTX
Website RESTful APIs
PDF
HxRefactored - Cerner Corporation - Charles McDonald
PPTX
Introduction to Quality Of Service - Service Oriented Computing
PDF
OSCON 2019 - I'm a Developer, should I care about a service mesh?
PPT
Protecting Multi-Interfaced Mobile Web Services using Agreements
PPTX
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
Ws discovery in wcf 4
Net Style Sms Gateway
Website RESTful APIs
HxRefactored - Cerner Corporation - Charles McDonald
Introduction to Quality Of Service - Service Oriented Computing
OSCON 2019 - I'm a Developer, should I care about a service mesh?
Protecting Multi-Interfaced Mobile Web Services using Agreements
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020

Similar to TECHPOD Meetup 3 - inter-service-communication-microservices (20)

PDF
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
PDF
Introduction to Microservices.pdf
DOCX
RabbitMQ in Microservice Architecture.docx
PDF
Inter process communication
PDF
OptiSol Microservices Architecture - Tech Meetup
PPTX
Monoliths, Microservices, Events, Functions: What It Takes to Go Through the ...
PDF
Changing application demands: What developers need to know
PPTX
SOA Doing Right
PPTX
An introduction to Microservices
PPTX
Main Groups of Microservices
PDF
Microservices - opportunities, dilemmas and problems
PPTX
Microservices: Breaking Apart the Monolith
PPTX
The Overview of Microservices Architecture
PDF
Advanced Microservices - Greach 2015
PDF
Service Mesh Talk for CTO Forum
PDF
Microservices on a budget meetup
PDF
Building data-driven microservices
PPTX
Jeffrey Richter
PDF
Integration Microservices
PDF
A tale of two microservices
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
Introduction to Microservices.pdf
RabbitMQ in Microservice Architecture.docx
Inter process communication
OptiSol Microservices Architecture - Tech Meetup
Monoliths, Microservices, Events, Functions: What It Takes to Go Through the ...
Changing application demands: What developers need to know
SOA Doing Right
An introduction to Microservices
Main Groups of Microservices
Microservices - opportunities, dilemmas and problems
Microservices: Breaking Apart the Monolith
The Overview of Microservices Architecture
Advanced Microservices - Greach 2015
Service Mesh Talk for CTO Forum
Microservices on a budget meetup
Building data-driven microservices
Jeffrey Richter
Integration Microservices
A tale of two microservices
Ad

Recently uploaded (20)

PPTX
chapter 5 systemdesign2008.pptx for cimputer science students
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
STL Containers in C++ : Sequence Container : Vector
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
Website Design Services for Small Businesses.pdf
PPTX
Cybersecurity: Protecting the Digital World
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PPTX
Tech Workshop Escape Room Tech Workshop
PPTX
GSA Content Generator Crack (2025 Latest)
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
chapter 5 systemdesign2008.pptx for cimputer science students
Why Generative AI is the Future of Content, Code & Creativity?
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Autodesk AutoCAD Crack Free Download 2025
Designing Intelligence for the Shop Floor.pdf
STL Containers in C++ : Sequence Container : Vector
Oracle Fusion HCM Cloud Demo for Beginners
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Website Design Services for Small Businesses.pdf
Cybersecurity: Protecting the Digital World
Weekly report ppt - harsh dattuprasad patel.pptx
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
Tech Workshop Escape Room Tech Workshop
GSA Content Generator Crack (2025 Latest)
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Wondershare Recoverit Full Crack New Version (Latest 2025)
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Ad

TECHPOD Meetup 3 - inter-service-communication-microservices

  • 1. Inter Service Communication in Microservices Ecosystem Venugopal Gangadharan Saravanan Patmanathan 12th Feb, 2019
  • 2. Agenda Blocks that build Yes, we need to talk Ok, But how Talking it out Look who is talking Conversation control Who is right Can I get a visual please Let us interact Demo Q & A 1
  • 3. How deep we will dive Overview of building blocks Basics of different communication techniques Pros and cons of each Tools used for different communication styles Illustrations Usecase discussion Interact with the group Code example - One for each communication style Q & A 1
  • 4. Blocks that build Multiple distributed components Controllers  Gateway  Service Registry  Configuration Service Business  Functional Components Common stores  Datastore  Communication Bus  Distributed Cache 2
  • 5. Yes, we need to talk Service dependency chaining  Service A ---depends on---- Service B  Service B ---depends on---- Service C Information sharing  Multiple services needs to know Action Triggers  An activity triggering a set of actions State Update  System with state knowledge Order Inventory Ship Updater State Fault Config NW Perf Forward Eco System Multi-Service dependency chaining Information sharing NW Fault Trigger State updates
  • 6. Ok, but how 1. Style based  Synchronous  Asynchronous 2. Receiver Endpoints  Single receiver  Multiple receivers  Service Mesh 3. Client to Service Communication  Direct communication to Service API  Communication via., an API Gateway Order Inventory Ship Multi-Service synchronous request / response Order Inventory Shipment Location sync M M M M T1 M T2 T3 T4 Async
  • 7. Talking it out Synchronous  Distributed with individual flow sequence  Sequential Service Orchestration  Parallel Service Orchestration  Security aspects Asynchronous  Choreography of events  Orchestrated sequential events  Orchestrated Event choreography GOSSIP Req – wait – Resp
  • 8. Look who is talking Synchronous  REST / HTTP(s) o Spring Boot REST  RPC o gRPC – mono or multi lingual o Apache Thrift Asynchronous  Publish / Subscribe o Rabbit MQ o Kafka Orchestration  Camunda BPM  Activiti
  • 9. Synchronous conversation control User authentication & authorization  UAA service Service level control  Feign REST Client  Declarative style  Services control the talk  Secure communication  Platform level control  Landing service availability  Pluggable Fall back  Hystrix based call flow
  • 11. Who is right Synchronous  Pros  Reliable  Fits read heavy systems  Consistency  Cons  Dependency based design  Chained actions  Tight Coupling  High Possibility of cascading effects Asynchronous  Pros  Greater Autonomy for Microservices  Decouple service dependency  Achievable scale outs  Fits write heavy systems  Cons:  Complexity  Synchronous consumers need to change
  • 12. Can I get a visual please
  • 14. Well, I control the flow
  • 15. Lets put it together
  • 17. Use case: Centralized Service Orchestration Domain: Telecom Use case: Network Service provisioning Orchestration: Service type based flow Microservices: F C A P S Steps:  Service data captured via., business UI  Data translates to metadata for service provisioning  Invokes service type based flow  Performs flow actions via., service adapters  Service test as part of flow
  • 18. Use case: Event Driven Service Orchestration Domain: Infrastructure Management Use case: NOC Automation Orchestration: Customer specific Flows Microservices: Ticketing, Escalation, Scheduler Steps:  Network and Enterprise connector Bridge  Customer specific flows defined  Events trigger the flow  Flow triggers the microservice via., Event bus  Actionable steps defined in event type DB  Integration with trouble ticketing system via., Event bus