这是我第八篇青训营阅读
Concept
Service deployment refers to the process of making a software service available for use in a production environment.
Blue-Green Deployment
In this strategy, there are two independent, identical production environments, one called the "blue" environment and the other called the "green" environment.
Grayscale Deployment
Gray Deployment is a strategy where a new software version is gradually released to a small user subset before full rollout. It allows developers to test the version in a live setting without risking bugs or performance issues affecting all users. If problems arise, the version can be quickly rolled back, minimizing user impact. Once tested and refined, the version can be fully released.
Traffic Governance
In a microservices architecture, we can precisely control end-to-end traffic routing based on dimensions such as region, cluster, instance, and request.
Stability Governance
-
Rate Limiting (限流): This refers to the practice of controlling the number and frequency of requests a client can make to a server within a specified time period
-
Degradation (降级): This is a strategy where non-essential features of a service are disabled or limited when the system is under heavy load or experiencing faults, in order to preserve core functionality.
-
Overload Protection (过载保护): This involves implementing measures to prevent a system from being overwhelmed by too much demand, which could lead to performance issues or system failure
.
-
Circuit Breaker (熔断): This is a design pattern that detects failures and prevents the application from performing an action that is likely to fail, allowing the application to continue operating without waiting for the failed action to be fixed
.