Slide 1

Slide 1 text

Service Mesh and Why You Should Use It CLOUD COMMUNITY DAYS

Slide 2

Slide 2 text

You can find me at : ● Github : Nancy-Chauhan ● Twitter : _nancychauhan ● Website : nancychauhan.in Software Developer at Grofers, India About me CLOUD COMMUNITY DAYS

Slide 3

Slide 3 text

Service Meshes ● A service mesh is a dedicated infrastructure layer for making service-to service communication safe, reliable, observable and configurable ● Valuable as we move from deployment of complicated monoliths/services to orchestration of complex “cloud native” microservices and functions CLOUD COMMUNITY DAYS

Slide 4

Slide 4 text

Sample Microservice Architecture CLOUD COMMUNITY DAYS

Slide 5

Slide 5 text

CLOUD COMMUNITY DAYS Don’t microservices already do this?

Slide 6

Slide 6 text

Traditional service-service communication ● Over REST or GRPC ● Manual Traffic Control Settings such as retry, timeout, circuit breaking, etc. ● Explicit Load balancing either client-side or server-side ● You may or may not service map ● All of this is repeated in every service in their way CLOUD COMMUNITY DAYS

Slide 7

Slide 7 text

How does it work ? Array of network proxies CLOUD COMMUNITY DAYS

Slide 8

Slide 8 text

CLOUD COMMUNITY DAYS • Automatic load balancing. • Fine-grained control of traffic behavior with routing rules, retries, failovers etc. • Pluggable policy layer. • Configuration API supporting access controls, rate limits and quotas. • Service discovery. • Service monitoring with automatic metrics, logs and traces for all traffic. • Secure service to service communication. With service mesh on your cluster, you can achieve:

Slide 9

Slide 9 text

CLOUD COMMUNITY DAYS Service Mesh Implementation https://istio.io/ https://linkerd.io/2/overview/ https://www.consul.io/docs/connect/index.html

Slide 10

Slide 10 text

Thank you CLOUD COMMUNITY DAYS