Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgPV-00074b-Kx for pgsql-general@arkaria.postgresql.org; Mon, 13 Dec 2021 08:10:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mwgPU-0006r1-JR for pgsql-general@arkaria.postgresql.org; Mon, 13 Dec 2021 08:10:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgPU-0006qs-9M for pgsql-general@lists.postgresql.org; Mon, 13 Dec 2021 08:10:12 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgPS-0004eV-9z for pgsql-general@lists.postgresql.org; Mon, 13 Dec 2021 08:10:11 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 1BD8A0vJ024588 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Dec 2021 10:10:05 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 1BD89xWl037335; Mon, 13 Dec 2021 10:09:59 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Postgresql + containerization possible use case To: Adrian Klaver , pgsql-general@lists.postgresql.org References: <90c8b448-7401-a5cd-804d-bad76ebacb19@matrix.gatewaynet.com> <108daeb6-f0c5-a4cc-15e4-515e17758b8c@aklaver.com> From: Achilleas Mantzios Message-ID: <1ca6242d-f03f-8dc7-6019-6f8778bc58bb@matrix.gatewaynet.com> Date: Mon, 13 Dec 2021 10:09:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <108daeb6-f0c5-a4cc-15e4-515e17758b8c@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-32.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,DYN_HAM_VMA_BODY,TW_LX autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Adrian On 10/12/21 6:01 μ.μ., Adrian Klaver wrote: > On 12/10/21 01:24, Achilleas Mantzios wrote: >> Hi > >> >> The idea for future upgrades is to containerize certain aspects of the software. The questions are (I am not skilled in docker, only minimal contact with lxd) : >> - is this a valid use case for containerization? >> - are there any gotchas around postgersql, the reliability of the system ? >> - since we are talking about 4+ basic services (pgsqk, jboss, uucp, samba), is docker a good fit or should we be looking into lxd as well? >> - are there any success stories of other after following a similar path? > > My question is what is it going to change? The software in the containers still need to be maintained/upgraded and now you have added maintenance and management of the container software and > communication between containers. > I think the rationale is that sysadms may upgrade system and kernel without caring about breaking things, the docker images of the respective services (jboss, pgsql, exim4, etc..) will evolve (more) independently. >> >> Thank you! >> >> PS >> >> For those who wonder about UUCP, UUCP was our comms solution prior we installed TCP/IP on the vessels. However, to this day, it provides a nice management layer, a sort of protection before data >> leave the vessel or reach the vessel, in a user controlled manner. So uucp stayed as it matched exactly the business as far data transfers and emails are concerned. It would be hard to uniformly >> manage data transfers and emails in/out in a plain TCP/IP setup (rsync, ftp, etc, sendmail/exim4/postfix or other MTA). >> > > -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt