1. 程式人生 > >Edge Computing Implementation Based on Docker Containers

Edge Computing Implementation Based on Docker Containers

I、Container and Docker

Container technology is a kind of lightweight virtualization method. It provides independent running environment for applications, which is similar to virtual machines. However, containers are distinct from virtual machines in implementation. Containers can directly run on host operating system while virtual machines require hypervisor to manage resources of host machine.

The last few years have also witnessed a growing attention toward lightweight virtualization technologies, such as Docker containers. These solutions allow for an efficient deployment of virtualized services while requiring a reduced overhead with respect to hypervisor-based virtualization technologies [1]. Docker is a software technology providing containers. It uses the resource isolation features of the Linux kernel such as cgroups and kernel namespaces, and a union-capable file system such as OverlayFS and others to allow independent “containers” to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines (VMs)[2].

II、Differences between VM and Docker

The main difference between Docker and VMs is the virtualization level and the way they use host machines resources. VMs dependent on hypervisor, a resource management program. Hypervisor can run on host OS, like Linux and Windows and it locates between VMs and host machines. The function of it is that transfer physical resource into virtual resource. For example, you can create several VMs on your computer and each VM has its own virtual CPU, although you only have one physical CPU. In this way, a part of physical resources are occupied by host OS and hypervisor, which reduces the percentage of resources that can be used by VMs. Besides, hypervisor can also directly run on physical machine without host OS. In this way, resource utilization rate will be improved.

Forming a sharp contrast with VMs, containers don’t dependent hypervisor. Containers level like Docker engine can be directly installed on host OS. After that, Docker engine can crate containers using resources provided by host OS. All containers share the same host OS while each VM has its own virtual OS, so the isolation is lower than VMs.

This picture show the difference between VMs and Docker. The orange rectangle represents virtual machines and Docker containers, respectively.

III、Architecture for Docker-Based Edge Computing

Therefore, after the above discussion about Docker, we may conclude that Docker has the following characteristics:

  • No Hypersivor. Docker engine can directly run on host OS. Because it doesn’t need hypersivor, Docker has higher resource utilization rate, which is very important for resource-limited devices like smart devices that making up edge computing nodes.

  • Incomplete Isolation. Because Docker run on host OS, each container doesn’t have its own virtual OS. This is a type of incomplete isolation which is different with VMs, complete isolation. Therefore, the security of Docker in this point is lower than VMs.

  • Fast Creation and Migration. As a lightweight virtualization technology, Docker containers start up faster than VMs. And this feature makes it easier to migrate.

Because of the lightweight feature of Docker, it is a suitable choice for edge computing. Recourse of edge computing nodes are usually limited, so edge computing need a light virtualization way. Besides, Docker can create and start up containers faster than VMs, so it is beneficial for enhancing the real-time performance of IoT application.

There is a simple architecture for containers-based edge computing. Docker engines run on smart devices like laptops, smart sensors and actors. Many devices and containers cooperate to perform one task and they communicate through WAN, or Radio Access Network.

REFERENCE:
[1] Mostajeran E, Khalid M F, Mydin M N M, et al. Multifaceted Trust Assessment Framework for Container based Edge Computing Platform[C]// International Conference on Advances in Computing, Control and NETWORKING - Accn. 2016.
[2] https://en.wikipedia.org/wiki/Docker_(software)

相關推薦

Edge Computing Implementation Based on Docker Containers

I、Container and Docker Container technology is a kind of lightweight virtualization method. It provides independent running enviro

Edge Computing Implementation Based on VM

I、Virtualization and Virtual Machine In computing, virtualization refers to the act of creating a virtual (rather than actual) ver

Edge Computing Application: Real-Time Face Recognition Based on Cloudlet

A mobile-cloud architecture provides a practical platform for performing face recognition on a mobile device. Firstly, even though

NET Core 2.0 in Docker on Windows Containers

交互式 就是 point 站點 -c 系統默認 而且 正在 expose 安裝Docker for Windows https://store.docker.com/editions/community/docker-ce-desktop-windows 要想將一個ASP

論文筆記之No-reference blur assessment based on edge modeling

No-reference blur assessment based on edge modeling 摘要 本文展示一種客觀的無參考模糊度量演算法,基於邊緣模型的模糊度量,Blur metric based on edge modeling(EMBM)。對邊緣的每一個畫

Eurotech and Canonical To Collaborate On Integrated Edge Computing Solutions

As part of this partnership, Eurotech will collaborate with Canonical to add Ubuntu as an additional operating system on its Edge Computing offering starti

【論文:麥克風陣列增強】Speech Enhancement Based on the General Transfer Function GSC and Postfiltering

res transient ice ges nal gen image 增強 reg 作者:桂。 時間:2017-06-06 16:10:47 鏈接:http://www.cnblogs.com/xingshansi/p/6951494.html 原文鏈接:http

Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) Problem A - B

initial index 技術 ble continue efi whole ret rem Pronlem A In a small restaurant there are a tables for one person and b tables for t

Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) B. Black Square

con style its als name lac 思路 amp include 題意:問是否可以形成一個全黑正方形 思路:可以找出正方形的邊,然後判斷下這個矩陣是否容得下,n,m都比邊短,比賽的時候寫麻煩了,還去找了這個正方形究竟在哪個位置,這樣的話得考慮很多情況,不如

Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) C. String Reconstruction

題意 一個 () max 字典序 log class its 位置 題意:給出各個字符串出現的起始位置,問整個的字符串是什麽,(字典序最小) 思路:開始寫的是用set+優先隊列存取每個位置出現的最長字符串,然後遍歷,爆內存。。。爆。。。內。。。存。。。我們可以用並查集,已經

Codeforces Round #424 (Div. 2, rated, based on VK Cup Finals)

std amp tin keys art div codeforce 小寫 pan D題fst了,生無可戀。第二場rated的CF,打得精神恍惚 A. Unimodal Array 題意:判斷數列是否是單峰的。 像題意那樣分為三個階段隨便判一判就好了 #in

Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) E DNA Evolution

一段 har 字符串 n) str end space col span DNA Evolution 題目讓我們聯想到樹狀數組或者線段樹,但是如果像普通那樣子統計一段的和,空間會爆炸。 所以我們想怎樣可以表示一段區間的字符串。 學習一發大佬的解法。 開一個C[10][10]

Codeforces Round #424 (Div. 2, rated, based on VK Cup Finals) Problem F (Codeforces 831F) - 數論 - 暴力

push_back pla ota round problem ont first push note Vladimir wants to modernize partitions in his office. To make the offic

Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) E. DNA Evolution 樹狀數組

數組 start let ted posit printf stat output limit E. DNA Evolution time limit per test 2 seconds memory limit per test

Codeforces Round #424 (Div. 2, rated, based on VK Cup Finals) Cards Sorting(樹狀數組)

property void example ++ ger imu sorting 一次 base Cards Sorting time limit per test 1 second memory limit per test 256 megabytes input

[Angular] Design API for show / hide components based on Auth

convert core word mail root mode service des n) Simple Auth service: import { Injectable } from ‘@angular/core‘; import {HttpClient}

Codeforces Round #432 (Div. 2, based on IndiaHacks Final Round 2017) D

cost iso %d min cti oos opera all find Arpa has found a list containing n numbers. He calls a list bad if and only if it is not empty a

Codeforces Round #433 (Div. 2, based on Olympiad of Metropolises) B. Maxim Buys an Apartment

names style mes using con iad 有一個 sed 多少 題意:有n個房子,k個有人住,問最少有多個,最多有多少個好的房子,好的房子定義:周圍最少有一個房子有人住 思路:我們可以知道一個住了人的房子他最多產生2個好的房子(左右)所以判斷k*3是否&g

Modeling of Indoor Positioning Systems Based on Location Fingerprinting

properly pro ash cin material factory rop mod pac Kamol Kaemarungsi and Prashant Krishnamurthy Telecommunications Program School of Inf

Install Windows10 + Ubuntu16.04 based on UEFI+GPT

分區 文件 u盤 windows10 驅動器 寫入 ont 我們 color 博主電腦:lenove B40-80 一、進入Bios,設置我們之後裝雙系統將要用到的選項。(1)將USB boot設為Enabled(2)將boot mode設為UEFI(3)將secure b