官术网_书友最值得收藏!

  • Extending Docker
  • Russ McKendrick
  • 306字
  • 2021-07-02 16:38:27

Everyone should be using Docker?

So, is it really that simple, should everyone stop using virtual machines and use containers instead?

In July 2014, Wes Felter, Alexandre Ferreira, Ram Rajamony, and Juan Rubio published an IBM research report titled An Updated Performance Comparison of Virtual Machines and Linux Containers and concluded:

"Both VMs and containers are mature technology that have benefited from a decade of incremental hardware and software optimizations. In general, Docker equals or exceeds KVM performance in every case we tested. Our results show that both KVM and Docker introduce negligible overhead for CPU and memory performance (except in extreme cases). For I/O intensive workloads, both forms of virtualization should be used carefully."

It then goes on to say the following:

"Although containers themselves have almost no overhead, Docker is not without performance gotchas. Docker volumes have noticeably better performance than files stored in AUFS. Docker's NAT also introduces overhead for workloads with high packet rates. These features represent a tradeoff between ease of management and performance and should be considered on a case-by-case basis."

The full 12-page report, which is an interesting comparison to the traditional technologies we have discussed and containers, can be downloaded from the following URL:

http://domino.research.ibm.com/library/cyberdig.nsf/papers/0929052195DD819C85257D2300681E7B/$File/rc25482.pdf

Less than a year after the IBM research report was published, Docker introduced plugins for its ecosystem. One of the best descriptions I came across was from a Docker software engineer, Jessica Frazelle, who described the release as having batteries included, but replaceable, meaning that the core functionality can be easily replaced with third-party tools that can then be used to address the conclusions of the IBM research report.

At the time of writing this book, Docker currently supports volume and network driver plugins. Additional plugin types to expose more of the Docker core to third parties will be added in the future.

主站蜘蛛池模板: 湖南省| 丽江市| 漯河市| 尚志市| 吕梁市| 宝山区| 海原县| 黄陵县| 米林县| 永康市| 额尔古纳市| 泊头市| 郧西县| 青冈县| 永顺县| 杭锦旗| 东山县| 射阳县| 吉林市| 友谊县| 重庆市| 仁布县| 阜城县| 上栗县| 登封市| 江孜县| 保德县| 襄垣县| 西丰县| 尉氏县| 柳河县| 北京市| 淳安县| 汉川市| 稻城县| 钟祥市| 宝清县| 花垣县| 株洲县| 封丘县| 景德镇市|