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 1u4htd-006E9l-GW for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Apr 2025 15:08:21 +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 1u4htb-00BlzH-Nn for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Apr 2025 15:08:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4htb-00Blxo-AV for pgsql-hackers@lists.postgresql.org; Tue, 15 Apr 2025 15:08:20 +0000 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u4htZ-000DC3-2t for pgsql-hackers@lists.postgresql.org; Tue, 15 Apr 2025 15:08:19 +0000 Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-3d6d84923c8so18394775ab.0 for ; Tue, 15 Apr 2025 08:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744729697; x=1745334497; 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=MefcjnJxlodUT4jkzVAq8ADO5EtJQYguq883lnQARDg=; b=ibCC3et0Kb+uoKdgSvI47PzuCWsFICutYo/0/m6fcr2bAAyMiTtKcG79hMJEfTguTS MFe+uGDYaCWjY4l2wpVf2rKA1cenFrhMa9OiNxsX5bReW6QKk+owQ5Uy4J5/Vx3wPidd qbGtCQ15EPes8Df2dy2agxle/xCk8Rps54pjfldGVZE1b34yH2wvSuGaPJV+6rreZo62 T2kKZL6uvJEtwgBwBsK99eLfjQ1DqvZ0VjLjfNLZFEbNjk0+tnOgckBwXuRi77at6/EZ MzAe9hDzT5R4ETufuOUGcEZ/3YetEQJFmKlg5M6rSYB+Q05rRslCR5dZwwB5PgSBjKxy N+qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744729697; x=1745334497; 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=MefcjnJxlodUT4jkzVAq8ADO5EtJQYguq883lnQARDg=; b=KOoDrSG6zTUYvq/fDr9AicMVQ14aBGKe1pOB57E/GkCOwauRe+1cPb8IT/FvruxggL 55lp/YVa83E97RIrsHxY+Ov6tLreeY1JngfeAMEuq4bCao5vguEJirsjHu7o/xXsrnwd S/RvDV0aNecDTWN6Dwc5m/TiW+9UJ4Zu77oH7tE4lBRxxcJD9tZ5l0PbPXd+d5LVNCsQ vZG6eZnFfD6BHXvBsg3yp0nnAk8LjFaYlJQTemGqtTSK4+98BiBqBsuITJun9QOoRcT9 gim6jUuEcz+v+zH7tk/ElBvOhUhKc5ECnFnPbENHgLxpdMcw4TwjV4lZirXNzUavaQfe 6Qew== X-Gm-Message-State: AOJu0Yykddmb285Y+27sbogr1vgy7BjOAfWOQ4LytiYa7jh28ViJuUga gO2NGGlvNwvXw3ePp+hnXCFPxQCmDftHuAPsx9J52SEU0Dp0t4pyV5IG26CT/PDVRZT2z9tXLdh F5+YLIGCCJU1q51cglzmALFVqcPk= X-Gm-Gg: ASbGncvP1G/bWEtjBx9AWT+Y88bzupE9QFejz87RKqIKzquEFYIy0bLtvzgOUS8k9BE Fyij9RGsLM+n3tBnRMJo/vmwb/6v+OW5y/3AIhackQ/qK5gzn1ODD3j3JGiggBZ697UTSQ/OQCE Niz0wBlvnKsKJB6cekisk+uTxaTWyS+O1K9w== X-Google-Smtp-Source: AGHT+IHYeeX7ADvAbgiOXwDqLAisKEt3XM60iVn2DDXDrM7b4/RZTsfeflBmWhRp5aACjicWXXi38jC9XS1Vlwk8T6w= X-Received: by 2002:a05:6e02:2601:b0:3d4:3ab3:5574 with SMTP id e9e14a558f8ab-3d7ec1dd010mr179682665ab.3.1744729697453; Tue, 15 Apr 2025 08:08:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Sabino Mullane Date: Tue, 15 Apr 2025 11:07:42 -0400 X-Gm-Features: ATxdqUFyfhbbKecDF5Ly66cGdCzQmjs3sas7YXVzWxUtg8CW6KuBSBsWKqzfhEA Message-ID: Subject: Re: Built-in Raft replication To: Konstantin Osipov Cc: pgsql-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000d8924f0632d289cc" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d8924f0632d289cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. Getting this into core is going to be a long, multi-year effort, in which people are going to be pushing back the entire time, so prepare yourself for that. My immediate retort is going to be: why would we add this if there are existing tools that already do the job just fine? Postgres has lots of tasks that it is happy to let other programs/OS subsystems/extensions/etc. handle instead. Cheers, Greg -- Crunchy Data - https://www.crunchydata.com Enterprise Postgres Software Products & Tech Support --000000000000d8924f0632d289cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Apr 14, 2025 at 1:15=E2=80=AFPM K= onstantin Osipov <kostja.osip= ov@gmail.com> wrote:
If anyone is worki= ng 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=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.

Getting this int= o core is going to be a long, multi-year effort, in which people=C2=A0are g= oing to be pushing back the entire time, so prepare yourself for that. My i= mmediate retort is going to be: why would we add this if there are existing= tools that already do the job just fine? Postgres has lots of tasks that i= t is happy to let other programs/OS subsystems/extensions/etc. handle inste= ad.
=C2=A0
=
Cheers,
Greg

--
Enterprise Postgres Softwar= e Products & Tech Support

--000000000000d8924f0632d289cc--