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 1u4olK-007jRi-RR for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Apr 2025 22:28:15 +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 1u4olI-000cgZ-IG for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Apr 2025 22:28:13 +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 1u4olI-000cdT-6w for pgsql-hackers@lists.postgresql.org; Tue, 15 Apr 2025 22:28:13 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u4olE-000Hye-2V for pgsql-hackers@lists.postgresql.org; Tue, 15 Apr 2025 22:28:11 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-43cec5cd73bso42826695e9.3 for ; Tue, 15 Apr 2025 15:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postgres.ai; s=google; t=1744756089; x=1745360889; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FhrH7kkTeXbGcJ8J4mS9D8ly0cmXMb5mbj0PVUE47+A=; b=Dyaf3Uupxu0zWPKy2GL5pJDnN0uQYh0/NKm63H+IiU9lgR27us30U3Q2O9cuxxjf+y QAd+RCXoEaH9iBsq276I8mkiYNARC9NvzHO4HY+BQ/EV9tMi9ukjtl9mOC064YZ4j4JS hr4sm5ZRcPnETXq49dUT1qLDHCxa8HpTUBE6lHfI273YsVDoZxYNi+ELOHNNjsbdSh+I zivHm89TygLJD85PsR9KvNf1v2uUPKUda0Nm2gNKRs/WT8+hscxiewy8wXTECgc5fR1k 5OFsM2ACneF2E2aB9EYQBTf3NK1EsQKFZw380CLeFnGgbuqs/5Mx+nGuptC0LI16it6B BIqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744756089; x=1745360889; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FhrH7kkTeXbGcJ8J4mS9D8ly0cmXMb5mbj0PVUE47+A=; b=RBrurem6NIkEv7zSnmeWfs9Xok6WOLa2eN/lQYdE5roZufYr0KtHPHOzi0kov7grJJ 1TYtLe7YjxDUW1oUHiWJlFjMSZ8oRSe1cxfgoYjAN7XrcDKN7aX+4uSpfhmbujUYGy6E t4rHduEeEHV5ho2UA/65WxP+/82uGwfhakvCNUyns1HxR4gItN4ZRZljoexqTSFEZpE+ eUYEtmlmNxD165LjH/ziGzBA38o3eAYtMD0ZdHsvWipeLBH/VgKSawNi1QUMv+M3VwFd LJG5k8iUopsef5M3J7fkx+oYrLlGrL3U3VdCWmfQYSHSVo0fiJdMYn6hlPsJRFzt3w1h wryg== X-Forwarded-Encrypted: i=1; AJvYcCXJ0L4PQkUnvTIeAdnViR4AN8PpOlZy7UzMTkflActnjZkrV2kEYW0aBjjtAfc405SbtuLnrddP7VZJFKD5@lists.postgresql.org X-Gm-Message-State: AOJu0YxxFX2N3BHbnOmDfYpsuN8ILYOwJXFueo/EGcDR6t0p0RtIFIH3 AI0fpqqy8ip7IsuUhN8r1WpQYGFdeEecW7r308EjHkbJt9kBnNhdBNzLVF8jO/oXyEoa/1nZZwx RUGubwXbCIOOlo8eLnmYxrJguYtXopURRqy//hw== X-Gm-Gg: ASbGncu4K1CWPZpcJRyW8ua2qQazXPhNJkuIrdx+PkTUVz6EQQe00GQg+bx/byigUzw IPbGf2PZj2Sm4zCzfL9W1mkt2dIMnDKlq36jqbwFVmE4Jzgyqa1G6RYTgtm7r7YP0SLGPxORN1V nhQZbhPjy9D3ONwomGsid2mzG8oYlqs40BzA73YmX6BtDJvVmf5PCz6vE= X-Google-Smtp-Source: AGHT+IG7vP9u2cMewB8xWyaWbx/l6MvESU9dpQgogA0jnvA1nwO3DSH9aPbVzEXLlE71OOfJ0QZbYKhcXsMIDiNGElI= X-Received: by 2002:a05:6000:2403:b0:391:ab2:9e71 with SMTP id ffacd0b85a97d-39ee2751ec7mr892533f8f.20.1744756088772; Tue, 15 Apr 2025 15:28:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nikolay Samokhvalov Date: Tue, 15 Apr 2025 15:27:56 -0700 X-Gm-Features: ATxdqUHhWoE5zrmfpj3HvO_FqYFtN7_BM2FtVexLPgnXeOx1S_pcsIhNHO3Bw_w Message-ID: Subject: Re: Built-in Raft replication To: Greg Sabino Mullane Cc: Konstantin Osipov , pgsql-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000e432ab0632d8ae00" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000e432ab0632d8ae00 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 15, 2025 at 8:08=E2=80=AFAM Greg Sabino Mullane wrote: > On Mon, Apr 14, 2025 at 1:15=E2=80=AFPM Konstantin Osipov > wrote: > >> If anyone is working on Raft already I'd be happy to discuss >> the details. I am fairly new to the PostgreSQL hackers ecosystem >> so cautious of starting work in isolation/knowing there is no >> interest in accepting the feature into the trunk. >> > > Putting aside the technical concerns about this specific idea, it's best > to start by laying out a very detailed plan of what you would want to > change, and what you see as the costs and benefits. It's also extremely > helpful to think about developing this as an extension. If you get stuck > due to extension limitations, propose additional hooks. If the hooks will > not work, explain why. > This is exactly what I wanted to write as well. The idea is great. At the same time, I think, consensus on many decisions will be extremely hard to reach, so this project has a high risk of being very long. Unless it's an extension, at least in the beginning. Nik --000000000000e432ab0632d8ae00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Apr 15, 2025 at 8:08=E2=80= =AFAM Greg Sabino Mullane <htamfid= s@gmail.com> wrote:
On Mon, Apr 14, 2025 at 1:15=E2=80=AFPM Konstantin Osi= pov <kostja= .osipov@gmail.com> wrote:
If anyone is working on Raft alread= y I'd be happy to discuss
the details. I am fairly new to the PostgreSQL hackers ecosystem
so cautious of starting work in isolation/knowing there is no
interest in accepting the feature into the trunk.

=
Putting aside the technical concerns about=C2=A0this specific id= ea, it's best to start by laying out a very detailed plan of what you w= ould want to change, and what you see as the costs and benefits. It's a= lso extremely helpful to think about developing this as an extension. If yo= u get stuck due to extension limitations, propose additional hooks. If the = hooks will not work, explain why.

This is exactly what I wanted to write as well. The idea is great.= At the same time, I think, consensus on many decisions will be extremely h= ard to reach, so this project has a high risk of being very long. Unless it= 's an extension, at least in the beginning.

Ni= k
--000000000000e432ab0632d8ae00--