当前位置:网站首页>Knowledge and skills of isto concept in service grid

Knowledge and skills of isto concept in service grid

2020-11-10 17:30:40 Irving the procedural ape

One 、 background

The recent architecture group is based on istio Developed a service grid (Service Mesh) platform , Take this opportunity to learn and record the relevant background knowledge , It's easy to look back .

The effect of the first edition :

Two 、istio

The official manual :https://istio.io/latest/zh/docs/concepts/what-is-istio/

1、Service Mesh brief introduction

istio As an implementation Service Mesh An open source project of , First of all, we have to deal with Service Mesh I understand .

In the last few years , Microservice architecture has become a popular style in software design . In this architecture , We decompose the application into independently deployable Services . These services are usually lightweight , Multilingual , And it is usually developed and deployed by various functional teams . When the number of certain services increases , When it's hard to manage and more complex , Microservice architecture will always work . But it's also managing security , Network traffic control and observability bring challenges .

Service Mesh It's a great way to help meet these challenges .

  • Service Mesh It is used to describe the interaction between applications . As the number of services increases and the complexity increases , It's becoming more and more difficult to expand and manage .Service Mesh It can provide service discovery for microservice architecture , Load balancing , Fault recovery , Indicators and monitoring .
  • Service Mesh Often it can also meet more complex needs , for example A/B test , Release of canary , Rate limit , Access control and end-to-end authentication .
  • Service Mesh Provides an easy way to create a service network , The network has load balancing , Service to service authentication , Monitoring and other functions , The microservice code changes little or no .

2、 Why use Istio?

Istio It provides the ability of behavior insight and operation control for the whole service grid , And a complete solution to meet the needs of micro service applications .

Istio Provides a simple way to network deployed Services , The network has load balancing 、 Service room Certification 、 Monitoring and other functions , Without any changes to the code of the service . Want service support Istio, Just deploy a special... In your environment sidecar agent , Use Istio Control plane function configuration and management agent , Block all network communication between microservices :

  • HTTP、gRPC、WebSocket and TCP Automatic load balancing of traffic .
  • Through rich routing rules 、 retry 、 Failover and fault injection , You can fine-grained control traffic behavior .
  • Pluggable policy layer and configuration API, Support access control 、 Rate limits and quotas .
  • An automatic measure of all traffic in and out of a cluster 、 Logging and tracking .
  • Through strong identity based authentication and Authorization , Secure inter service communication in a cluster .
  • Istio Designed for scalability , Meet all kinds of deployment requirements .

Core functions
Istio It provides many key functions in the service network :

Traffic management

Through simple rule configuration and traffic routing , You can control traffic between services and API call .Istio Simplified circuit breakers 、 Service levels such as timeout and retrying .........

版权声明
本文为[Irving the procedural ape]所创,转载请带上原文链接,感谢