Multi-process data sharing method and related device

A data sharing and multi-process technology, applied in the direction of multi-program device, program control device, inter-program communication, etc., to achieve the effect of improving overall performance, reducing overhead, and improving data exchange efficiency

Active Publication Date: 2019-10-15
TRAVELSKY
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since each Docker running instance has its own namespace (Namesaces), it is...

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
  • Multi-process data sharing method and related device
  • Multi-process data sharing method and related device
  • Multi-process data sharing method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] see figure 1 This embodiment provides a data sharing device among multiple processes, and the data sharing device is deployed according to the host computer 31 . The data sharing device includes: a shared cache file unit 11, a cache loading component 12, a mapping unit (not shown) and a cache shared update unit (not shown).

[0050]The shared cache file unit 11 is configured to map the cache directory in each application container on the same host 31 t...

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 provides a multi-process data sharing method and a related device, wherein the method comprises the steps: enabling an application carried by each application container on the same hostmachine to map a cache file in an MMAP sharing mode, and achieving the sharing caching based on a memory. And each application on the same host machine performs data access by utilizing the shared cache based on the memory. On one hand, the process accesses the shared cache data conveniently and quickly like accessing a stack memory or a heap memory, so that the data exchange efficiency among theprocesses is improved; on the other hand, only one copy of the shared cache data exists in the physical memory of the host machine, so that the overhead of a system protocol stack is effectively reduced, and the overall performance of the system is improved; furthermore, by means of the cache loading master control assembly, after the shared cache data of all the host machines in the distributed computing system are successfully loaded, the shared cache data in all the host machines take effect in a unified mode, and the consistency of the cache data of all the computing nodes is guaranteed.

Description

technical field [0001] The present invention relates to the field of distributed computing systems, and more specifically, to a data sharing method, device, system, and readable storage medium among multiple processes. Background technique [0002] Before the emergence of container technologies such as Docker and Rocket, it was very difficult to deploy multiple homogeneous or heterogeneous applications on the same computer. Different applications depend on underlying databases that may conflict, and different applications may seize computing resources such as CPU (Central Processing Unit, central processing unit) and memory. The container-based resource isolation feature deploys multiple applications on the host to utilize computing resources in every corner of the host, increasing the utilization of computing resources by 5 to 10 times. At the same time, container technology combines microservice architecture to divide monolithic applications into smaller microservices, an...

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
IPC IPC(8): G06F16/176G06F16/172G06F9/455G06F9/54
CPCG06F16/176G06F16/172G06F9/45558G06F9/544
Inventor 王海段锴崔华
Owner TRAVELSKY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products