A load balancing method and device
A load balancing and application request technology, applied in the field of Internet applications, can solve problems such as inability to obtain service applications accurately and quickly, slow processing speed, etc., to achieve the effect of improving user experience, improving processing capacity, and reducing response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] This embodiment provides a load balancing method, such as figure 2 shown, including the following steps:
[0083] S1: Obtain the data identifier requested by the application. The data identifier is used to distinguish different application requests, and the data identifier is a part of the attribute parameter of the application request itself.
[0084] S2: When performing a write operation on the application request, configure a specific write identifier for the write operation requested by the application. This process can be realized by using the load balancing method in the prior art, such as the consistent hash algorithm, the improved consistent hash algorithm, the modulo algorithm of the total number of servers, and the like.
[0085] S3: Allocate the write operation requested by the application to a corresponding server according to the write identifier, and acquire a preset identifier of the corresponding server. The write identifier is the same as the guide ...
Embodiment 2
[0120] This embodiment provides a load balancing device, including:
[0121] The identification obtaining unit 1 is configured to obtain the data identification of the application request; the data identification is used to distinguish different application requests, and the data identification is a part of the attribute parameter of the application request itself.
[0122] The identification configuration unit 2 configures a specific writing identification for the writing operation requested by the application when performing the writing operation on the application request; this process can be realized by using the load balancing method in the prior art, such as consistent Permanent hash algorithm, improved consistent hash algorithm, modulo algorithm for the total number of servers, etc.
[0123] The server assignment unit 3 is configured to assign the write operation requested by the application to the corresponding server according to the write identifier, and obtain the p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com