Slide 1

Slide 1 text

Agenda • Microservice Communication & It’s Challenges • What is gRPC & how it works ? • AWS App Mesh • Demo

Slide 2

Slide 2 text

The Big Monolith

Slide 3

Slide 3 text

The Big Monolith

Slide 4

Slide 4 text

Micro-Services Today

Slide 5

Slide 5 text

Challenges Managing Communication

Slide 6

Slide 6 text

Managing Communication • Managing API Contracts • Overhead to Write Client Code • Performance Issues with sending JSON over the http

Slide 7

Slide 7 text

Challenges Managing Communication Service Discovery

Slide 8

Slide 8 text

Service Discovery 172.31.1.10/16 172.31.1.10/16 172.31.2.20/16

Slide 9

Slide 9 text

Challenges Managing Communication Service Discovery Observability & Resilience

Slide 10

Slide 10 text

Observability & Resilience • Tracking failures in up-stream services • Application performance monitoring of up-stream services • Resilience - Retries, Circuit breaker pattern etc..

Slide 11

Slide 11 text

What is gRPC ? • Inter-Process communication technology • Binary messaging format on top of Http/2 (Protobuf) • Invoke remote methods like a local function call • Contract first approach • Polyglot

Slide 12

Slide 12 text

gRPC Contract (.proto) Inventory_manager.proto

Slide 13

Slide 13 text

gRCP Client & Server Inventory_manager.proto Client (C# .Netcore) Server (C# .Netcore)

Slide 14

Slide 14 text

gRPC vs HTTP API’s Source – Microsoft Docs

Slide 15

Slide 15 text

What is AWS App Mesh ? • Managed Service Mesh for application-level networking • End to end visibility/observability support for Microservices • Traffic Management Capabilities (Http2, gRPC) • Hybrid deployments

Slide 16

Slide 16 text

AWS App Mesh

Slide 17

Slide 17 text

Sidecar Pattern

Slide 18

Slide 18 text

Concepts • Service Mesh - A logical boundary for network traffic between the services that reside within it • Virtual Service - is an abstraction of an actual service that is provided by a virtual node, directly or indirectly, by means of a virtual router. • Virtual Node - acts as a logical pointer to a discoverable service, such as an Amazon ECS service • Virtual Router & Routes - Virtual routers handle traffic for one or more virtual services within your mesh • Virtual Gateway – allows resources outside your mesh to communicate with services inside the mesh

Slide 19

Slide 19 text

Concepts

Slide 20

Slide 20 text

Demo https://github.com/rifhanakram/gRPC-appmesh-demo

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Q&A

Slide 23

Slide 23 text

Thank You!