Upgrade to Pro — share decks privately, control downloads, hide ads and more …

gRPC Microservice Communication with AWS AppMesh

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

gRPC Microservice Communication with AWS AppMesh

This session was conducted at the AWS Colombo User Group July Session. Here I talked about Microservice communication with gRPC in AWS App Mesh.

Demo Application can be found here - https://github.com/rifhanakram/gRPC-appmesh-demo

Avatar for Rifhan Akram

Rifhan Akram

July 16, 2020
Tweet

Other Decks in Technology

Transcript

  1. Agenda • Microservice Communication & It’s Challenges • What is

    gRPC & how it works ? • AWS App Mesh • Demo
  2. Managing Communication • Managing API Contracts • Overhead to Write

    Client Code • Performance Issues with sending JSON over the http
  3. Observability & Resilience • Tracking failures in up-stream services •

    Application performance monitoring of up-stream services • Resilience - Retries, Circuit breaker pattern etc..
  4. 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
  5. 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
  6. 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
  7. Q&A