|
The development of IOT has continued to leap forward promoted the rise of cluster-distributed systems. Through the division of labor between machines, it is possible to achieve an excellent system for computing, storage, and system maintenance that can be close to expensive hardware devices, even better in terms of device fault tolerance. As a result, most of the machines in the cluster decentralized system have operations, storage, control, and networking capabilities, so they can be considered as an edge computing node. Through the edge computing node, we can transfer the cloud service to the node, which not only reduce actual transmission distance, network transmission information but also avoid unpredictable network congestion. It can also improve the use of hardware resource, and combine with Virtual machine (VM) not only provides independent space, but also we can customized system environment for the specific service, and allows multiple tasks to run on the same machine at the same time without interfering with each other. But the VM generally needs to independent hardware resource to execute system, so there are often problems with insufficient hardware resources, and when we using edge nodes to collaborate on a task will require synchronization between nodes, also face task execution time limits. This paper converts the all problem which mentioned on the above to the problem of Sigle Pub - multiple Sub communication. Therefore, in order to solve the above problems, the Linux Container (Docker) is selected as the execution environment architecture in our edge node, the virtual containers not only share the hardware resources with each other but also isolate the execution environment from the system, so there is a lighter weight and faster startup speed to break through the limitations of VM, and combined with SSH File System (SSHFS) to solve The problem of Synchronization between edge nodes. In view of the structure of this paper, First, I want to use the screen of the 2019 performance of drones in Pingtung as an example to simulate a machine that can send tasks to the cluster through the wireless network, allowing a specified number or specific cluster machines to perform task content. And return the execution results to simulate the edge calculation. Second, simulated fire automatic path planning escape system, let the edge nodes communicate with each other to find the best path from current position to exit door to simulated a collaborative system.
|