Parameter configuration method and device

By automatically obtaining and adjusting the parameter configuration information of the proxy server, the problem that the reverse proxy server cannot meet the performance requirements of each application is solved, and efficient parameter configuration and resource optimization are achieved.

CN113900738BActive Publication Date: 2025-08-15LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111242323.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2025-08-15
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

In the prior art, the parameter configuration of the reverse proxy server cannot meet the performance requirements of each application, resulting in omissions in configuration content and interruption of automated deployment processes.

Method used

By automatically obtaining the configuration information of published applications in the business application platform, including static and dynamic parameters, dynamically adjusting the parameter configuration of the proxy server to meet the performance requirements of the application.

Benefits of technology

It realizes automatic optimization of proxy server parameters, improves configuration efficiency, ensures application performance requirements, and avoids waste of resources and interruptions in automated deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113900738B_ABST
    Figure CN113900738B_ABST
Patent Text Reader

Abstract

The present application discloses a parameter configuration method and device, the method comprising: obtaining configuration information of a first application that has been published in a business application platform, the configuration information comprising relevant information of the first application, the relevant information being determined based on at least static parameters or dynamic parameters of the first application; and configuring parameters of a proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during operation after the parameter configuration. The above implementation scheme automatically obtains the relevant configuration information of the first application that has been published in the business application platform, and then actively modifies the relevant parameters of the proxy server based on the configuration information of the first application, so that the modified configuration information can better adapt to the relevant parameters of the first application and meet the performance requirements of the first application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software technology, and more specifically, to a parameter configuration method and device. Background Art

[0002] In a business application platform, when a generated application runs independently, the front-end interface interacts with back-end services through a reverse proxy server. During the continuous integration and delivery of applications, each generated application is served by a corresponding reverse proxy server. However, the parameter configuration of the reverse proxy server is relatively fixed and cannot meet the performance requirements of every application. Therefore, it is necessary to configure the parameters of the reverse proxy server. However, a suitable method for configuring the parameters of the reverse proxy server is currently lacking. Summary of the Invention

[0003] In view of this, this application provides the following technical solutions:

[0004] A parameter configuration method, comprising:

[0005] For a first application published in the business application platform, obtaining configuration information of the first application, where the configuration information includes relevant information of the first application, and the relevant information is determined based on at least a static parameter or a dynamic parameter of the first application;

[0006] The proxy server is configured with parameters based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during operation after the parameter configuration is performed.

[0007] Optionally, obtaining the configuration information of the first application includes:

[0008] In the first stage, first information of the first application is obtained;

[0009] In a second phase different from the first phase, second information of the first application is obtained, where the first information and the second information represent parameters of different types.

[0010] Optionally, in the first stage, obtaining the first information of the first application includes:

[0011] Before the first application is started, the allocated resource information of the first application and / or the behavior characteristics of the background service data interface are obtained.

[0012] Optionally, obtaining second information of the first application in a second stage different from the first stage includes:

[0013] During the startup of the first application, indicator information related to parameters of the proxy server in the current runtime environment of the first application is obtained.

[0014] Optionally, the performing parameter configuration on the proxy server based on the configuration information includes:

[0015] Adjust configuration parameters of the proxy server based on the first information and / or the second information of the first application, so that the adjusted configuration parameters are the same as or correspond to the first information and / or the second information.

[0016] Optionally, obtaining configuration information of a first application published in the business application platform includes:

[0017] For a first application that has been released in the business application platform, configuration information of the first application is obtained by reading a database or a description file.

[0018] Optionally, obtaining configuration information of a first application published in the business application platform includes:

[0019] During the startup of the first application, the configuration information of the first application is obtained by reading the system kernel parameters.

[0020] Optionally, the performing parameter configuration on the proxy server based on the configuration information includes:

[0021] Based on the configuration information, determining a target parameter value through a combination algorithm;

[0022] The first parameter value in the proxy server is dynamically adjusted to be the target parameter value, where the first parameter value is the same as or corresponds to the first information.

[0023] Optionally, after configuring parameters of the proxy server based on the first information, the method further includes:

[0024] Receive communication data generated when the proxy server runs based on the latest configuration parameters.

[0025] A parameter configuration device, comprising:

[0026] an information obtaining module, configured to obtain, for a first application published in a business application platform, configuration information of the first application, the configuration information including relevant information of the first application, the relevant information being determined based on at least static parameters or dynamic parameters of the first application;

[0027] The parameter configuration module is used to configure the parameters of the proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration is performed.

[0028] Through the above technical solution, it can be known that compared with the existing technology, the embodiment of the present application discloses a parameter configuration method and device, the method includes: for a first application that has been published in a business application platform, obtaining the configuration information of the first application, the configuration information includes relevant information of the first application, and the relevant information is determined based on at least the static parameters or dynamic parameters of the first application; configuring the parameters of the proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration. The above implementation scheme automatically obtains the relevant configuration information of the first application that has been published in the business application platform, and then actively modifies the relevant parameters of the proxy server based on the configuration information of the first application, so that the modified configuration information can better adapt to the relevant parameters of the first application and meet the performance requirements of the first application. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0030] Figure 1 A flow chart of a parameter configuration method disclosed in an embodiment of the present application;

[0031] Figure 2 A flowchart of obtaining the configuration information of the first application disclosed in an embodiment of the present application;

[0032] Figure 3 This is a flowchart of configuring parameters for a proxy server disclosed in an embodiment of the present application;

[0033] Figure 4 This is a schematic flow chart of the implementation principle of the parameter configuration method disclosed in the embodiment of this application;

[0034] Figure 5 This is a flowchart of another parameter configuration method disclosed in an embodiment of the present application;

[0035] Figure 6 This is a structural diagram of a parameter configuration device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0037] Figure 1 This is a flow chart of a parameter configuration method disclosed in an embodiment of the present application. Figure 1 The method shown can realize the automatic configuration of proxy server parameters corresponding to the published applications in the business application platform, so that the relevant parameters of the proxy server can better adapt to the performance parameters of its associated applications, while ensuring application performance and avoiding resource waste.

[0038] In order to better understand the implementation of this application solution, the relevant content of the proxy server in the business application platform will be introduced. In the business application platform, when the published application is running independently, the front-end application interface interacts with the back-end service, which is realized through the Ali server, such as Nginx (Nginx is a high-performance HTTP and reverse proxy web server, and also provides IMAP / POP3 / SMTP services) as a reverse proxy. In the case of continuous integration and continuous delivery of applications, each time an application is generated, there is a corresponding proxy server as a reverse proxy. However, the parameter configuration of the proxy server is relatively solidified, and it is obviously unable to meet the performance requirements of each application. Therefore, it is necessary to configure the parameters for the proxy server so that it can meet the performance requirements of its associated published applications.

[0039] Of course, the proxy server can be configured through manual configuration, but manual configuration is not only prone to omissions in configuration content, but also interrupts the application's automated deployment process and reduces the degree of application automation deployment. Therefore, the technical solution of this application is proposed.

[0040] See also Figure 1 As shown, the parameter configuration method disclosed in the embodiment of the present application may include:

[0041] Step 101: For a first application that has been published in a business application platform, obtain configuration information of the first application.

[0042] The configuration information includes relevant information about the first application, and the relevant information is determined based on at least static parameters or dynamic parameters of the first application. Static parameters refer to fixed information, such as the number of CPUs and memory size allocated to the first application by the business application platform. These parameters are static parameters and do not change with the operation of the first application. Dynamic parameters can be parameters that may change in real time as the first application runs, such as network speed, file transfer speed, etc.

[0043] It is understandable that the configuration information of the first application includes a lot of data, and this application does not obtain all of the configuration information of the first application. Instead, it only obtains some configuration information related to the operation of the proxy server. For example, the configuration parameter "maximum number of uploaded files" of the first application can be obtained, and the allocated bandwidth of the proxy server can be configured so that the allocated bandwidth is sufficient to support the simultaneous upload of the maximum number of uploaded files. However, the configuration parameters of some scripts running in the first application itself do not need to be obtained.

[0044] Step 102: Parameter configuration is performed on the proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during operation after the parameter configuration is performed.

[0045] After determining the configuration information of the first application, corresponding configurations of some parameters of the proxy server related to the configuration information may be determined based on the configuration information, so that the operation of the proxy server can provide adaptive support for the normal operation of the first application.

[0046] To configure the parameters of the proxy server, a program or system may be written in the business application platform to enable it to write to the configuration file of the proxy server to modify the configuration parameters of the proxy server.

[0047] The parameter configuration method described in this embodiment automatically obtains the relevant configuration information of the first application that has been released in the business application platform, and then actively modifies the relevant parameters of the proxy server based on the configuration information of the first application, so that the modified configuration information can better adapt to the relevant parameters of the first application and meet the performance requirements of the first application; on the basis of strong practicality, the solution can also greatly improve the efficiency of configuring the proxy server and enhance the user experience.

[0048] Figure 2 For a flowchart of obtaining the configuration information of the first application disclosed in the embodiment of this application, see Figure 2 As shown, obtaining the configuration information of the first application may include:

[0049] Step 201: In the first stage, first information of the first application is obtained.

[0050] The first stage may be before the first application is launched. Since some configuration information of the first application is directly stored in a database of the business application platform or in a file in a system directory, such as a description file, the first information of the first application can be obtained at any time by reading the database or the file in the directory.

[0051] Specifically, obtaining the first information of the first application in the first stage may include: obtaining the allocated resource information and / or behavioral characteristics of the background service data interface of the first application before the first application is started.

[0052] Step 202: In a second stage different from the first stage, second information of the first application is obtained, where the first information and the second information represent parameters of different types.

[0053] The second stage may be a startup stage of the first application. Some configuration information of the first application can only be obtained when the application is started, such as some parameters related to the operating environment.

[0054] Specifically, obtaining the second information of the first application in the second stage different from the first stage may include: during the startup of the first application, obtaining indicator information related to the parameters of the proxy server in the current runtime environment of the first application, such as some threshold parameters of the Linux system.

[0055] Based on the above content, the parameter configuration of the proxy server based on the configuration information may include: adjusting the configuration parameters of the proxy server based on the first information and / or the second information of the first application, so that the adjusted configuration parameters are the same or corresponding to the first information and / or the second information.

[0056] In different application scenarios, the parameter configuration content required by the proxy server will be different. Therefore, based on actual needs, you can choose to dynamically adjust the configuration parameters of the proxy server based only on the first information or the second information of the first application, or configure the relevant parameters in the proxy server based on both the first information and the second information of the first application.

[0057] In one implementation, obtaining configuration information of a first application published in a business application platform may include: obtaining configuration information of the first application published in the business application platform by reading a database or a description file.

[0058] As mentioned above, some configuration information of the first application is directly recorded in the database of the platform or stored in the system directory. In this case, the configuration information of the first application can be directly read from the files in the database or directory.

[0059] In another implementation, obtaining the configuration information of the first application published in the business application platform may also include: obtaining the configuration information of the first application by reading system kernel parameters during the startup of the first application.

[0060] Corresponding to the above content, some configuration information can only be obtained during the startup of the first application. Therefore, in this implementation, it is necessary to read the system kernel parameters during the startup of the first application in order to obtain these configuration information.

[0061] In one example, before an application starts, Nginx parameter configuration can be dynamically optimized based on allocated resources and the behavior of backend service data interfaces. During application startup, Nginx parameter configuration is dynamically refreshed based on the runtime environment. After the application successfully starts, Nginx parameters are adjusted to the optimal configuration. Ultimately, Nginx parameters can be automatically optimized for optimal performance across multiple application scenarios within the business application platform.

[0062] Figure 3 This is a flowchart of configuring parameters for a proxy server disclosed in an embodiment of the present application, such as Figure 3 As shown, in the aforementioned embodiment, configuring parameters of the proxy server based on the configuration information may include:

[0063] Step 301: Based on the configuration information, determine the target parameter value through a combination algorithm.

[0064] Step 302: Dynamically adjust the first parameter value in the proxy server to the target parameter value, where the first parameter value is the same as or corresponds to the first information.

[0065] It should be noted that the adjusted configuration parameters in the proxy server can be exactly the same as the configuration information of the first application, or different but somewhat related parameters. For example, for the upload file size limit of the first application, the proxy server can also set its upload file size limit to be the same as the parameter of the first application; for another example, for the "single request packet size" configuration information in the first application, the proxy server can adjust its own bandwidth parameters based on this configuration information so that its bandwidth can meet the transmission requirements of the "single request packet size" without causing a large amount of bandwidth waste.

[0066] Figure 4 This is a schematic diagram of the implementation principle of the parameter configuration method disclosed in the embodiment of this application, combined with Figure 4 As shown, in a specific implementation, the business application platform engineer will first control the generation of applications in the business application platform and publish the generated applications in the business application platform; then, since the parameter configuration content required by the proxy server will be different in different application scenarios, after clarifying which parameters the proxy server needs to configure, it is possible to first determine how to obtain the parameters that need to be configured in the proxy server, such as whether they can be obtained directly from the business application platform database, or must be obtained during the startup process of the published application, and then the corresponding parameters are obtained before or during the startup of the published application.

[0067] Different types of configuration parameters are obtained in different ways. Therefore, after determining the method for obtaining the parameters to be configured, you can enter different parameter acquisition processes (see Figure 4 Based on the above, the implementation of parameter configuration can be, but is not limited to:

[0068] In the business application platform, the generated application interface interacts with the background service through Nginx. Before the application is started, statistics are collected on the current application's allocated resources (such as CPU, memory, etc.) and server resources. Based on the statistical results, a combination algorithm is used to dynamically optimize Nginx's resource-related parameter configurations.

[0069] For example, Nginx parameter: worker_processes (number of nginx processes) = worker_connections (number of external connections a single worker process can establish simultaneously). This parameter is closely related to two indicators: memory and the operating system-level "maximum number of open files per process". During implementation, you can:

[0070] ① According to the mathematical formula, 100,000 connections will occupy about 31M = 100,000 * 328 / 1024 / 1024;

[0071] ② Maximum number of files that a process can open: The maximum number of files that a process can open is limited by the operating system and can be queried using the ulimit -n command.

[0072] In the business application platform, the generated application interface interacts with the background service through Nginx. Before the application is started, the behavioral characteristics of the current application background service data interface (such as upload and download, long connection, etc.) are counted. Based on the statistical data interface behavior characteristics, the parameter configuration related to the behavior characteristics of Nginx and the background service data interface is dynamically optimized through a combination algorithm.

[0073] For example, Nginx parameter: client_max_body_size (upload file size limit): For example, if the data interface limits the upload size to 1G, then this parameter is set to 1G. The configuration information that needs to be obtained includes:

[0074] Keepalive (maintaining long connections):

[0075] keepalive_timeout (client connection timeout):

[0076] keepalive_requests (the maximum number of requests that can be served on a persistent connection):

[0077] Enable and set these three parameters based on the long connection characteristics of the data interface.

[0078] In the business application platform, the generated application interface interacts with the background service through Nginx. When the application starts, statistics are collected on indicators related to the current runtime environment and Nginx parameters (such as Linux system ulimit related parameters, etc.). Based on the statistical indicators, a combination algorithm is used to dynamically optimize the parameter configuration related to Nginx and the runtime environment.

[0079] For example, Nginx parameter: worker_rlimit_nofile (maximum number of available file descriptors):

[0080] You can obtain the Linux kernel parameter open files as a reference and then set the Nginx parameter worker_rlimit_nofile.

[0081] Figure 5 This is a flow chart of another parameter configuration method disclosed in the embodiment of this application, such as Figure 5 As shown, the parameter configuration method may include:

[0082] Step 501: For a first application that has been published in a business application platform, obtain configuration information of the first application.

[0083] The configuration information includes relevant information of the first application, and the relevant information is determined based on at least static parameters or dynamic parameters of the first application.

[0084] Step 502: Parameter configuration is performed on the proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during operation after the parameter configuration is performed.

[0085] Step 503: Receive communication data generated when the proxy server runs based on the latest configuration parameters.

[0086] After the relevant parameters in the proxy server have been adapted to the first application and adjusted and configured, the proxy server can run based on the configured parameters and cooperate with the relevant operation of the first application, which can not only ensure the working performance of the first application but also avoid wasting unnecessary resources; thereby achieving that after the first application is successfully started, the parameters of the proxy server have been adjusted to the optimal configuration, and ultimately, in multiple application scenarios of the business application platform, the proxy server parameters can be automatically optimized to achieve optimal performance.

[0087] For the sake of simplicity, the aforementioned method embodiments are described as a series of action combinations. However, those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0088] The above embodiments disclosed in the present application describe the method in detail. The method of the present application can be implemented using various devices. Therefore, the present application also discloses a device, and a specific embodiment is given below for detailed description.

[0089] Figure 6 This is a schematic diagram of the structure of a parameter configuration device disclosed in an embodiment of the present application, see Figure 6 As shown, the parameter configuration device 60 may include:

[0090] The information acquisition module 601 is used to obtain configuration information of a first application published in a business application platform, where the configuration information includes relevant information of the first application, and the relevant information is determined based on at least static parameters or dynamic parameters of the first application.

[0091] The parameter configuration module 602 is used to configure the parameters of the proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration.

[0092] The parameter configuration device described in this embodiment automatically obtains the relevant configuration information of the first application that has been released in the business application platform, and then actively modifies the relevant parameters of the proxy server based on the configuration information of the first application, so that the modified configuration information can better adapt to the relevant parameters of the first application and meet the performance requirements of the first application; on the basis of strong practicality, the solution can also greatly improve the efficiency of configuring the proxy server and enhance the user experience.

[0093] In one implementation, the information acquisition module includes: a first acquisition module, used to obtain first information of the first application in a first stage; a second acquisition module, used to obtain second information of the first application in a second stage different from the first stage, the first information and the second information represent different types of parameters.

[0094] In one implementation, the first obtaining module may be specifically configured to obtain the allocated resource information and / or behavioral characteristics of the background service data interface of the first application before the first application is started.

[0095] In one implementation, the second obtaining module may be specifically configured to obtain, during startup of the first application, indicator information related to proxy server parameters in the current runtime environment of the first application.

[0096] In one implementation, the parameter configuration module may be configured to adjust configuration parameters of the proxy server based on the first information and / or the second information of the first application, so that the adjusted configuration parameters are the same as or correspond to the first information and / or the second information.

[0097] In one implementation, the information obtaining module may be specifically configured to: obtain configuration information of a first application that has been published in a business application platform by reading a database or a description file.

[0098] In one implementation, the information obtaining module may be specifically configured to obtain the configuration information of the first application by reading system kernel parameters during startup of the first application.

[0099] In one implementation, the parameter configuration module can be specifically used to: determine the target parameter value through a combination algorithm based on the configuration information; dynamically adjust the first parameter value in the proxy server to the target parameter value, where the first parameter value is the same as or corresponds to the first information.

[0100] In one implementation, the parameter configuration device may further include: a communication processing module configured to receive communication data generated when the proxy server runs based on the latest configuration parameters after the parameter configuration module configures the parameters of the proxy server based on the first information.

[0101] Any one of the parameter configuration devices described in the above embodiments includes a processor and a memory. The information acquisition module, parameter configuration module, first acquisition module, second or module, communication processing module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to realize corresponding functions.

[0102] The processor contains a kernel, which retrieves the corresponding program module from the memory. There can be one or more kernels, and the kernel parameters can be adjusted to process the access data.

[0103] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0104] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the parameter configuration method described in the above embodiment is implemented.

[0105] An embodiment of the present application provides a processor, which is used to run a program, wherein the parameter configuration method described in the above embodiment is executed when the program is run.

[0106] Furthermore, this embodiment provides an electronic device, comprising a processor and a memory. The memory is used to store executable instructions of the processor, and the processor is configured to execute the parameter configuration method described in the above embodiment by executing the executable instructions. The executable instructions include: obtaining configuration information of a first application published in a business application platform, the configuration information including relevant information of the first application, and the relevant information is determined based on at least static parameters or dynamic parameters of the first application; and configuring parameters of a proxy server based on the configuration information, so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration is performed.

[0107] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0108] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0109] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0110] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A parameter configuration method, comprising: For a first application that has been published in the business application platform, before the first application is started, the allocated resource information and / or behavioral characteristics of the background service data interface of the first application are obtained by reading a database or a description file; During the startup of the first application, obtaining indicator information related to the parameters of the proxy server in the current runtime environment of the first application by reading system kernel parameters; Before the first application is started, the parameter configuration of the proxy server is dynamically optimized based on the allocated resource information of the first application and the behavioral characteristics of the background service data interface; during the startup of the first application, the parameter configuration of the proxy server is dynamically refreshed based on the runtime environment; so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration is performed.

2. The parameter configuration method according to claim 1, wherein the dynamically optimizing or dynamically refreshing the proxy server parameter configuration comprises: Based on the configuration information, the target parameter value is determined by a combination algorithm; The first parameter value in the proxy server is dynamically adjusted to be the target parameter value, where the first parameter value is the same as or corresponds to the allocated resource information of the first application and / or the behavioral characteristics of the background service data interface.

3. The parameter configuration method according to claim 1, further comprising: Receive communication data generated when the proxy server runs based on the latest configuration parameters.

4. A parameter configuration device, comprising: An information acquisition module is used to obtain, for a first application published on the business application platform, the allocated resource information and / or behavioral characteristics of the background service data interface of the first application by reading a database or description file before the first application is started; During the startup of the first application, obtaining indicator information related to the parameters of the proxy server in the current runtime environment of the first application by reading system kernel parameters; A parameter configuration module is used to dynamically optimize the parameter configuration of the proxy server based on the allocated resource information of the first application and the behavioral characteristics of the background service data interface before the first application is started; during the startup of the first application, dynamically refresh the parameter configuration of the proxy server based on the runtime environment; so that the proxy server can better adapt to the relevant parameters of the first application when performing processing operations during the operation process after the parameter configuration is performed.

Citation Information

Patent Citations

  • Server configuration method and device, electronic equipment

    CN109347675A