Load balancing method and equipment and computer readable memory medium
A load balancing and load capacity technology, applied in the field of communication, can solve the problems of slow download speed, sending message cards, and the server is too busy to achieve the effect of simple equipment, low difficulty and low operating cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Please see figure 1 and figure 2 , an embodiment of the load balancing method of the present invention. A load balancing method, the load balancing method comprising:
[0037] In step S101, the reception service module receives a data interaction request from a client.
[0038] Step S102, query the load of all data service modules.
[0039] Step S103, according to the load, feed back the information of a data service module to the client, for the client to send a data interaction request to the data service module.
[0040] Step S104, the data service module receives the data interaction request from the client, and completes the corresponding data transmission.
[0041] In this embodiment, firstly, the reception service module receives a data interaction request from a client. Among them, the reception service module is used to receive the request from the client, and then perform corresponding query according to the request. The reception service module can be ...
Embodiment 2
[0048] This embodiment provides an embodiment of a load balancing method. Based on the above embodiment, a further limitation is made on the query location of the load. details as follows:
[0049] Find the loads of all data service modules in the storage of the reception service module.
[0050] Wherein, in this embodiment, the load of the data service module adopts a simple definition: if the data is being transmitted with a client, the load is increased by one, regardless of the type, size, transmission speed or others of the data transmission; If the data transmission with a client is completed, the load will be reduced by one. The recording and storage of the load is carried out by the reception service module. The recording of the load can be done only by setting a counter. That is, the reception service module or the data service module records the load through the counter. Therefore, the statistics and application of the load of the data service module can be compl...
Embodiment 3
[0055] An embodiment of the load balancing method of the present invention is based on the foregoing embodiments. And make specific restrictions on the statistical scheme of the load. details as follows:
[0056] Please see image 3 , when the reception service module feeds back the information of a data service module to the client, it also includes:
[0057] In step S201, the reception service module records the load of the data service module plus one.
[0058] Step S202, the reception service module sets the period for the increased load;
[0059] Step S203, when the period arrives, record that the load of the data service module decreases.
[0060] In this embodiment, first, the reception service module records the load of the data service module plus one. Wherein, the reception service module can record through a counter, or update a database form to record, or use other schemes to record. In this embodiment, a counter is used to record the load. If the data trans...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


