Load balancing method based on redis cache, and server
A load balancing and server technology, applied in the computer field, can solve the problems of high time cost, large resource and labor cost, and achieve the effect of reducing time cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0023] The present invention will be specifically introduced below in conjunction with specific embodiments.
[0024] The embodiment of the present invention provides a load balancing method based on redis cache, the method comprising the following steps:
[0025] S101, periodically acquire service request data from the task pool.
[0026] S102, periodically acquire server data from the registration center and delete expired server data.
[0027] Among them, the server data encapsulates multiple services of this framework, and the name of each service will be regularly registered in the Redis cache for storage after the server is started.
[0028] S103. Perform a modulo calculation on the number of tasks in the service request data and the number of servers in the server data.
[0029] S104, assign each task in the service request data to a corresponding server according to the result of the modulo operation.
[0030] Optionally, assigning each task in the service request d...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com