How service mesh can keep microservices light weight

Over the years Spring Boot has become de facto chose for designing in building microservices.

The micro service architecture brings lot of benefits by decomposing monolith into small independent components. However, which also brings common challenges related to distributed computing architecture.

To overcome those challenges spring cloud has added many libraries like

-???????Eureka for service registry

-???????Hystrix for circuit breaker

-???????Zipkin for distributed tracing to name a few.

All the above mentioned are cross cutting concerns and not limited to specific microservices.

Hence one need to add these libraries into all micro services and embed them in the code by annotating them.

This is invasive approach.

As Kubernetes become preferred container orchestration platform, service deployed on Kubernetes can leverage Service mesh like Istio & Linkerd to solve the above problem differently.

Service mesh creates sidecar container in the same pod where microservices is running. The service mesh agent running as sidecar is application aware L7 proxy which can intercept and inbound and outbound traffic and provide capabilities like

-???????Load balancing

-???????Circuit breaker

-???????Distributed tracing

-???????TLS encryption

-???????Observability

-???????Traffic splitting etc.

Since Mesh operates at network level, its non-invasive approach i.e. no changes required in application and hence micro service only contain code which is required for satisfying functional requirements.

#istio #kubernetes #microservices

要查看或添加评论,请登录

Kavan Desai的更多文章

  • Kubeflow - recent addition in CNCF

    Kubeflow - recent addition in CNCF

    Recently Kubeflow was accepted as CNCF incubating project. As a Kubernetes enthusiast I was curious about Kubeflow and…

  • Building Kubernetes deployment pipeline – Imperative vs Declarative approach

    Building Kubernetes deployment pipeline – Imperative vs Declarative approach

    In DevOps paradigm, having robust and efficient CI/CD pipeline is very essential. Over the years tool like Jenkins…

    1 条评论
  • Going Serverless with AWS

    Going Serverless with AWS

    Recently I got a chance to explore various AWS services for an on going assignment. Where the ask is to develop polling…

社区洞察

其他会员也浏览了