- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 142字
- 2021-07-02 21:54:43
Containers
A container (for example, Linux containers) provides a lightweight runtime environment consisting of the core features of virtual machines and the isolated services of operating systems. This makes the packaging and execution of microservices easy and smooth.
As the following diagram shows, a container runs as an application (microservice) within the Operating System. The OS sits on top of the hardware and each OS could have multiple containers, with a container running the application.
A container makes use of an operating system's kernel interfaces, such as cnames and namespaces, that allow multiple containers to share the same kernel while running in complete isolation to one another. This gives the advantage of not having to complete an OS installation for each usage; the result being that it removes the overhead. It also makes optimal use of the Hardware:

Layer diagram for containers
- Advanced Splunk
- C程序設(shè)計(jì)簡(jiǎn)明教程(第二版)
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(微課版)
- 重學(xué)Java設(shè)計(jì)模式
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Building Wireless Sensor Networks Using Arduino
- Django 3.0應(yīng)用開(kāi)發(fā)詳解
- OpenCV 3 Blueprints
- Hadoop大數(shù)據(jù)分析技術(shù)
- 征服C指針(第2版)
- C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)與習(xí)題精解
- Mastering JavaScript Promises
- Visual FoxPro數(shù)據(jù)庫(kù)程序設(shè)計(jì)