Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] VMs vs. Containers (was: Um, so... systemd?)
- Date: Wed, 18 Jan 2017 11:01:14 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: [tlug] VMs vs. Containers (was: Um, so... systemd?)
- References: <1484466028.1128194.848109712.20A4C328@webmail.messagingengine.com> <d4bcb8a1-a9a1-781f-3c36-fbc3ba4ee2a0@dcook.org> <7e953f7b-a75e-26e4-72a5-709d1936c4f9@cisco.com> <CAKXLc7cHra69jcpp8L7_5Tknr-9jchxeKzAtcOdS6UpDrrbguA@mail.gmail.com> <CAFNLySumtjTMAGiyO48Syu6d8YeA6BTo89x37pAC7G7rTmKLDg@mail.gmail.com> <CAFNLySuf0tKepfRtXPmt26ft6Vy7eP3swv2B5Pbtyt2zAwgupA@mail.gmail.com> <CAFNLySskRBpu3kDBwU65iBhh6uP98ANPH0qUfReGyBvmNaR-+Q@mail.gmail.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On 2017-01-17 19:11 +0900 (Tue), AbH Belxjander Draconis Serechai wrote: > I've also been considering to do it again to build a custom stripped down > virtual machine core for a minimal "systemd + python" only setup just to > test a theory I have. > > Would anyone find that useful? These days, not so much. My world now generally divides into two: VMs that are full systems and Docker containers (often hosted on those very VMs). If I needed a minimal environment to run a Python app, I'd use one of the [Docker python] containers. (For even more minimal stuff there are Alpine Linux containers, built from Busybox IIRC, which are around 5 MB in size and include just enough to run and debug startup for a binary. You then just layer what you need on top of this, which can be as little as a few kilobytes more. You can see an almost stupidly simple example of a TCP echo server done this way in my [docker-echo] repo.) Where app-specific VMs can still be great are with [unikernels] built with systems like [MirageOS]. The idea here is that you build your "kernel" code and your application code together in a single binary that is then the kernel you boot in a hypervisor partition. This can offer some incredible performance benefits, particularly because you can usually do away with strict separation of the kernel and user portions of system meaning you no longer have to make lots of expensive transitions across that kernel/userland boundary. [Docker python]: https://hub.docker.com/_/python/ [docker-echo]: https://github.com/c-j-s/docker-echo [unikernels]: https://queue.acm.org/detail.cfm?id=2566628 [MirageOS]: https://mirage.io/ cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 To iterate is human, to recurse divine. - L Peter Deutsch
- Follow-Ups:
- Re: [tlug] VMs vs. Containers
- From: Edward Middleton
- References:
- [tlug] Um, so... systemd?
- From: David J Iannucci
- Re: [tlug] Um, so... systemd?
- From: Darren Cook
- Re: [tlug] Um, so... systemd?
- From: dblomber
- Re: [tlug] Um, so... systemd?
- From: Kalin KOZHUHAROV
- Re: [tlug] Um, so... systemd?
- From: AbH Belxjander Draconis Serechai
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Other Python Versions on RHEL7 (was Python 2x3)
- Next by Date: Re: [tlug] Um, so... systemd?
- Previous by thread: Re: [tlug] Um, so... systemd?
- Next by thread: Re: [tlug] VMs vs. Containers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links