Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Server parameter deploying method and device with no need for restarting

A technology for deploying servers and servers. It is applied in the field of deploying server parameters without restarting. It can solve the problems of online business interruption, slow loading process, time-consuming and labor-intensive problems, and achieve the effect of easy modification and improved reading speed.

Active Publication Date: 2014-05-07
ALIBABA GRP HLDG LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] This method is time-consuming and labor-intensive. The application server carries a large number of business requests every day, and each stop will cause the interruption of online business. In addition, in order to modify one or two parameters, the entire server will be restarted, and the cost is huge. The loss is also relatively large
[0008] 2. The performance of loading via xml is poor
Since the parameters are written in the local xml file, reading through the IO stream is a relatively performance-intensive operation; in addition, after reading the xml, parsing the xml is also a performance-intensive operation
If there are many configuration parameters, the loading process will be slow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server parameter deploying method and device with no need for restarting
  • Server parameter deploying method and device with no need for restarting
  • Server parameter deploying method and device with no need for restarting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The technical solution of the present application will be further described below in conjunction with the accompanying drawings.

[0064] see figure 1 , a method for deploying server parameters without restarting in this application, including:

[0065] Step 100, allocate storage space in the server, and write server parameters into the storage space, specifically including:

[0066] see figure 2 , step 101, create several static variables in storage space, the setting of static variable can utilize existing multiple programming language and programming method to realize, take Java as an example, first define one or more public (public) static (static) Variables, the defined static variables correspond to server parameters one by one.

[0067] For example, regarding the visible attribute of a certain type of web page, when the server parameter is set to true, all users accessing the server can browse this type of web page; when the server parameter is set to fasle, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a server parameter deploying method with no need for restarting. The server parameter deploying method comprises: step 100, a storage space is allocated in a server, and server parameters are written into the storage space; step 110, the server parameters are loaded into a server internal memory when a server is started; step 120, the storage space is accessed to re-deploy the server parameters. Compared with the prior art, the reading speed of the server parameter deploying method and device with no need for restarting through xml is high, server restating is not needed. When assignment operation of related static variables or key / value pairs is finished, the server parameters are also updated and re-deployed.

Description

technical field [0001] The present application relates to the technical field of computer networks, and in particular to a method and device for deploying server parameters without restarting. Background technique [0002] For application servers running online, sometimes it is necessary to deploy and adjust some parameters to achieve different effects and fulfill business requirements. For example, a data export function has two modes: single-threaded export and multi-threaded export. The default server parameter is single-threaded. When multi-threaded export operations need to be performed, server parameters need to be adjusted. The traditional method needs to stop the server first, change the parameters, and then restart the server. [0003] Some application servers have the function of hot deployment, which mainly realizes dynamic deployment by reading xml configuration files. These technical solutions generally write the configuration file in an xml file. When the ser...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F3/06
Inventor 戴键阳
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products