From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.9 required=3.0 tests=NICE_REPLY_A, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?U3TDqXBoYW5lIFJpdmnDqHJl?= Newsgroups: comp.lang.ada Subject: Re: questions regarding Docker, Ada and Alire Date: Wed, 4 Oct 2023 10:29:10 +0200 Organization: La Maison Message-ID: References: Reply-To: stef@genesix.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 4 Oct 2023 08:29:10 -0000 (UTC) Injection-Info: dont-email.me; posting-host="17dc1f5169f5a625423d4735bb3f43c4"; logging-data="94346"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T4fZaaECx8Ixjh9w0FMR/u3vMH+HMM94=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:JMy0+8c0l/BALUwic5Zowz3O0uk= Content-Language: fr Openpgp: preference=signencrypt In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65777 List-Id: Hi Kenneth, Docker's main relevant use is to offer, at the price of a slight loss of performance (~15% max), a solid integration for a complex application including multiple linked programmes (e.g. a mail server). Docker's interface and standardization make it a pleasure to use. Docker is also a fast way of deploying a test environment and, in some cases, Docker is the best way to install an application. But today's followers sheep swear by micro-services¹, docker, k8s and other concepts that make applications huge, horribly complex and non-debuggable... ¹ Since many coders are unable to create more than a few hundred coherent lines, let's multiply these blocks of code into hundreds of micro-services, which communicate in a complex and inefficient way. So, docker is good, Alire is great, but these concepts don't solve everything. It could be an interesting experiment to link the two if there are complex program associations. For example, Docker and Ada could be combined to create a business application with an integrated MySQL or PostgreSQL DB. Even if the adoption of the very powerful SQLite would make it possible not to use Docker. We avoid using Docker in our multi-DC infrastructure based on Xen and Debian since we already handle Xen virtual instances. We also observed that a Docker instance was less reliable and secure than a virtualized Xen or KVM instance. We look forward to hearing about your experiences :) -- Stéphane Rivière Ile d'Oléron - France