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

Host container automatic discovery method based on automatic initialization

An automatic discovery and initialization technology, applied in the direction of instrumentation, computing, electrical digital data processing, etc., can solve problems such as troublesome initialization, nginxupstream proxy problems at the front end of scalable container nodes, etc., to reduce manual operations, improve scalability, and reduce The effect of error probability

Active Publication Date: 2020-05-08
江苏艾佳家居用品有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Most of the existing services are based on ip port requests. The services depend on various basic services, and the initialization is too troublesome. Using docker can solve the problem of service dependence, but the scalability of docker and the uncertainty of container node failure and drift will make expansion Problems with front-end nginx upstream proxy after horizontal expansion

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Host container automatic discovery method based on automatic initialization
  • Host container automatic discovery method based on automatic initialization
  • Host container automatic discovery method based on automatic initialization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The invention discloses a method for automatically discovering host containers based on automatic initialization. Based on docker and machine automatic initialization, the automatic discovery and registration of service containers can be completed, and external calls can be directly called from the service, and no additional services are required after service expansion. nginx modification. Reduce the configuration work of nginx, do not need to manually configure the upstream, reduce the error rate; only need to care about the location configuration of the nginx business level; effectively separate the internal and external access restrictions, only allow external access to be restricted on zookeeper, only Interface-level restrictions on nginx that allow internal access; improve service scalability and horizontal expansion capabilities. When service instances need to be expanded, only a few more containers can be released to increase the load capacity; automatic Initial...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a host container automatic discovery method based on automatic initialization, and relates to the technical field of automatic initialization of host containers. A service container is automatically discovered and registered based on docker and machine automatic initialization, and external calling can directly call services without additional nginx modification after service capacity expansion. The configuration work of nginx is reduced, the upstream does not need to be configured manually, and the error rate is reduced; only the location configuration of the nginx service level needs to be concerned; internal and external access restrictions are effectively separated, only external access is allowed to be restricted on a zookeeper, and only internal access is allowed to be restricted on an nginx interface level.

Description

technical field [0001] The invention belongs to the technical field of automatic discovery methods for distributed container services, and in particular relates to an automatic initialization-based automatic discovery method for host containers. Background technique [0002] Automatic initialization (hereinafter referred to as automatic initialization) is a technology that installs the least basic dependent services and performs automatic partitioning in order to install a new idle server according to the purpose. According to the customer's plan for the current machine, the automatic initialization will first obtain the services that need to be installed and allocate the required disks, and then perform automatic installation on the machine. This process is usually divided into three steps: confirm the purpose of the server, obtain the minimum basic dependent services and disk partitions required by the server, and then perform service installation and disk partitions on th...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45575
Inventor 陈旋吕成云朱召文
Owner 江苏艾佳家居用品有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products