Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4uMV-009CUP-Hx for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2025 04:26:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u4uMT-005s8h-Il for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2025 04:26:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4uMT-005s8Z-8q for pgsql-hackers@lists.postgresql.org; Wed, 16 Apr 2025 04:26:58 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u4uMQ-000KcM-37 for pgsql-hackers@lists.postgresql.org; Wed, 16 Apr 2025 04:26:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 53G4QrmX1832514; Wed, 16 Apr 2025 00:26:53 -0400 From: Tom Lane To: Andrey Borodin cc: Konstantin Osipov , Greg Sabino Mullane , Nikolay Samokhvalov , pgsql-hackers@lists.postgresql.org Subject: Re: Built-in Raft replication In-reply-to: <20FB597F-641F-48F8-8428-D8DDBA802D58@yandex-team.ru> References: <1798838.1744759182@sss.pgh.pa.us> <20FB597F-641F-48F8-8428-D8DDBA802D58@yandex-team.ru> Comments: In-reply-to Andrey Borodin message dated "Wed, 16 Apr 2025 09:07:28 +0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1832512.1744777613.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 16 Apr 2025 00:26:53 -0400 Message-ID: <1832513.1744777613@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrey Borodin writes: > I think it's what Konstantin is proposing. To have our own Raft implemen= tation, without dependencies. Hmm, OK. I thought that the proposal involved relying on some existing code, but re-reading the thread that was said nowhere. Still, that moves it from a large project to a really large project :-( I continue to think that it'd be best to try to implement it as an extension, at least up till the point of finding show-stopping reasons why it cannot be that. regards, tom lane