Primary and standby services switching method and device
A technology of main service and server resources, applied in the field of main and standby service switching methods and devices, can solve the problems of lack of performance evaluation, poor performance of main service, and small number of supported concurrency, and achieve the effect of improving performance experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Embodiment 1 of the present invention discloses a method for switching between active and standby services, the schematic flow chart of which is as follows figure 1 As shown, the method includes:
[0023] Step 11, carry out concurrency stress performance test for each standby service, monitor the server resource usage status where the standby service is located, and count the number of transactions per second (tps) during the concurrency stress performance test;
[0024] The standby service in this embodiment is a hot standby service or a warm standby service, and the concurrency stress performance test is performed periodically. Concurrency stress performance testing refers to the use of multi-threading to increase the amount of concurrency in a short period of time. The detection method usually uses the network protocol above the transport layer to establish a connection with the backup service.
[0025] The server resources include system resources such as disk IO,...
Embodiment 2
[0047] Embodiment 2 of the present invention discloses a method for switching between active and standby services, the schematic flow chart of which is as follows image 3 As shown, the method includes:
[0048] Step 31. When it is determined that the master-standby service switching needs to be performed, a functional detection test is performed on each standby service to determine that the standby service is working normally;
[0049] Among them, the method for determining the need to switch between the active and standby services includes: performing a periodic functional detection test on the main service, periodically sending a detection request to the main service, and determining the need after the response returned by the main service cannot be received within a predetermined period of time. Execute active / standby service switchover. The detection request may be a TCP request or an HTTP request according to a specific application.
[0050] The standby service in this...
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