The invention discloses a request scheduling method, a
system and an electronic device and a computer-readable storage medium. The method comprises the following steps: when receiving a target requestof a
client, determining a request type of the target request; determining a
weight value corresponding to all resource indicator items of the target request according to a preset weight rule and therequest type; obtaining
current load data of all the resource indicator items of all the master nodes, and calculating a total load of all the master nodes according to the
current load data and theweight value; determining the master node responding to the target request based on the total load. The request scheduling method provided by the invention utilizes the total load of each master nodeto determine the response master node, thus decentralizing the pressure of a single master node, reducing the pressure of a cluster, facilitating the load balancing of the cluster, and having good self-adaptability. At the same time, the response speed of the
system is improved, which effectively avoids the business risks caused by the centralized scheduling of a
single cluster entrance.