Database load balancing method and device based on HTTP (Hyper Text Transport Protocol) request and medium
A load balancing and database technology, applied in database management systems, digital data authentication, digital data protection, etc., can solve problems such as intrusive applications
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] A database load balancing method based on HTTP requests, such as figure 1 shown, including the following steps:
[0029] S1. Obtain a connection request in the form of an HTTP request, perform a security check on the connection request, if the security check passes, execute step S2, otherwise, give a prompt that the security check fails;
[0030] S2. Obtain the weight of each database in the database cluster, and acquire the current number of connection requests of the database cluster;
[0031] S3. Based on the weight of each database and the number of current connection requests, allocate a database for the connection request;
[0032] S4. Establish a database connection, execute the SQL statement in the connection request, and return the execution result.
[0033] A database load balancing device based on HTTP requests, including a configuration module, a client and a database cluster, the configuration module is used to perform connection requests and security che...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


