CN111338682B - Continuous upgrade system service method based on load - Google Patents

Continuous upgrade system service method based on load Download PDF

Info

Publication number
CN111338682B
CN111338682B CN202010124859.9A CN202010124859A CN111338682B CN 111338682 B CN111338682 B CN 111338682B CN 202010124859 A CN202010124859 A CN 202010124859A CN 111338682 B CN111338682 B CN 111338682B
Authority
CN
China
Prior art keywords
service
module
load balancing
node
cache
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.)
Active
Application number
CN202010124859.9A
Other languages
Chinese (zh)
Other versions
CN111338682A (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 New Online Commerce Digital Technology Co ltd
Original Assignee
Shanghai Baiqiu New Online Commerce Digital Technology 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 New Online Commerce Digital Technology Co ltd filed Critical Shanghai Baiqiu New Online Commerce Digital Technology 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

The service method of the continuous upgrading system based on the 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 as the upgrading basis; the load balancing clusters can be built in the formal load balancing service module application; the gray 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 initialization configuration information service when the service release is restarted; the cache center module is used for storing communication use semaphores among different services and sharing data among other services; the database module is used for storing the persistent data. The invention can realize seamless switching and release of new service, reduce the flow pressure of each node, facilitate the consistent configuration among the service nodes and provide powerful technical support for the upgrade of the e-commerce platform system.

Description

Continuous upgrade 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 a load.
Background
With development of technology, the number of e-commerce platforms is increasing, 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 commodity and track an order, the background data service interface provides services of a series of data such as commodity, order, payment and the like for a front-end page, and the background management system is used for managing a series of data such as commodity, user, order, payment and the like. In general, the e-commerce platform system is commonly used by multiple merchants and multiple shops facing individual users, the system needs to be guaranteed to be continuously available for 7 x 24 hours, and in the upgrading of the e-commerce platform system, no matter how complicated the service upgrading time is, how much time is occupied, how many modules are involved in upgrading, the system needs to be guaranteed to be completely available, so that the actual needs can be met. In the prior art, no technology capable of effectively ensuring the complete availability of a system in the upgrading of an e-commerce platform system exists, and particularly for the e-commerce platform system deployed by centralized Saas, great challenges are faced.
Disclosure of Invention
In order to overcome the defects that in the prior art, in the upgrading of an e-commerce platform system, no technology for effectively ensuring the complete availability of the system can cause interruption of service in the upgrading and bring influence to the upgrading, the invention provides a continuous upgrading system service method based on load, which can realize seamless switching and release of new service, ensure continuous availability of a user side, ensure that service nodes can be flexibly increased under high flow, reduce flow pressure of each node, improve the overall throughput of the system, realize quick release and replication of the service, and uniformly manage configuration files, facilitate the configuration consistency among the service nodes, and further provide powerful technical support for the upgrading of the e-commerce platform system.
The technical scheme adopted for solving the technical problems is as follows:
the continuous upgrading system service method based on the 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 adopted as the upgrading basis; the formal load balancing service module can build a load balancing cluster in application; the gray 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 initialization configuration information service when the service release is restarted; the cache center module is used for storing communication use semaphores among different services and sharing data among other services; the database module is used for storing persistent data.
In the application of the formal load balancing service module, clusters can be built through load balancing at the same time, high availability of the whole system is guaranteed, the service is regarded as a unified load balancing module, and seamless switching of load nodes can be achieved.
In the application of the gray scale load balancing service module, before a new service is released, the new service is tested to be correct, and then the service is switched to a formal service.
In the service node module application, 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 the service, the content of the service module on each node can be the same or different, the service module is registered to the same registration center, and the service needs to be ensured to be a set of complete service.
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 the services of each module is needed, information is kept to be stored in the cache center, so that node switching is realized, the cache center can be made into a cluster form to ensure high availability of the cache modules, and the service is regarded as a unified cache module to realize data communication among the services of each node.
The invention has the beneficial effects that: under the combined action of the formal load balancing service module, the gray level load balancing service module, the service node module, the configuration center module, the cache center module and the database module, the invention can realize seamless switching and release of new service, ensure the continuous availability of a user side, ensure that service nodes can be flexibly increased under high flow, reduce the flow pressure of each node, improve the overall throughput of the system, realize the rapid release and replication of the service, realize the unified management of configuration files, facilitate the configuration consistency among the service nodes, and further provide powerful technical support for the upgrade of an 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
In the continuous upgrading system service method based on the load shown in fig. 1, 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 adopted as the upgrading basis; the formal load balancing service module can build a load balancing cluster in application; the gray 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 initialization configuration information service when the service release is restarted; the cache center module is used for storing communication use semaphores among different services and sharing data among other services; the database module is used for storing persistent data.
In the application of the formal load balancing service module shown in fig. 1, clusters can be built at the same time in load balancing, so that high availability of the whole system is ensured, in the embodiment, high availability construction of the load balancing service is not discussed, the service is regarded as a unified load balancing module, and seamless switching of load nodes in upgrading the system can be realized. In the application of the gray scale load balancing service module, before a new service is released in the process of upgrading the system, the new service is tested without errors and then is switched to a formal service. In the application of the service node module, the formal load balancing service module, the gray level load balancing service module, the configuration center module, the cache center module and the database module are deployed according to the service, and the content of the service module on each node can be the same or different, but the service module is registered to the same registration center and needs to be ensured to be a set of complete service. In the application of the configuration center module, the configuration center module needs to be deployed independently. In the application of the cache center, the service between the service modules of the formal load balancing service module, the gray load balancing service module, the service node module, the configuration center module and the database module is required to be communicated, the information is kept to be stored in the cache center and can be supported, otherwise, the switching of the nodes cannot be realized, the cache center can be made into a cluster form to ensure the high availability of the cache module, the high availability construction of the cache center module is not discussed in the embodiment, and the service is only required to be regarded as a unified cache module, so that the data communication between the service of each node can be realized.
In fig. 1, the application process of the present invention is as follows, S1, the formal load balancing service is modified by the formal load balancing service module, 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, i.e. all processing requests of the service node B are disconnected. S2, modifying gray level load balancing service through a gray level formal load balancing service module, modifying the weight of the service node B to be non-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, enabling the request of a gray level test page to be connected to the gray level load balancing service, and starting to test whether the newly released service is completely normal on the service node B. S3, waiting for the completion of the test of the service node B, and switching the service nodes A and B through a service node module; the gray level load balancing service is modified through the gray level formal load balancing service module, the weight of the service node B is modified to 0, the formal load balancing service is modified through the formal load balancing service module, the weight of the service node B is modified to be non-0, meanwhile, the weight of the service node A is modified to 0, the key point is that the time for switching the service nodes A and B through the service node module is close to 0, therefore, the seamless effect can be achieved, after the nodes are switched, updated service can be released to be on line, and the old service node A is withdrawn; s4, repeating the S2 operation, and completing the complete updating of the service modules of the service node A and passing the test. S5, modifying gray level load balancing service, modifying the weight of the service node A to 0, disconnecting gray level environment link, modifying formal load balancing service, modifying the weight of the service node A to be non-0, and providing service to the outside simultaneously with the service node B.
In the method, as shown in fig. 1, under the combined action of the formal load balancing service module, the gray level load balancing service module, the service node module, the configuration center module, the cache center module and the database module, the seamless switching release of new services can be realized, the continuous availability of a user terminal is ensured, the service nodes can be flexibly increased under high flow, the flow pressure of each node is reduced, the overall throughput of the system is improved, the rapid release and replication of the services can be realized, the unified management of configuration files is facilitated, the configuration among the service nodes is consistent, and further powerful technical support is provided for the upgrading of an e-commerce platform system.
While the fundamental and principal features of the invention and advantages of the invention have been shown and described, it will be apparent to those skilled in the art that the invention is limited to the details of the foregoing exemplary embodiments, and that the invention may be embodied in 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 disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail herein, but rather is provided for the purpose of enabling those skilled in the art to make and use the embodiments described herein.

Claims (1)

1. The continuous upgrading system service method based on the 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 adopted as the upgrading basis; the formal load balancing service module can build a load balancing cluster in application; the gray 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 initialization configuration information service when the service release is restarted; the cache center module is used for storing communication use semaphores among different services and sharing data among other services; the database module is used for storing persistent data; in the application of a formal load balancing service module, clusters can be built at the same time through load balancing, high availability of the whole system is guaranteed, the service is regarded as a unified load balancing module, and seamless switching of load nodes can be realized; in the application of the gray scale load balancing service module, before a new service is released, the new service is tested to be correct, and then the service is switched to a formal service; in the application of the service node 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 the service, the content of the service module on each node can be the same or different, the service registered in the same registration center is required to be ensured to be a set of complete service; in the application of the configuration center module, independent deployment is needed; in the application of the cache center, communication among the services of each module is needed, information is kept to be stored in the cache center, so that node switching is realized, the cache center can be made into a cluster form to ensure high availability of the cache modules, and the service is regarded as a unified 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 CN111338682A (en) 2020-06-26
CN111338682B true 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 (5)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391156B (en) * 2017-07-31 2021-01-08 成都华为技术有限公司 Method, management node and service node for distributed system transmission service
CN108647265B (en) * 2018-04-28 2021-08-27 新疆熙菱信息技术股份有限公司 Multi-platform data-based interactive system

Patent Citations (5)

* 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
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
CN111338682A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US9021461B2 (en) Method and system for minimizing or eliminating downtime when updating a website
US9031910B2 (en) System and method for maintaining a cluster setup
CN112069265B (en) Synchronization method of configuration data, business data system, computer system and medium
CN108351806A (en) Database trigger of the distribution based on stream
US20100023564A1 (en) Synchronous replication for fault tolerance
CN110225138B (en) Distributed architecture
TW202037114A (en) Block chain-based data checking system and method, computing device and storage medium
US20080201571A1 (en) System and method for managing boot images in a retail store environment
US20120198269A1 (en) Method and apparatus for application recovery in a file system
CN111090587A (en) Method, device and equipment for testing production point service and storage medium
CN107656937A (en) Method and apparatus for realizing read-write data consistency
CN107291821A (en) A kind of method that same city dual-active framework is switched fast
US11249793B2 (en) Executing a pipeline command sequence designed for execution on a single node across a fleet of nodes
CN109995585B (en) Exception handling method, device and storage medium
CN101878620A (en) Modifying system routing information in link based systems
CN111338682B (en) Continuous upgrade system service method based on load
US20090100000A1 (en) Acquisition and expansion of storage area network interoperation relationships
CN111131449A (en) Method for constructing service clustering framework of water resource management system
US20100235479A1 (en) Device and method for identifying entities to be upgraded, added or removed
US20220091769A1 (en) Method, device and computer program product for managing storage pool
US11068346B2 (en) Method and apparatus for data protection
CN115185582B (en) Gray scale publishing method and device for multiple tenants and storage medium
CN114745438B (en) Cache data processing method, device and system of multi-data center and electronic equipment
CN114070845B (en) Method and device for cooperatively reporting transaction information
WO2023135790A1 (en) Network management device, network management method, and network management system

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