Docker-based java application slimming deployment method and system in domestic CPU and OS environments
A docker container, slimming technology, applied in java application slimming deployment method and system field, to reduce file size, improve system resource utilization and application performance, and reduce volume
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0060] Example 1:
[0061] The domestic CPU and OS environment in the domestic CPU and OS environment are slimged deployment methods based on Docker, which is to separate Java applications into public dependence component lib directory and service code, and use Docker to deploy; each application after extracsis Size 200-300KB business code creates individual containers, all application containers are mounted with public dependence directory, and multiple applications use the required functions from public dependencies, and reduce the file size of the application system by decoupling; details as follows:
[0062] S1, use the application to extract dependence and complete the project slimming package;
[0063] S2, deploy the Docker container;
[0064] S3, using the continuous integration tool for later system upgrade operation and maintenance automation update deployment.
[0065] The project slimming package of step S1 in this embodiment is as follows:
[0066] S101, separating Jav...
Example Embodiment
[0089] Example 2:
[0090] Docker-based Java application slimming deployment system, including Docker, in the OS environment, including,
[0091] The extracted unit is used to separate the Java application into two parts of public dependence and service code, thereby extracting the application to complete the project slimming packaging;
[0092] The deployment module is used to deploy the Docker container, which is created to create a publicly dependent data volume container, mount the unified shared storage directory to the specified location in the container and mount the publicly dependent data volume container to create each application container. ;
[0093] Update module, used to use the continuous integration tool to automate the automation update deployment of the later system upgrade operation and maintenance, that is, set the application container to boot from the boot, the upgrade maintenance of the later system uses the continuous integration tool to automate the update...
Example Embodiment
[0105] Example 3:
[0106] The embodiment of the present invention also provides a computer readable storage medium in which a plurality of instructions are stored, and the instruction is loaded by a processor to perform a Docker-based Java based in either embodiment of the present invention. Apply slimming deployment methods. Specifically, a system or apparatus equipped with a storage medium can be provided, and a software program code that implements a function of any of the embodiments in the above embodiment is stored, and a computer (or CPU or MPU, or MPU) of the system or device is stored on the storage medium. ) Read and execute program code stored in the storage medium.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap