zlacker

[parent] [thread] 2 comments
1. vivzke+(OP)[view] [source] 2026-02-05 04:50:15
very stupid question: similar to how we had a GIL replacement in python, cant we replace postmaster with something better?
replies(1): >>lfittl+T2
2. lfittl+T2[view] [source] 2026-02-05 05:24:11
>>vivzke+(OP)
Specifically on the cost of forking a process for each connection (vs using threads), there are active efforts to make Postgres multi-threaded.

Since Postgres is a mature project, this is a non-trivial effort. See the Postgres wiki for some context: https://wiki.postgresql.org/wiki/Multithreading

But, I'm hopeful that in 2-3 years from now, we'll see this bear fruition. The recent asynchronous read I/O improvements in Postgres 18 show that Postgres can evolve, one just needs to be patient, potentially help contribute, and find workarounds (connection pooling, in this case).

replies(1): >>jabl+Yo
◧◩
3. jabl+Yo[view] [source] [discussion] 2026-02-05 08:49:45
>>lfittl+T2
Would be nice if the OrioleDB improvements were to be incorporated in postgresql proper some day.. https://www.slideshare.net/slideshow/solving-postgresql-wick...
[go to top]