Micro-service traffic switching method and device based on configuration shunt deployment and medium
The invention discloses a micro-service traffic switching method and device based on configuration shunt deployment, and a medium. The micro-service traffic switching method based on the configuration shunt deployment comprises the following steps of: reading a traffic control parameter correspondin...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a micro-service traffic switching method and device based on configuration shunt deployment, and a medium. The micro-service traffic switching method based on the configuration shunt deployment comprises the following steps of: reading a traffic control parameter corresponding to the current traffic in a menu configuration file; if the traffic control parameter corresponding to the current traffic indicates that the traffic is switched to the micro-service, switching the current flow to a micro-service item; and otherwise, switching the current traffic to a containerized item. According to the micro-service traffic switching method and device based on the configuration shunting deployment and the medium disclosed by the invention, non-inductive micro-service traffic switching of a user is realized.
本发明公开了一种基于配置分流部署的微服务流量切换方法、装置和介质。一种基于配置分流部署的微服务流量切换方法包括:读取菜单配置文件中与当前流量对应的流量控制参数;若当前流量对应的流量控制参数指示流量切换至微服务,则将当前流量切换至微服务项目;否则将当前流量切换至容器化项目。本发明公开的基于配置分流部署的微服务流量切换方法、装置和介质,实现用户无感的微服务流量切换。 |
---|