Re: Let's make PostgreSQL multi-threaded - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Let's make PostgreSQL multi-threaded
Date
Msg-id ZH4QXnfZH6WfCo6W@momjian.us
Whole thread Raw
In response to Re: Let's make PostgreSQL multi-threaded  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Let's make PostgreSQL multi-threaded
List pgsql-hackers
On Mon, Jun  5, 2023 at 01:26:00PM -0300, Ranier Vilela wrote:
> On 05/06/2023 11:18, Tom Lane wrote:
> > For the record, I think this will be a disaster. There is far too much
> > code that will get broken, largely silently, and much of it is not
> > under our control.
> 
> I fully agreed with Tom.
> 
> First, it is not clear what are the benefits of architecture change?
> 
> Performance?
> 
> Development becomes much more complicated and error-prone.

I agree the costs of going threaded have been reduced with compiler and
library improvements, but I don't know if they are reduced enough for
the change to be a net benefit, except on Windows where the process
creation overhead is high.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-hackers by date:

Previous
From: "蔡梦娟(玊于)"
Date:
Subject: 回复:Fix missing initialization of delayChkptEnd
Next
From: "Daniel Verite"
Date:
Subject: Simplify pg_collation.collversion for Windows libc