Server thread control method, appliance, device and readable storage medium
The invention discloses a server thread control method, an appliance, a device and a readable storage medium, wherein the server thread control method comprises the following steps: when a server access request is detected, acquiring a target network address url corresponding to the access request,...
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 server thread control method, an appliance, a device and a readable storage medium, wherein the server thread control method comprises the following steps: when a server access request is detected, acquiring a target network address url corresponding to the access request, and judging whether the target url is in a server pre-stored interception list; when the target urlis in the interception list pre-stored by the server, acquiring the number of the current request threads corresponding to the target url, and judging whether the number of the current request threadsis greater than the maximum number of threads corresponding to the target url in the server; blocking the access request when the current request thread number is greater than the maximum number of threads corresponding to the target url in the server. The server thread control method solves the technical problem in the prior art that when the access request thread of a user is too excessive , the server is easy to be abn |
---|