CN104809025B - A kind of project loading method and device - Google Patents

A kind of project loading method and device Download PDF

Info

Publication number
CN104809025B
CN104809025B CN201510214160.0A CN201510214160A CN104809025B CN 104809025 B CN104809025 B CN 104809025B CN 201510214160 A CN201510214160 A CN 201510214160A CN 104809025 B CN104809025 B CN 104809025B
Authority
CN
China
Prior art keywords
project
resource pool
new version
mirror image
version
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
CN201510214160.0A
Other languages
Chinese (zh)
Other versions
CN104809025A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510214160.0A priority Critical patent/CN104809025B/en
Publication of CN104809025A publication Critical patent/CN104809025A/en
Application granted granted Critical
Publication of CN104809025B publication Critical patent/CN104809025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of project loading method and devices, and applied to distributed computer cluster, this method includes:The mirror image of new version project is deployed in the resource pool of the distributed computer cluster so that the mirror image of two different editions of same project is existed simultaneously and run in the resource pool;The project mirror image that the part for pending task newly received is distributed to version on the line in resource pool performs, and the project mirror image that another part is distributed to the new version in resource pool performs;Whether the project mirror image execution task for detecting new version in resource pool is normal;If so, the project mirror image for stepping up new version in resource pool performs the quantity of task, until the quantity that the project mirror image of new version in resource pool performs task reaches preset threshold value, finished item is reached the standard grade.It using the embodiment of the present invention, does not need to extract server from computer cluster, simplifies the process for new version project of reaching the standard grade.

Description

Project online method and device
Technical Field
The invention relates to the technical field of internet, in particular to a project online method and a project online device.
Background
A distributed computer cluster is a system formed by a plurality of server hosts coupled to one another, and project code is deployed on each server in the computer cluster.
At present, the version of an item in a computer cluster is updated, the item of a new version is online, a gray level online mode is generally adopted, and the specific method is as follows:
1. removing some servers in the cluster from the cluster, and deploying the project code of the new version needing the gray level online in the removed servers.
2. And mounting the removed server in a cluster, detecting whether the operation of the server with the deployed new version project code is stable, namely whether the gray scale online is stable, and after the operation is stable, deploying the new version project code needing the gray scale online to other servers without the deployed new version project code in the cluster. For example: assuming that 3 existing servers in a cluster are respectively a server x, a server y and a server z, a currently-operated project version on the three servers is a0, and a project version is to be upgraded to a1, at this time, the server x needs to be removed from the cluster first, a code with a project version of a1 is deployed on the server x, after deployment is completed, the server x is mounted in the cluster, if the server x operates normally, the server y and the server z are removed from the cluster, a code with a project version of a1 is deployed on the server y and the server z, and after deployment is completed, the server y and the server z are mounted in the cluster.
The method is applied to online the project of the new version, the process is complicated, and when a part of servers are removed to deploy the project code of the new version, the loads of other servers are increased, and the task is easily blocked.
Disclosure of Invention
The embodiment of the invention aims to provide a project online method and a project online device, so as to simplify the process of online of a new version project.
In order to achieve the above object, an embodiment of the present invention discloses a project online method, which is applied to a distributed computer cluster, and includes:
deploying the mirror image of the new version project in a resource pool of the distributed computer cluster, so that two different versions of the mirror image of the same project exist in the resource pool and operate simultaneously;
distributing one part of the newly received task to be executed to the project mirror image execution of the online version in the resource pool, and distributing the other part to the project mirror image execution of the new version in the resource pool;
detecting whether the project mirror image execution task of the new version in the resource pool is normal;
if so, increasing the number of the project mirror image execution tasks of the new version in the resource pool, after the tasks are executed, continuing to execute the operation step of detecting whether the project mirror image execution tasks of the new version in the resource pool are normal or not, and distributing all the tasks received again to the project mirror image execution tasks of the new version in the resource pool until the number of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, thereby completing the online of the project.
When it is detected that the new version of the project image in the resource pool performs the task abnormally, the method may further include:
and distributing the re-received tasks to be executed to the online version project mirror image in the resource pool for execution, and deleting the mirror image of the new version project in the resource pool.
Deploying the image of the new version project in a resource pool of the distributed computer cluster, so that two different versions of the image of the same project exist and run in the resource pool at the same time, may include:
and deploying the mirror image of the new version project in the resource pool by using a docker application container engine, and isolating the new version project in the resource pool from the online version project, so that two different versions of the mirror image of the same project exist and run in the same resource pool at the same time.
The deploying the mirror image of the new version project in the resource pool by using the docker application container engine, and isolating the new version project in the resource pool from the online version project may include:
according to the code of the new version project, a docker application container engine is utilized to generate and store a docker mirror image corresponding to the version project;
after an item version updating instruction is received, pulling a docker mirror image of a new version item from the stored docker mirror images;
and deploying the docker mirror image of the pulled new version project in the resource pool to realize the isolation of the new version project in the resource pool and the online version project.
The allocating a part of the newly received task to be executed to the online version of the project image in the resource pool, and allocating another part to the new version of the project image in the resource pool, may include:
determining the amount of tasks to be executed by the new version project image and the amount of tasks to be executed by the online version project image from the tasks to be executed, and generating a new version project task and an online version project task;
and distributing the new version project task and the online version project task to different computing nodes in the resource pool for execution by using a distributed computing framework.
The embodiment of the invention also discloses a project online device, which is applied to a distributed computer cluster and comprises the following components:
the mirror image deployment unit is used for deploying the mirror image of the new version project in the resource pool of the distributed computer cluster, so that two different versions of the mirror image of the same project exist in the same resource pool and are operated at the same time;
the task execution unit is used for allocating one part of the newly received task to be executed to the project mirror image execution of the online version in the resource pool and allocating the other part to the project mirror image execution of the new version in the resource pool;
the detection unit is used for detecting whether the project mirror image execution task of the new version in the resource pool is normal or not;
and the task quantity adjusting unit is used for increasing the quantity of the project mirror image execution tasks of the new version in the resource pool when the project mirror image execution tasks of the new version in the resource pool are normal, and after the tasks are executed, continuously executing the operation step of detecting whether the project mirror image execution tasks of the new version in the resource pool are normal or not until the quantity of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, and then distributing all the tasks received again to the project mirror image execution tasks of the new version in the resource pool to complete the on-line of the project.
The apparatus may further include:
and the execution task exception processing unit is used for distributing the re-received task to be executed to the online version of the project mirror image in the resource pool for execution and deleting the mirror image of the new version of the project in the resource pool under the condition that the execution task of the new version of the project mirror image in the resource pool is detected to be abnormal.
The mirror image deployment unit can be a project isolation unit; the project isolation unit is used for deploying the mirror image of the new version project in the resource pool by using the docker application container engine, and isolating the new version project in the resource pool from the online version project, so that the two mirror images of different versions of the same project exist in the same resource pool and operate simultaneously.
The item isolation unit may include: the new version mirror image generation subunit, the new version project mirror image pulling subunit and the isolation subunit;
the new version mirror image generation subunit is used for generating and storing a docker mirror image corresponding to the version project by using a docker application container engine according to the code of the new version project;
the new version project image pull sub-unit is used for pulling the docker image of the new version project from the stored docker image after receiving the project version update instruction;
the isolation subunit is configured to deploy the docker mirror image of the pulled new version item in the resource pool, so as to implement isolation of the new version item in the resource pool from the online version item.
The task execution unit may be specifically configured to determine, from the to-be-executed tasks, a task amount to be executed by the new version project image and a task amount to be executed by the online version project image, and generate a new version project task and an online version project task; and distributing the new version project task and the online version project task to different computing nodes in the resource pool to be executed by using a distributed computing framework.
As can be seen from the above technical solutions, in the project online method and apparatus provided in the embodiments of the present invention, the mirror image of the new version project is deployed in the resource pool of the distributed computer cluster, so that two mirror images of different versions of the same project exist in the resource pool and are run simultaneously; and after detecting that the new version project task is normally executed, increasing the number of the project mirror image execution tasks of the new version in the resource pool until the number of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, and distributing all the tasks received again to the project mirror image execution of the new version in the resource pool to finish the on-line of the project. Therefore, by applying the embodiment of the invention, the server does not need to be removed from the computer cluster, and the process of online new version items is simplified. In the process of online new version projects, the servers in the computer cluster are always in a running state, the load of other servers is not increased, and task blocking is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a project online method of an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an item online device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The project online method and the project online device provided by the embodiment of the invention utilize the resource pool technology to deploy the mirror image of the new version project in the resource pool of the distributed computer cluster, so that the two mirror images of different versions of the same project exist in the resource pool and operate simultaneously; and after detecting that the new version project task is normally executed, increasing the number of the project mirror image execution tasks of the new version in the resource pool until the number of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, and distributing all the tasks received again to the project mirror image execution of the new version in the resource pool to finish the on-line of the project. Therefore, by applying the embodiment of the invention, the server does not need to be removed from the computer cluster, and the process of online new version items is simplified.
Referring to fig. 1, a process of the project online method according to the embodiment of the present invention is applied to a distributed computer cluster, and includes:
step 101, deploying the mirror image of the new version project in a resource pool of the distributed computer cluster, so that two different versions of the mirror image of the same project exist and operate in the resource pool at the same time. I.e., both the grayscale version and the online version of the same project exist and run in the resource pool.
In this step, the docker application container engine may be utilized to deploy the mirror image of the new version project in the resource pool, and isolate the new version project from the online version project in the resource pool, so that two different versions of the same project exist and run in the same resource pool at the same time.
Specifically, in this embodiment, a docker application container engine may be used to generate and store a docker image corresponding to a new version of an item according to a code of the new version of the item; then, after an item version updating instruction is received, pulling a docker mirror image of the new version item from the stored docker mirror image; and finally, deploying the docker mirror image of the pulled new version project in the resource pool to realize the isolation of the new version project in the resource pool and the online version project.
The generating and storing of the docker image corresponding to the version item may specifically include: compiling a docker file for the new version item code, generating a docker image (docker mirror image) belonging to the version item, distributing a corresponding tag number, and correspondingly storing the tag number of the docker image and corresponding information of the version item in a database or other distributed storage media of the distributed computer cluster. As can be understood by those skilled in the art, when the gray level of the project codes of all versions is on line, the docker images of the corresponding version projects are generated and stored.
And 102, distributing one part of the newly received task to be executed to the online version project mirror image execution in the resource pool, and distributing the other part to the new version project mirror image execution in the resource pool.
In this embodiment, the amount of tasks to be executed by the new version project image and the amount of tasks to be executed by the online version project image may be determined from the tasks to be executed, and the new version project task and the online version project task, that is, the grayscale project task and the online project task, may be generated; and then, distributing the new version project task and the online version project task to different computing nodes in the resource pool for execution by using the distributed computing framework. The specific process of distribution by using a distributed computing framework belongs to the prior art. In the embodiment of the invention, project tasks of different versions are distributed to different computing nodes in a resource pool by using a distributed computing framework.
In practical application, a new version item image and an online version item image may be selected from the stored docker images. And determining the amount of tasks to be executed by the new version project image and the amount of business to be executed by the online version project image from the tasks to be executed, and generating a gray online project task and an online version project task. And storing the task information of the generated gray level online project task and the online version project task to facilitate the adjustment of subsequent task quantity, and rapidly adjusting each project version or task quantity when problems occur, thereby realizing the backspacing of gray level. The task information of the gray level online project task and the online version project task at least comprises the following steps: tag numbers of project images of tasks to be executed and the quantity of tasks with different versions for executing the tasks.
And then, distributing the gray level online project task and the online version project task to different computing nodes in the resource pool to be executed by using a distributed computing framework. And each computing node executes the gray level online project task or the online version project task according to the tag number and the task quantity in the task information of the gray level online project task or the online version project task.
And 103, detecting whether the project image execution task of the new version in the resource pool is normal.
In practical applications, the specific detection method may be the same as that in the prior art, and is not described herein again.
And 104, if so, increasing the number of the project mirror image execution tasks of the new version in the resource pool, and after the tasks are executed, continuing to execute the operation step of detecting whether the project mirror image execution tasks of the new version in the resource pool are normal or not until the number of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, then distributing all the tasks received again to the project mirror image execution of the new version in the resource pool, and completing the online of the project.
In this step, the number of the project mirror image execution tasks of the new version in the resource pool is increased under the condition that the project mirror image execution tasks of the new version, namely the gray level online project tasks, are normally executed. And when the task quantity of the gray level online project task reaches a preset threshold value, determining that the gray level online is stable, and allocating all the re-received tasks to the project mirror image execution of the new version in the resource pool to complete the online of the project.
In practical application, the task amount of the project mirror image execution task of the new version can be gradually increased according to a preset rule. For example: firstly, 10% of tasks to be executed are distributed to the project mirror image of the new version, after the tasks are executed normally, 10% of tasks to be executed are added to the project mirror image of the new version, and after the tasks are executed normally, 10% of tasks to be executed are added; and repeatedly executing until 90%, determining that the gray level is stable, and distributing all the re-received tasks to the project mirror image execution of the new version in the resource pool, namely completing the project line-up.
In other embodiments, in the event that it is detected that a new version of the project image in the resource pool is not performing properly, the method further comprises: and distributing the re-received tasks to be executed to the online version project mirror image in the resource pool for execution, and deleting the mirror image of the new version project in the resource pool. I.e. to achieve a grey scale back-off.
In practical application, all the re-received tasks to be executed can be directly allocated to the project mirror image of the online version in the resource pool for execution, the mirror image of the project of the new version in the resource pool is deleted, and rollback is completed.
Step-wise fallback is also possible, for example: when 50% of the tasks to be executed are allocated to the project image of the new version and 50% of the tasks to be executed are allocated to the project image of the online version, if it is detected that the tasks are not normally executed, the ratio may be reduced, for example, adjusted to 40% of the tasks to be executed are allocated to the project image of the new version and 60% of the tasks to be executed are allocated to the project image of the online version. If the execution is still not normal, reducing the tasks to be executed by 10% and distributing the tasks to be executed to the project mirror image of the new version, if the execution is still abnormal, reducing the tasks to be executed by 10% and distributing the tasks to be executed to the project mirror image of the new version, repeatedly executing the tasks until all the tasks to be executed are distributed to the project mirror image of the online version, deleting the mirror image of the project of the new version in the resource pool, and finishing rollback.
As can be seen from the above embodiments, by applying the embodiments of the present invention, the server does not need to be removed from the computer cluster, and the process of online new version items is simplified.
Referring to fig. 2, an item online apparatus according to an embodiment of the present invention, which corresponds to the method shown in fig. 1, is applied to a distributed computer cluster, and includes: the system comprises a mirror image deployment unit 201, a task execution unit 202, a detection unit 203 and a task amount adjustment unit 204. Wherein,
the mirror image deployment unit 201 is configured to deploy a mirror image of a new version project in a resource pool of the distributed computer cluster, so that two different versions of the mirror image of the same project exist and run in the same resource pool at the same time.
The task execution unit 202 is configured to allocate a part of the newly received task to be executed to the online version of the project mirror image in the resource pool for execution, and allocate another part to the new version of the project mirror image in the resource pool for execution;
the detecting unit 203 is configured to detect whether the new version of the project mirror image execution task in the resource pool is normal;
the task amount adjusting unit 204 is configured to, when the project mirror execution task of the new version in the resource pool is normal, increase the number of the project mirror execution tasks of the new version in the resource pool, after the task is executed, continue to execute the operation step of detecting whether the project mirror execution task of the new version in the resource pool is normal, until the number of the project mirror execution tasks of the new version in the resource pool reaches a preset threshold, allocate all the tasks received again to the project mirror execution of the new version in the resource pool, and complete the online of the project.
In practical application, the device may further include: an execution task exception handling unit (not shown in fig. 2).
And the execution task exception processing unit is used for distributing the re-received task to be executed to the online version of the project mirror image in the resource pool for execution and deleting the mirror image of the new version of the project in the resource pool under the condition that the execution task of the new version of the project mirror image in the resource pool is detected to be abnormal.
In this embodiment, the mirror image deployment unit 201 may be a project isolation unit; the project isolation unit is used for deploying the mirror image of the new version project in the resource pool by using the docker application container engine, and isolating the new version project in the resource pool from the online version project, so that the two mirror images of different versions of the same project exist in the same resource pool and operate simultaneously.
The item isolation unit may include: the new version image generation subunit, the new version project image pull subunit and the isolation subunit (not shown in fig. 2).
The new version mirror image generation subunit is used for generating and storing a docker mirror image corresponding to the version project by using a docker application container engine according to the code of the new version project;
the new version project image pull sub-unit is used for pulling the docker image of the new version project from the stored docker image after receiving the project version update instruction;
the isolation subunit is configured to deploy the docker mirror image of the pulled new version item in the resource pool, so as to implement isolation of the new version item in the resource pool from the online version item.
The task execution unit 202 in this embodiment is specifically configured to determine, from the to-be-executed tasks, a task amount to be executed by a new version project image and a task amount to be executed by an online version project image, and generate a new version project task and an online version project task; and distributing the new version project task and the online version project task to different computing nodes in the resource pool to be executed by using a distributed computing framework.
As can be seen from the above embodiments, by applying the embodiments of the present invention, the server does not need to be removed from the computer cluster, and the process of online new version items is simplified.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A project online method applied to a distributed computer cluster comprises the following steps:
deploying the mirror image of the new version project in a resource pool of the distributed computer cluster by using a docker application container engine, so that two mirror images of different versions of the same project exist in the resource pool and operate simultaneously;
distributing one part of the newly received task to be executed to the project mirror image execution of the online version in the resource pool, and distributing the other part to the project mirror image execution of the new version in the resource pool;
detecting whether the project mirror image execution task of the new version in the resource pool is normal;
if so, increasing the number of the project mirror image execution tasks of the new version in the resource pool, after the tasks are executed, continuing to execute the operation step of detecting whether the project mirror image execution tasks of the new version in the resource pool are normal or not, and distributing all the tasks received again to the project mirror image execution tasks of the new version in the resource pool until the number of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, thereby completing the online of the project.
2. The method of claim 1, wherein in the event that it is detected that a new version of the project image in the resource pool is not performing properly, the method further comprises:
and distributing the re-received tasks to be executed to the online version project mirror image in the resource pool for execution, and deleting the mirror image of the new version project in the resource pool.
3. The method of claim 1, wherein deploying the image of the new version project in a resource pool of the distributed computer cluster such that two different versions of the same project simultaneously exist and run in the resource pool comprises:
and deploying the mirror image of the new version project in the resource pool by using a docker application container engine, and isolating the new version project in the resource pool from the online version project, so that two different versions of the mirror image of the same project exist and run in the same resource pool at the same time.
4. The method of claim 3, wherein deploying, by the docker application container engine, an image of the new version item in the resource pool and isolating the new version item from the online version item in the resource pool comprises:
according to the code of the new version project, a docker application container engine is utilized to generate and store a docker mirror image corresponding to the version project;
after an item version updating instruction is received, pulling a docker mirror image of a new version item from the stored docker mirror images;
and deploying the docker mirror image of the pulled new version project in the resource pool to realize the isolation of the new version project in the resource pool and the online version project.
5. The method of claim 1, wherein allocating one part of the newly received tasks to be executed to an online version of project mirror execution in the resource pool and another part to a new version of project mirror execution in the resource pool comprises:
determining the amount of tasks to be executed by the new version project image and the amount of tasks to be executed by the online version project image from the tasks to be executed, and generating a new version project task and an online version project task;
and distributing the new version project task and the online version project task to different computing nodes in the resource pool for execution by using a distributed computing framework.
6. An on-line project apparatus, applied to a distributed computer cluster, comprising:
the image deployment unit is used for deploying the image of the new version project in the resource pool of the distributed computer cluster by using the docker application container engine, so that two images of different versions of the same project exist in the same resource pool and are operated at the same time;
the task execution unit is used for allocating one part of the newly received task to be executed to the project mirror image execution of the online version in the resource pool and allocating the other part to the project mirror image execution of the new version in the resource pool;
the detection unit is used for detecting whether the project mirror image execution task of the new version in the resource pool is normal or not;
and the task quantity adjusting unit is used for increasing the quantity of the project mirror image execution tasks of the new version in the resource pool when the project mirror image execution tasks of the new version in the resource pool are normal, and after the tasks are executed, continuously executing the operation step of detecting whether the project mirror image execution tasks of the new version in the resource pool are normal or not until the quantity of the project mirror image execution tasks of the new version in the resource pool reaches a preset threshold value, and then distributing all the tasks received again to the project mirror image execution tasks of the new version in the resource pool to complete the on-line of the project.
7. The apparatus of claim 6, further comprising:
and the execution task exception processing unit is used for distributing the re-received task to be executed to the online version of the project mirror image in the resource pool for execution and deleting the mirror image of the new version of the project in the resource pool under the condition that the execution task of the new version of the project mirror image in the resource pool is detected to be abnormal.
8. The apparatus of claim 6,
the mirror image deployment unit is a project isolation unit;
the project isolation unit is used for deploying the mirror image of the new version project in the resource pool by using the docker application container engine, and isolating the new version project in the resource pool from the online version project, so that the two mirror images of different versions of the same project exist in the same resource pool and operate simultaneously.
9. The apparatus of claim 8, wherein the item isolation unit comprises: the new version mirror image generation subunit, the new version project mirror image pulling subunit and the isolation subunit;
the new version mirror image generation subunit is used for generating and storing a docker mirror image corresponding to the version project by using a docker application container engine according to the code of the new version project;
the new version project image pull sub-unit is used for pulling the docker image of the new version project from the stored docker image after receiving the project version update instruction;
the isolation subunit is configured to deploy the docker mirror image of the pulled new version item in the resource pool, so as to implement isolation of the new version item in the resource pool from the online version item.
10. The apparatus of claim 6,
the task execution unit is specifically used for determining the amount of tasks to be executed by the new version project image and the amount of tasks to be executed by the online version project image from the tasks to be executed, and generating the new version project task and the online version project task; and distributing the new version project task and the online version project task to different computing nodes in the resource pool to be executed by using a distributed computing framework.
CN201510214160.0A 2015-04-29 2015-04-29 A kind of project loading method and device Active CN104809025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214160.0A CN104809025B (en) 2015-04-29 2015-04-29 A kind of project loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214160.0A CN104809025B (en) 2015-04-29 2015-04-29 A kind of project loading method and device

Publications (2)

Publication Number Publication Date
CN104809025A CN104809025A (en) 2015-07-29
CN104809025B true CN104809025B (en) 2018-06-22

Family

ID=53693873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214160.0A Active CN104809025B (en) 2015-04-29 2015-04-29 A kind of project loading method and device

Country Status (1)

Country Link
CN (1) CN104809025B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187500A (en) * 2015-08-07 2015-12-23 浪潮(北京)电子信息产业有限公司 Container-based distributed storage system deployment method
CN105138765B (en) * 2015-08-21 2018-02-16 中国科学院自动化研究所 Artificial Transportation System large-scale calculations experimental method based on Docker
CN106547584B (en) * 2015-09-23 2020-04-24 ***通信集团浙江有限公司 Application program rollback method and device
CN105824614B (en) * 2015-12-15 2019-05-17 广东亿迅科技有限公司 The building method and device of distributed developing environment based on Docker
CN107431720B (en) * 2015-12-31 2019-11-29 华为技术有限公司 Mirror image dispositions method and device
CN105677356A (en) * 2016-01-11 2016-06-15 上海雷腾软件股份有限公司 Operation and maintenance method and device
CN106649083A (en) * 2016-09-05 2017-05-10 中国农业银行股份有限公司 Application grey scale release method and equipment and application visit method and equipment
US10303657B2 (en) 2016-09-30 2019-05-28 International Business Machines Corporation Docker layer deduplication with layer referencing
CN106789202A (en) * 2016-12-08 2017-05-31 努比亚技术有限公司 service management device and method
CN107391235B (en) * 2017-08-17 2020-12-01 苏州科达特种视讯有限公司 Operation method and operation device of multi-service system
CN112527368B (en) * 2020-12-02 2024-03-22 北京百度网讯科技有限公司 Cluster kernel version updating method and device, electronic equipment and storage medium
CN113672368A (en) * 2021-08-18 2021-11-19 上海哔哩哔哩科技有限公司 Task scheduling method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765406A (en) * 2011-06-30 2014-04-30 亚马逊科技公司 Methods and apparatus for remotely updating executing processes
US8782632B1 (en) * 2012-06-18 2014-07-15 Tellabs Operations, Inc. Methods and apparatus for performing in-service software upgrade for a network device using system virtualization

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9471358B2 (en) * 2013-09-23 2016-10-18 International Business Machines Corporation Template provisioning in virtualized environments

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765406A (en) * 2011-06-30 2014-04-30 亚马逊科技公司 Methods and apparatus for remotely updating executing processes
US8782632B1 (en) * 2012-06-18 2014-07-15 Tellabs Operations, Inc. Methods and apparatus for performing in-service software upgrade for a network device using system virtualization

Also Published As

Publication number Publication date
CN104809025A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104809025B (en) A kind of project loading method and device
KR101575695B1 (en) Pre-heated software installation
US8640121B2 (en) Facilitating multi-installer product installations
US10466998B2 (en) Model based upgrade campaign generation
CN108776643B (en) Target code merging control method and system based on version control process
US9754242B2 (en) Deployment mechanism for non-versioning business process artifacts
EP3166031B1 (en) Bi-directional synchronization of data between a product lifecycle management (plm) system and a source code management (scm) system
CN110825399B (en) Deployment method and device of application program
EP3175353A1 (en) Method and system for managing residual value in distributed processing of transactions
CN111813379B (en) Application deployment method and device, electronic equipment and computer readable storage medium
WO2019099008A1 (en) Software builds using a cloud system
US11068311B2 (en) Allocating computing resources to a container in a computing environment
CN114510297B (en) Satellite data reprocessing method and device and electronic equipment
CN105320523B (en) Data processing method and device
CN110297666B (en) Thermal restoration method, device, system and storage medium
US9661056B2 (en) Modification free extension of web based applications
CN113010418A (en) Progressive gray scale publishing method and device
CN109144967B (en) Maintenance system and method for improving distributed computing system
EP2605127B1 (en) Processing Framework For Generating Pre-Configuration Packages
US10838847B2 (en) Integrated software testing and deployment tracker
CN108052392B (en) Service processing method and device based on block chain
US20210004283A1 (en) Interchangeable plugins for detecting conflicts between server-side data and client-side data
CN111722866B (en) OpenStack code repairing method, device, equipment and storage medium
CN113157436B (en) Resource request distribution method, device, server and storage medium
CN115222041B (en) Graph generation method and device for model training, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant