CN111431969A - Unified deployment system and method for connection pool - Google Patents

Unified deployment system and method for connection pool Download PDF

Info

Publication number
CN111431969A
CN111431969A CN202010123969.3A CN202010123969A CN111431969A CN 111431969 A CN111431969 A CN 111431969A CN 202010123969 A CN202010123969 A CN 202010123969A CN 111431969 A CN111431969 A CN 111431969A
Authority
CN
China
Prior art keywords
server
service
swoole
network communication
communication engine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010123969.3A
Other languages
Chinese (zh)
Inventor
刘锦昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010123969.3A priority Critical patent/CN111431969A/en
Publication of CN111431969A publication Critical patent/CN111431969A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a unified deployment system and a method of a connection pool, wherein the system comprises: the system comprises a server and an application, wherein the server is used for deploying asynchronous network communication engine Swoole services, the application is used for running target services in a preset process management mode through a hypertext preprocessor PHP, the running process of the target services performs data interaction with the asynchronous network communication engine Swoole services in a short link mode, the server is further used for forwarding the target services to a connection pool server of the asynchronous network communication engine Swoole services through reverse proxy configuration, the application is further used for releasing links corresponding to the target services in the connection pool through the connection pool server when receiving a target service ending instruction, and the links are released to be maintained in the connection pool based on a base frame operation and maintenance, so that the consumption of server resources is avoided, and the server performance is improved.

Description

Unified deployment system and method for connection pool
Technical Field
The invention relates to the technical field of operation and maintenance of a pedestal, in particular to a system and a method for uniformly deploying a connection pool.
Background
The PHP-FPM (FastCGI Process Manager) is very convenient to use, the recovery speed of a controlled Process Central Processing Unit (CPU) is slow, and the memory allocation is uniform. However, a large defect exists, the PHP-PFM cannot run in the resident memory, and the work process of the PHP-FPM is terminated after processing a number of requests, so that the connection pool cannot be established through Oracle to maintain the connection of the database, and more database links need to be consumed in a high-concurrency scene, thereby consuming server resources, and causing the performance of the server to be unable to be improved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a system and a method for uniformly deploying a connection pool, and aims to solve the technical problem that in the prior art, PHP-FPM cannot run in a resident mode, so that more database links need to be consumed in a high-concurrency scene, and server resources are consumed.
In order to achieve the above object, the present invention provides a unified deployment system for connection pools, including: a server side and an application side;
the server is used for deploying the asynchronous network communication engine Swoole service;
the application terminal is used for running a target service in a preset process management mode through a hypertext preprocessor PHP, and the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short link mode;
the server is also used for forwarding the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration;
and the application end is further used for releasing the link corresponding to the target service in a connection pool through the connection pool server when the target service ending instruction is received.
Preferably, the server is further configured to start a multi-process monitoring multiport through the asynchronous network communication engine Swoole service, and pull up the target process again after the target process is monitored to be dead.
Preferably, the server is further configured to perform multiple server deployment on an application server of the hypertext preprocessor PHP, and perform multiple server deployment on the asynchronous network communication engine Swoole service.
Preferably, the server is further configured to perform seven-layer load balancing through the reverse proxy server Nginx, and perform four-layer load balancing through the load balancing F5 device.
Preferably, the server is further configured to write two configuration segment files in an application package of the hypertext preprocessor PHP, so as to provide two link strings for read operation and write operation.
In addition, to achieve the above object, the present invention further provides a unified deployment method for connection pools, which is based on a unified deployment system for connection pools, where the unified deployment system for connection pools includes: a server side and an application side; the unified deployment method of the connection pool comprises the following steps:
the service end deploys asynchronous network communication engine Swoole service;
the application terminal runs a target service in a preset process management mode through a hypertext preprocessor PHP, and the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link mode;
the server forwards the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration;
and when the application terminal receives the target service ending instruction, releasing the link corresponding to the target service in a connection pool through the connection pool server.
Preferably, the application terminal runs the target service in a preset process management mode through a hypertext preprocessor PHP, and after the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link manner, the unified deployment method of the connection pool further includes:
and the server side starts multi-process monitoring multi-port through the asynchronous network communication engine Swoole service, and pulls up the target process again after the target process is monitored to be dead.
Preferably, after the service end deploys the asynchronous network communication engine zooole service, the unified deployment method of the connection pool further includes:
the service side deploys a plurality of servers for an application server of the hypertext preprocessor PHP, and deploys a plurality of servers for the asynchronous network communication engine Swoole service.
Preferably, the application terminal runs the target service in a preset process management mode through a hypertext preprocessor PHP, and after the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link manner, the unified deployment method of the connection pool further includes:
the server side performs seven-layer load balancing through a reverse proxy server Nginx, and performs four-layer load balancing through a load balancing F5 device.
Preferably, after the service end deploys the asynchronous network communication engine zooole service, the unified deployment method of the connection pool further includes:
the server side writes two configuration segment files in an application package of the hypertext preprocessor PHP so as to provide two link strings of read operation and write operation.
In the invention, the server is used for deploying the asynchronous network communication engine zooole service, and the zooole provides the service of the connection pool, thereby avoiding the situation that the connection pool cannot be established through Oracle to maintain the connection of the database; the application end is used for running a target service in a preset process management mode through a hypertext preprocessor PHP, the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short link mode, the server end is further used for forwarding the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration, and the application end is further used for releasing a link corresponding to the target service in the connection pool through the connection pool server when receiving a target service ending instruction, releasing the link to be maintained in the connection pool based on base frame operation and maintenance, avoiding consumption of server end resources and improving server performance.
Drawings
FIG. 1 is a block diagram of a unified deployment system of a connection pool according to a first embodiment and a second embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a unified deployment method for connection pools according to the present invention;
fig. 3 is a flowchart illustrating a unified deployment method of connection pools according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a block diagram illustrating a first embodiment and a second embodiment of a unified deployment system of a connection pool according to the present invention.
In this embodiment, the unified deployment system of the connection pool includes: a server 10 and an application 20;
the server 10 is configured to deploy a Swoole service of an asynchronous network communication engine.
It should be understood that a dynamic expansion swool.so file of a Hypertext Preprocessor (PHP) is compiled through a phpide installation expansion mode of the PHP, a php.ini configuration file is changed, a swool package file is dynamically loaded when a PHP-fpm process is started, it is ensured that each process has a function of loading to a Swoole, a shell script is compiled for management, batch compilation, modification and restart services are performed on each server, and therefore deployment of a Swoole service of an asynchronous network communication engine is achieved, and the service of a connection pool is provided by the Swoole service of the asynchronous network communication engine.
The application terminal 20 is configured to run a target service in a preset process management mode through a hypertext preprocessor PHP, where a running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link manner.
It can be understood that, at the application end 20, the PHP runs the service in a PHP-FPM manner, each running process is connected to the Swoole in a short-link manner, each process is started at the application end 20, for example, an application layer code triggers to read and write the DB, such as select or update, and each process is connected to the asynchronous network communication engine Swoole service in a short-link manner to perform data interaction.
The server 10 is further configured to forward the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration.
It should be noted that, Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and configures a conf file of the Nginx through seven-layer load balancing of the upstream of the Nginx and four-layer load balancing of the F5 device, and forwards a service to a Swoole connection pool server through reverse proxy configuration, so as to finally realize that an application server is connected in series with the connection pool server, and the stability and availability of the service are ensured through multiple layers of loads. The server 10 forwards the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration, and acquires an idle connection from the connection pool through the connection pool server and distributes the idle connection to the target service.
The application terminal 20 is further configured to release, by the connection pool server, the link corresponding to the target service in the connection pool when the target service end instruction is received.
In a specific implementation, when the application 20 receives the target service end instruction, that is, the operation request of the target service is ended, the link corresponding to the target service is released to be maintained in the connection pool, so as to avoid consuming the performance of the service 10.
In this embodiment, the server is configured to deploy a zoole service of an asynchronous network communication engine, and the zoole provides a service of a connection pool, so that a situation that a connection pool cannot be established through Oracle to maintain connection of a database is avoided; the application end is used for running a target service in a preset process management mode through a hypertext preprocessor PHP, the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short link mode, the server end is further used for forwarding the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration, and the application end is further used for releasing a link corresponding to the target service in the connection pool through the connection pool server when receiving a target service ending instruction, releasing the link to be maintained in the connection pool based on base frame operation and maintenance, avoiding consumption of server end resources and improving server performance.
With continued reference to FIG. 1, a second embodiment of the unified deployment system for connection pools of the present invention is presented.
In the second embodiment, the server 10 is further configured to start a multi-process monitoring multiport through the asynchronous network communication engine Swoole service, and pull up the target process again after the target process is monitored to be dead.
It should be understood that, for the deployment of the asynchronous network communication engine Swoole service, when multiple processes are started to monitor multiple ports through the asynchronous network communication engine Swoole service, a supervisor (hypervisor) daemon is added, so that a single server can start multiple processes. When a process is accidentally killed, the super monitors that the process is dead, and then the super automatically pulls up the process again, so that the function of automatically recovering the process is achieved, the stability of the service is continuously ensured, and the high-performance service of the application service is provided.
Further, in this embodiment, the server 10 is further configured to perform multiple server deployments on an application server of the hypertext preprocessor PHP, and perform multiple server deployments on the asynchronous network communication engine Swoole service.
It can be understood that, a PHP application server and a plurality of servers are deployed for the asynchronous network communication engine Swoole service at a server, where each port monitors, for example, 9001 and 9002, to ensure that each server has four active ports, thereby ensuring high availability of the application, and implementing distributed deployment of a plurality of internet protocol addresses (IP addresses) and a plurality of ports of the Swoole server.
Further, in this embodiment, the server 10 is further configured to perform seven-layer load balancing through the reverse proxy server Nginx, and perform four-layer load balancing through the load balancing F5 device.
Note that, with seven layers of upstream load balancing by Nginx, and four layers of load balancing by F5 device: the intranet realizes the link with the F5VIP address and the 80 port, and realizes the network link of the F5 device; configuring F5 designated segment, forwarding data of 80 ports to Nginx server, such as 41886 high port, and realizing network link of Nginx service; configuring a conf file of Nginx, forwarding the service to a Swoole connection pool server through reverse proxy configuration, and finally realizing that an application server is connected with the connection pool server in series, and ensuring the stability and the availability of the service through multilayer load.
Further, in this embodiment, the server 10 is further configured to write two configuration segment files in an application package of the hypertext preprocessor PHP, so as to provide two link strings for a read operation and a write operation.
In the specific implementation, the Oracle database is configured as a cluster service, two configuration segment files are compiled in an application package of the PHP and are respectively used for providing two segments of link strings of read operation and write operation, the two read-write methods are split when the connection is linked at the bottom layer and are respectively processed corresponding to different link strings, so that transparent processing of development is realized, link implementation is not required to be concerned, and pure application layer code development is realized.
In this embodiment, after the process is monitored to be dead, the process is automatically pulled up again, so that the function of automatically recovering the process is achieved, the stability of the service is continuously guaranteed, and the high-performance service of the application service is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the unified deployment method for connection pools of the present invention, and provides the first embodiment of the unified deployment method for connection pools of the present invention.
In this embodiment, the method for uniformly deploying connection pools includes:
step S10: the service end deploys the asynchronous network communication engine Swoole service.
It should be understood that a dynamic expansion swool.so file of a Hypertext Preprocessor (PHP) is compiled through a phpide installation expansion mode of the PHP, a php.ini configuration file is changed, a swool package file is dynamically loaded when a PHP-fpm process is started, it is ensured that each process has a function of loading to a Swoole, a shell script is compiled for management, batch compilation, modification and restart services are performed on each server, and therefore deployment of a Swoole service of an asynchronous network communication engine is achieved, and the service of a connection pool is provided by the Swoole service of the asynchronous network communication engine.
Step S20: and the application terminal runs the target service in a preset process management mode through a hypertext preprocessor PHP, and the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link mode.
It can be understood that, at the application end, the PHP runs the service in a PHP-FPM manner, each running process is connected to the Swoole in a short-link manner, each process is started at the application end, for example, an application layer code triggers to read and write the DB, such as select or update, and each process is connected to the asynchronous network communication engine Swoole service in a short-link manner to perform data interaction.
Step S30: and the server forwards the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration.
It should be noted that, Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and configures a conf file of the Nginx through seven-layer load balancing of the upstream of the Nginx and four-layer load balancing of the F5 device, and forwards a service to a Swoole connection pool server through reverse proxy configuration, so as to finally realize that an application server is connected in series with the connection pool server, and the stability and availability of the service are ensured through multiple layers of loads. And the server forwards the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration, and acquires idle connection from the connection pool through the connection pool server and distributes the idle connection to the target service.
Step S40: and when the application terminal receives the target service ending instruction, releasing the link corresponding to the target service in a connection pool through the connection pool server.
In a specific implementation, when the application terminal receives the target service end instruction, that is, the operation request of the target service is ended, the link corresponding to the target service is released to be maintained in the connection pool, so that the performance of the service terminal is prevented from being consumed.
In this embodiment, the server is configured to deploy a zoole service of an asynchronous network communication engine, and the zoole provides a service of a connection pool, so that a situation that a connection pool cannot be established through Oracle to maintain connection of a database is avoided; the application end is used for running a target service in a preset process management mode through a hypertext preprocessor PHP, the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short link mode, the server end is further used for forwarding the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration, and the application end is further used for releasing a link corresponding to the target service in the connection pool through the connection pool server when receiving a target service ending instruction, releasing the link to be maintained in the connection pool based on base frame operation and maintenance, avoiding consumption of server end resources and improving server performance.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the unified deployment method for connection pools according to the present invention, and the second embodiment of the unified deployment method for connection pools according to the present invention is proposed based on the first embodiment of the unified deployment method for connection pools according to the present invention.
In this embodiment, after step S20, the method further includes:
step S201: and the server side starts multi-process monitoring multi-port through the asynchronous network communication engine Swoole service, and pulls up the target process again after the target process is monitored to be dead.
It should be understood that, for the deployment of the asynchronous network communication engine Swoole service, when multiple processes are started to monitor multiple ports through the asynchronous network communication engine Swoole service, a supervisor (hypervisor) daemon is added, so that a single server can start multiple processes. When a process is accidentally killed, the super monitors that the process is dead, and then the super automatically pulls up the process again, so that the function of automatically recovering the process is achieved, the stability of the service is continuously ensured, and the high-performance service of the application service is provided.
Further, in this embodiment, after step S10, the method further includes:
the service side deploys a plurality of servers for an application server of the hypertext preprocessor PHP, and deploys a plurality of servers for the asynchronous network communication engine Swoole service.
It can be understood that, a PHP application server and a plurality of servers are deployed for the asynchronous network communication engine Swoole service at a server, where each port monitors, for example, 9001 and 9002, to ensure that each server has four active ports, thereby ensuring high availability of the application, and implementing distributed deployment of a plurality of internet protocol addresses (IP addresses) and a plurality of ports of the Swoole server.
Further, in this embodiment, after the step S20 or after the step S201, the method further includes:
the server side performs seven-layer load balancing through a reverse proxy server Nginx, and performs four-layer load balancing through a load balancing F5 device.
Note that, with seven layers of upstream load balancing by Nginx, and four layers of load balancing by F5 device: the intranet realizes the link with the F5VIP address and the 80 port, and realizes the network link of the F5 device; configuring F5 designated segment, forwarding data of 80 ports to Nginx server, such as 41886 high port, and realizing network link of Nginx service; configuring a conf file of Nginx, forwarding the service to a Swoole connection pool server through reverse proxy configuration, and finally realizing that an application server is connected with the connection pool server in series, and ensuring the stability and the availability of the service through multilayer load.
Further, in this embodiment, after the step S10, or after the server deploys multiple servers to the application server of the hypertext preprocessor PHP, and deploys multiple servers to the asynchronous network communication engine zooole service, the method further includes:
the server side writes two configuration segment files in an application package of the hypertext preprocessor PHP so as to provide two link strings of read operation and write operation.
In the specific implementation, the Oracle database is configured as a cluster service, two configuration segment files are compiled in an application package of the PHP and are respectively used for providing two segments of link strings of read operation and write operation, the two read-write methods are split when the connection is linked at the bottom layer and are respectively processed corresponding to different link strings, so that transparent processing of development is realized, link implementation is not required to be concerned, and pure application layer code development is realized.
In this embodiment, after the process is monitored to be dead, the process is automatically pulled up again, so that the function of automatically recovering the process is achieved, the stability of the service is continuously guaranteed, and the high-performance service of the application service is provided.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third and the like do not denote any order, but rather the words first, second and the like may be interpreted as indicating any order.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A unified deployment system for connection pools, comprising: a server side and an application side;
the server is used for deploying the asynchronous network communication engine Swoole service;
the application terminal is used for running a target service in a preset process management mode through a hypertext preprocessor PHP, and the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short link mode;
the server is also used for forwarding the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration;
and the application end is further used for releasing the link corresponding to the target service in a connection pool through the connection pool server when the target service ending instruction is received.
2. The system for unified deployment of connection pools as claimed in claim 1, wherein the server is further configured to start multi-process monitoring multi-port through the asynchronous network communication engine Swoole service, and pull up the target process again when it is monitored that the target process is dead.
3. The system for unified deployment of connection pools as claimed in claim 1, wherein the server is further configured to perform multi-server deployment on an application server of a hypertext preprocessor PHP and perform multi-server deployment on a zoole service of the asynchronous network communication engine.
4. The unified deployment system of connection pools of claim 1, wherein the server is further configured to perform seven-tier load balancing through a reverse proxy server Nginx and four-tier load balancing through a load balancing F5 device.
5. The unified deployment system of connection pools of any of claims 1-4, wherein the server is further configured to write two configuration segment files in an application package of a hypertext preprocessor PHP to provide two linked strings for read and write operations.
6. A unified deployment method of a connection pool is characterized in that the unified deployment method is based on a unified deployment system of the connection pool, and the unified deployment system of the connection pool comprises the following steps: a server side and an application side; the unified deployment method of the connection pool comprises the following steps:
the service end deploys asynchronous network communication engine Swoole service;
the application terminal runs a target service in a preset process management mode through a hypertext preprocessor PHP, and the running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link mode;
the server forwards the target service to a connection pool server of the asynchronous network communication engine Swoole service through reverse proxy configuration;
and when the application terminal receives the target service ending instruction, releasing the link corresponding to the target service in a connection pool through the connection pool server.
7. The method for uniformly deploying connection pools as claimed in claim 6, wherein the application terminal runs a target service in a preset process management mode through a hypertext preprocessor PHP, and after a running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link manner, the method for uniformly deploying connection pools further comprises:
and the server side starts multi-process monitoring multi-port through the asynchronous network communication engine Swoole service, and pulls up the target process again after the target process is monitored to be dead.
8. The unified deployment method of connection pools of claim 6, wherein after the service end deploys the asynchronous network communication engine Swoole service, the unified deployment method of connection pools further comprises:
the service side deploys a plurality of servers for an application server of the hypertext preprocessor PHP, and deploys a plurality of servers for the asynchronous network communication engine Swoole service.
9. The method for uniformly deploying connection pools as claimed in claim 6, wherein the application terminal runs a target service in a preset process management mode through a hypertext preprocessor PHP, and after a running process of the target service performs data interaction with the asynchronous network communication engine Swoole service in a short-link manner, the method for uniformly deploying connection pools further comprises:
the server side performs seven-layer load balancing through a reverse proxy server Nginx, and performs four-layer load balancing through a load balancing F5 device.
10. The unified deployment method of connection pools according to any one of claims 6 to 9, wherein after the service end deploys the asynchronous network communication engine zooole service, the unified deployment method of connection pools further comprises:
the server side writes two configuration segment files in an application package of the hypertext preprocessor PHP so as to provide two link strings of read operation and write operation.
CN202010123969.3A 2020-02-28 2020-02-28 Unified deployment system and method for connection pool Withdrawn CN111431969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010123969.3A CN111431969A (en) 2020-02-28 2020-02-28 Unified deployment system and method for connection pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010123969.3A CN111431969A (en) 2020-02-28 2020-02-28 Unified deployment system and method for connection pool

Publications (1)

Publication Number Publication Date
CN111431969A true CN111431969A (en) 2020-07-17

Family

ID=71547287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010123969.3A Withdrawn CN111431969A (en) 2020-02-28 2020-02-28 Unified deployment system and method for connection pool

Country Status (1)

Country Link
CN (1) CN111431969A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064735A (en) * 2021-03-17 2021-07-02 上海哔哩哔哩科技有限公司 Service processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682043A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method for connecting distributed databases
CN106170016A (en) * 2016-07-28 2016-11-30 深圳市创梦天地科技有限公司 A kind of method and system processing high concurrent data requests
CN108366021A (en) * 2018-01-12 2018-08-03 北京奇虎科技有限公司 A kind of method and system of the concurrent web page access business of processing
WO2019200102A1 (en) * 2018-04-11 2019-10-17 Cornell University Method and system for improving software container performance and isolation
CN110674116A (en) * 2019-09-25 2020-01-10 四川长虹电器股份有限公司 System and method for checking and inserting data repetition of database based on swoole
CN110795254A (en) * 2019-09-23 2020-02-14 武汉智美互联科技有限公司 Method for processing high-concurrency IO based on PHP

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682043A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method for connecting distributed databases
CN106170016A (en) * 2016-07-28 2016-11-30 深圳市创梦天地科技有限公司 A kind of method and system processing high concurrent data requests
CN108366021A (en) * 2018-01-12 2018-08-03 北京奇虎科技有限公司 A kind of method and system of the concurrent web page access business of processing
WO2019200102A1 (en) * 2018-04-11 2019-10-17 Cornell University Method and system for improving software container performance and isolation
CN110795254A (en) * 2019-09-23 2020-02-14 武汉智美互联科技有限公司 Method for processing high-concurrency IO based on PHP
CN110674116A (en) * 2019-09-25 2020-01-10 四川长虹电器股份有限公司 System and method for checking and inserting data repetition of database based on swoole

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
云深不知处: "Swoole-Demo(3) Swoole数据库连接池", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/32994757》 *
风中驻足: "php添加扩展模块swoole", 《HTTPS://WWW.CNBLOGS.COM/FENGZHONGZHUZU/P/8807073.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064735A (en) * 2021-03-17 2021-07-02 上海哔哩哔哩科技有限公司 Service processing method and device

Similar Documents

Publication Publication Date Title
US11429369B2 (en) Distributed upgrade in virtualized computing environments
CN108737270B (en) Resource management method and device for server cluster
KR20060051932A (en) Updating software while it is running
US20180270116A1 (en) Dynamic activation of web applications
CN106227582B (en) Elastic telescopic method and system
CN109614167B (en) Method and system for managing plug-ins
CN111858054B (en) Resource scheduling system and method based on edge computing in heterogeneous environment
JP2013541113A (en) Stateful applications that run in a stateless cloud computing environment
CN111796838B (en) Automatic deployment method and device for MPP database
WO2018196462A1 (en) Resource scheduling apparatus, resource scheduling system and resource scheduling method
CN111984289A (en) Service updating method, device, equipment and storage medium
CN111857951A (en) Containerized deployment platform and deployment method
CN109697078B (en) Repairing method of non-high-availability component, big data cluster and container service platform
CN112463290A (en) Method, system, apparatus and storage medium for dynamically adjusting the number of computing containers
US8892740B2 (en) Dynamic application provisioning in cloud computing environments
CN112882738A (en) Configuration information updating method and device under micro-service architecture and electronic equipment
CN111431969A (en) Unified deployment system and method for connection pool
CN111736809A (en) Distributed robot cluster network management framework and implementation method thereof
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
US20200310828A1 (en) Method, function manager and arrangement for handling function calls
US20020073409A1 (en) Telecommunications platform with processor cluster and method of operation thereof
CN108073426B (en) Software management method, device and system based on cloud computing
CN113965548A (en) Hardware drive updating method, system, equipment and medium of storage server
CN115225645B (en) Service updating method, device, system and storage medium
CN113515458B (en) Method and system for reducing test environment resource consumption based on Envoy plug-in

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200717