The invention relates to the technical field of micro-services, and discloses an Istio-based
inference service global activation
connection number limiting method, which comprises the following steps: step 1, when a
client request is received, extracting
label information in a request header, and carrying out
label analysis; 2, after
label analysis is completed, threshold value query is conducted, and interface response content is obtained; 3, acquiring real-time load data of the target service, and calculating a real-time dynamic threshold value; 4, performing three-level quota
verification from the tenant level, the service level and the instance level; and 5, after three-level quota
verification, connection
processing is carried out, a connection
processing result is reported, and closed-loop feedback is carried out. According to the scheme, a global and intelligent
connection number limiting mechanism is constructed in a micro-service architecture, the problems of service overload, resource competition and
system stability caused by sudden increase of the
connection number in distributed reasoning service are solved, and dynamic sensing,
intelligent decision making and accurate control of the reasoning service connection number are achieved.