CN111338682A - Continuous upgrading system service method based on load - Google Patents

Continuous upgrading system service method based on load Download PDF

Info

Publication number
CN111338682A
CN111338682A CN202010124859.9A CN202010124859A CN111338682A CN 111338682 A CN111338682 A CN 111338682A CN 202010124859 A CN202010124859 A CN 202010124859A CN 111338682 A CN111338682 A CN 111338682A
Authority
CN
China
Prior art keywords
service
module
load balancing
services
node
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.)
Granted
Application number
CN202010124859.9A
Other languages
Chinese (zh)
Other versions
CN111338682B (en
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.)
Shanghai Baiqiu E Commerce Co ltd
Original Assignee
Shanghai Baiqiu E Commerce 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 Shanghai Baiqiu E Commerce Co ltd filed Critical Shanghai Baiqiu E Commerce Co ltd
Priority to CN202010124859.9A priority Critical patent/CN111338682B/en
Publication of CN111338682A publication Critical patent/CN111338682A/en
Application granted granted Critical
Publication of CN111338682B publication Critical patent/CN111338682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A continuous upgrading system service method based on load adopts a formal load balancing service module, a gray level load balancing service module, a service node module, a configuration center module, a cache center module and a database module in a PC (personal computer) as the basis of upgrading; the formal load balancing service module can build a load balancing cluster; the gray scale load balancing service module is used for releasing new service; in the application of the service node module, a data service interface is provided for a front-end page and a background management system; the configuration center module is used for providing an initial configuration information service when the service is released and restarted; the cache center module is used for storing communication use signal quantity among different services and other service shared data; the database module is used for storing persistent data. The invention can realize seamless switching and release of new services, reduce the flow pressure of each node, facilitate the configuration consistency among all service nodes and provide powerful technical support for the upgrade of the e-commerce platform system.

Description

Continuous upgrading system service method based on load
Technical Field
The invention relates to the technical field of internet application in the e-commerce industry, in particular to a continuous upgrading system service method based on load.
Background
With the development of science and technology and the rise of the internet, the number of e-commerce platforms is more and more, and the e-commerce platform system can be divided into a foreground display page, a background data service interface and a background management system. The foreground display is a page for a user to browse and purchase a commodity tracking order, the background data service interface provides services of a series of data such as commodities, orders and payments for the front-end page, and the background management system is used for managing a series of data such as commodities, users, orders and payment accounts. Generally, the e-commerce platform system is commonly used by multiple merchants and multiple shops facing to individual users, the system needs to be ensured to be available continuously for 7 × 24 hours, and in the upgrade of the e-commerce platform system, no matter how complicated the service upgrade time is, how much time is occupied, and how many modules are related to the upgrade, the system needs to be ensured to be fully available, so that the actual requirement can be met. In the prior art, a technology capable of effectively ensuring complete availability of a system in the upgrade of an e-commerce platform system is not available, and particularly, for an e-commerce platform system deployed by centralized Saas, a great challenge is faced.
Disclosure of Invention
In order to overcome the defects that in the prior art, no technology for effectively ensuring the complete availability of the system exists in the upgrade of the e-commerce platform system, which can cause the interruption of service in the upgrade and influence the upgrade, the invention provides a continuous upgrade system service method based on load, which can realize seamless switching and release of new service under the combined action of related unit modules, ensure the continuous availability of a user side, ensure the elastic increase of service nodes under high flow, reduce the flow pressure of each node, improve the overall throughput of the system, realize the rapid release and copy of the service and the uniform management of configuration files, and facilitate the configuration consistency among all the service nodes, thereby providing powerful technical support for the upgrade of the e-commerce platform system.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a continuous upgrading system service method based on load is characterized in that a formal load balancing service module, a gray level load balancing service module, a service node module, a configuration center module, a cache center module and a database module in a PC are used as the basis of upgrading; the formal load balancing service module can build a load balancing cluster; the gray scale load balancing service module is used for releasing new service; in the application of the service node module, a data service interface is provided for a front-end page and a background management system; the configuration center module is used for providing an initial configuration information service when the service is released and restarted; the cache center module is used for storing communication use semaphore among different services and other shared data among the services; the database module is used for storing persistent data.
In the application of the formal load balancing service module, the load balancing can be carried out simultaneously, a cluster can also be built, the high availability of the whole set of system is ensured, the service is regarded as a uniform load balancing module, and the seamless switching of load nodes can be realized.
In the application of the gray scale load balancing service module, before the new service is released, after the new service is tested to be correct, the formal service is switched to.
In the application of the service section module, a formal load balancing service module, a gray level load balancing service module, a configuration center module, a cache center module and a database module are deployed according to services, the contents of the service modules on each node can be the same or different, and the services registered in the same registration center need to be guaranteed to be a set of complete services.
In the application of the configuration center module, the configuration center module needs to be deployed independently.
In the application of the cache center, communication among all module services is needed, information is kept to be stored in the cache center, node switching is achieved, the cache center can be made into a cluster form to guarantee high availability of the cache module, and the service is regarded as a uniform cache module to achieve data communication among all node services.
The invention has the beneficial effects that: under the combined action of the formal load balancing service module, the gray scale load balancing service module, the service node module, the configuration center module, the cache center module and the database module, the seamless switching and release of new services can be realized, the continuous availability of a user side is ensured, the service nodes can be elastically increased under high flow, the flow pressure of each node is reduced, the overall throughput of the system is improved, the rapid release and copy of the services can be realized, the unified management of configuration files is realized, the configuration consistency among all the service nodes is facilitated, and further powerful technical support is provided for the upgrade of the e-commerce platform system. Based on the above, the invention has good application prospect.
Drawings
FIG. 1 is a block diagram of the architecture of the present invention.
Detailed Description
As shown in fig. 1, the method for continuously upgrading the system service based on the load uses a formal load balancing service module, a gray level load balancing service module, a service node module, a configuration center module, a cache center module, and a database module in a PC as a basis for upgrading; the formal load balancing service module can build a load balancing cluster; the gray scale load balancing service module is used for releasing new service; in the application of the service node module, a data service interface is provided for a front-end page and a background management system; the configuration center module is used for providing an initial configuration information service when the service is released and restarted; the cache center module is used for storing communication use semaphore among different services and other shared data among the services; the database module is used for storing persistent data.
As shown in fig. 1, in the application of the formal load balancing service module, load balancing can be performed simultaneously, and a cluster can also be built, so that high availability of the whole set of system is ensured. In the application of the gray scale load balancing service module, before a new service is released when a system is upgraded, the new service is tested to be correct, and then the formal service is switched to. In the application of the service section module, a formal load balancing service module, a gray level load balancing service module, a configuration center module, a cache center module and a database module are deployed according to services, the contents of the service modules on each node can be the same or different, but the services registered in the same registration center need to be guaranteed to be a set of complete services. In the application of the configuration center module, the configuration center module needs to be deployed independently. In the application of the cache center, communication among a formal load balancing service module, a gray scale load balancing service module, a service node module, a configuration center module and a database module is required, information is kept to be stored in the cache center to be supported, otherwise, switching of nodes cannot be realized, the cache center can also be made into a cluster form to ensure high availability of the cache module, high availability construction of the cache center module is not discussed in the embodiment, and data communication among all node services can be realized only by regarding the service as a uniform cache module.
As shown in fig. 1, the application process of the present invention is as follows, S1, the formal load balancing service module modifies the formal load balancing service, and under the combined action of the service node module, the configuration center module, the cache center module, and the database module, the weight of the service node B is modified to 0, that is, all processing requests of the service node B are disconnected. S2, modifying the gray scale load balancing service through the gray scale formal load balancing service module, modifying the weight of the service node B to be not 0 under the combined action of the service node module, the configuration center module, the cache center module and the database module, namely, linking the request of the service node B, connecting the request of the gray scale test page to the gray scale load balancing service, and starting to test whether the newly issued service is completely normal on the service node B. S3, waiting for the service node B to finish the test, and switching the service nodes A and B through the service node module; modifying the gray scale load balancing service through a gray scale formal load balancing service module, modifying the weight of a service node B to be 0, modifying the formal load balancing service through the formal load balancing service module, modifying the weight of the service node B to be not 0, and simultaneously modifying the weight of the service node A to be 0, wherein the weight is a key point, the time for switching the service nodes A and B through the service node module is close to 0, so that a seamless effect can be achieved, after the nodes are switched, the updated service can be released to be on line, and meanwhile, the old service node A is withdrawn; and S4, repeating the operation of S2, completing the updating of all the service modules of the service node A and passing the test. S5, modifying the gray level load balancing service, modifying the weight of the service node A to 0, disconnecting the gray level environment link, modifying the formal load balancing service, modifying the weight of the service node A to be not 0, and providing the service with the service node B.
As shown in fig. 1, under the combined action of the formal load balancing service module, the gray scale load balancing service module, the service node module, the configuration center module, the cache center module and the database module, the present invention can implement seamless switching to release new services, ensure continuous availability of a user side, ensure flexible increase of service nodes under high flow, reduce flow pressure of each node, improve the overall throughput of the system, and implement rapid release and replication of services, unified management of configuration files, facilitate configuration consistency among service nodes, and further provide powerful technical support for upgrade of e-commerce platform systems.
While there have been shown and described what are at present considered the fundamental principles and essential features of the invention and its advantages, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, but is capable of other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (6)

1. A continuous upgrading system service method based on load is characterized in that a formal load balancing service module, a gray level load balancing service module, a service node module, a configuration center module, a cache center module and a database module in a PC are used as the basis of upgrading; the formal load balancing service module can build a load balancing cluster; the gray scale load balancing service module is used for releasing new service; in the application of the service node module, a data service interface is provided for a front-end page and a background management system; the configuration center module is used for providing an initial configuration information service when the service is released and restarted; the cache center module is used for storing communication use semaphore among different services and other shared data among the services; the database module is used for storing persistent data.
2. The method for continuously upgrading the system service based on the load according to claim 1, wherein in the application of the formal load balancing service module, the load balancing can be performed simultaneously, and a cluster can also be built, so that the high availability of the whole system is ensured, and the service is regarded as a uniform load balancing module, so that the seamless switching of load nodes can be realized.
3. The method as claimed in claim 1, wherein the gray scale load balancing service module is used to test the new service before releasing the new service and then switch to the regular service.
4. The method for continuously upgrading system services based on loads according to claim 1, wherein in the application of the service node modules, a formal load balancing service module, a gray level load balancing service module, a configuration center module, a cache center module and a database module are deployed according to services, and the contents of the service modules on each node can be the same or different, and the services registered in the same registry need to be guaranteed to be a set of complete services.
5. The method of claim 1, wherein the configuration center module application is deployed separately.
6. The method for continuously upgrading system services based on load according to claim 1, wherein in the application of the cache center, communication among the services of each module is required, information is kept to be stored in the cache center, and node switching is realized, the cache center can also be made into a cluster form to ensure high availability of the cache module, and the services are regarded as a uniform cache module to realize data communication among the services of each node.
CN202010124859.9A 2020-02-27 2020-02-27 Continuous upgrade system service method based on load Active CN111338682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010124859.9A CN111338682B (en) 2020-02-27 2020-02-27 Continuous upgrade system service method based on load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010124859.9A CN111338682B (en) 2020-02-27 2020-02-27 Continuous upgrade system service method based on load

Publications (2)

Publication Number Publication Date
CN111338682A true CN111338682A (en) 2020-06-26
CN111338682B CN111338682B (en) 2023-05-09

Family

ID=71183797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010124859.9A Active CN111338682B (en) 2020-02-27 2020-02-27 Continuous upgrade system service method based on load

Country Status (1)

Country Link
CN (1) CN111338682B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571288B1 (en) * 1999-04-26 2003-05-27 Hewlett-Packard Company Apparatus and method that empirically measures capacity of multiple servers and forwards relative weights to load balancer
CN101576918A (en) * 2009-06-19 2009-11-11 用友软件股份有限公司 Data buffering system with load balancing function
CN102143022A (en) * 2011-03-16 2011-08-03 北京邮电大学 Cloud measurement device and method for IP network
CN107391156A (en) * 2017-07-31 2017-11-24 成都华为技术有限公司 Method, management node and service node for distributed system transmission services
CN108647265A (en) * 2018-04-28 2018-10-12 新疆熙菱信息技术股份有限公司 Based on multiple platform data interactive formula system
CN110149396A (en) * 2019-05-20 2019-08-20 华南理工大学 A kind of platform of internet of things construction method based on micro services framework
CN110798517A (en) * 2019-10-22 2020-02-14 雅马哈发动机(厦门)信息系统有限公司 Decentralized cluster load balancing method and system, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571288B1 (en) * 1999-04-26 2003-05-27 Hewlett-Packard Company Apparatus and method that empirically measures capacity of multiple servers and forwards relative weights to load balancer
CN101576918A (en) * 2009-06-19 2009-11-11 用友软件股份有限公司 Data buffering system with load balancing function
CN102143022A (en) * 2011-03-16 2011-08-03 北京邮电大学 Cloud measurement device and method for IP network
CN107391156A (en) * 2017-07-31 2017-11-24 成都华为技术有限公司 Method, management node and service node for distributed system transmission services
CN108647265A (en) * 2018-04-28 2018-10-12 新疆熙菱信息技术股份有限公司 Based on multiple platform data interactive formula system
CN110149396A (en) * 2019-05-20 2019-08-20 华南理工大学 A kind of platform of internet of things construction method based on micro services framework
CN110798517A (en) * 2019-10-22 2020-02-14 雅马哈发动机(厦门)信息系统有限公司 Decentralized cluster load balancing method and system, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN111338682B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN110225138B (en) Distributed architecture
CN103780636A (en) Cached data processing method and cached data processing system
US20120284558A1 (en) Application recovery in a file system
CN109544072A (en) Method, system, equipment and medium are reduced in hot spot inventory localization
CN108874567A (en) A kind of service processing method and system
CN107656748B (en) Application publishing method and device
CN107656937A (en) Method and apparatus for realizing read-write data consistency
US20070124155A1 (en) Consolidating and managing hardware maintenance services
US8688946B2 (en) Selecting an auxiliary storage medium for writing data of real storage pages
US8527995B2 (en) Synchronization system for entities maintained by multiple applications
CN110223179A (en) The data processing method of fund, device, system, medium
CN109995585A (en) A kind of abnormality eliminating method, equipment and storage medium
CN111666166B (en) Service providing method, device, equipment and storage medium
CN111338682A (en) Continuous upgrading system service method based on load
CN108241718A (en) The method and server of a kind of parallel data processing
US20220091769A1 (en) Method, device and computer program product for managing storage pool
CN110325980A (en) The expansion technique of user interface rear end cluster for the application of database binding type
WO2003058399A2 (en) Method and system for adaptive software system interface and external database synchronization
CN115170152A (en) Data distribution method, device, equipment and storage medium
US11068346B2 (en) Method and apparatus for data protection
CN105245375A (en) Network-based efficient storage method
CN111523927A (en) Resource sending method, device, equipment and storage medium
CN111538716B (en) Method and related device for maintaining database across systems
CN112272237B (en) Mirror image management method and mirror image management device for cloud desktop
CN109344249A (en) Information processing method, device, electronic equipment and computer readable storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200335 floor 2, building B, No. 1358 Xiehe Road, Changning District, Shanghai

Applicant after: Shanghai baiqiu new online commerce Digital Technology Co.,Ltd.

Address before: 201800 room 2141, west area, building 4, No. 3131, Jinshajiang Road, Jiading District, Shanghai

Applicant before: Shanghai baiqiu e-commerce Co.,Ltd.

GR01 Patent grant
GR01 Patent grant