Service node elastic scaling method based on RabbitMQ cluster
A service node, elastic scaling technology, applied in the field of cluster services, can solve problems such as error-prone and low efficiency, and achieve the effect of improving efficiency, wide application prospects, and highlighting substantive characteristics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Such as figure 1 As shown, the present invention provides a method for elastic scaling of service nodes based on RabbitMQ clusters, comprising the following steps:
[0058] S1. Set the monitoring service and service node scaling threshold in the RabbitMQ cluster, and save the RabbitMQ cluster configuration file;
[0059] S2. Start the monitoring service, and the monitoring service obtains the operating parameters of the RabbitMQ cluster, and adjusts the number of service nodes when the operating parameters of the RabbitMQ cluster trigger the scaling threshold of the service node;
[0060] S3. When the monitoring service is closed or the RabbitMQ cluster is restored, save the message data of the RabbitMQ cluster, obtain and restore the original RabbitMQ cluster according to the configuration file of the RabbitMQ cluster, and then synchronize the message data of the RabbitMQ cluster to the original RabbitMQ cluster.
[0061] In some embodiments, RabbitMQ cluster operatin...
Embodiment 2
[0068] Such as figure 2 As shown, the present invention provides a method for elastic scaling of service nodes based on RabbitMQ clusters, comprising the following steps:
[0069] S1. Set the monitoring service and service node scaling threshold in the RabbitMQ cluster, and save the RabbitMQ cluster configuration file; the operating parameters of the RabbitMQ cluster include but are not limited to the RabbitMQ cluster message rate, memory usage, and CPU usage;
[0070] The number of service node scaling thresholds includes at least the upper and lower limits of the RabbitMQ cluster message rate threshold, the upper and lower limits of the memory usage threshold, and the upper and lower limits of the CPU usage threshold;
[0071] S2. Start the monitoring service, and the monitoring service obtains the operating parameters of the RabbitMQ cluster, and adjusts the number of service nodes when the operating parameters of the RabbitMQ cluster trigger the scaling threshold of the s...
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