Friday, April 2, 2021

Chris Richardson: 4.4 Communication Patterns Service Discovery Event Driven Microservices

April 1, 2021

Here is the link. 

Agenda

  • Why a pattern language for microservices?
  • Core patterns
  • Partitioning strategies
  • Deployment patterns
  • Communication patterns
  • Microservices chassis 
Communication patterns
  • Overview
  • API Gateway
  • Inter-process communication
  • Service discovery
  • Service registration
Pattern: Client-side discovery 

Service client 

Example: Netflix Eureka and Ribbon 

Benefits and drawbacks

Benefits
  • Flexible, application-specific load balancing
  • Fewer network hops and moving parts compared to Server-side discovery
Drawbacks
  • Couples the client to the Service Registry
  • Need implement client-side discovery and load balancing logic in multiple languages/ frameworks
  • Service Registry is yet another moving part to setup and operate - highly available     


No comments:

Post a Comment