Re: One process per session lack of sharing

Поиск
Список
Период
Сортировка
Искать
От
james
Тема
Re: One process per session lack of sharing
Дата
Msg-id
4c31772e-4feb-2f81-9bc0-a4f324ecacde@mansionfamily.plus.com
Ответ на
Список
Дерево обсуждения
One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Tom Lane <tgl@sss.pgh.pa.us>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Jan Wieck <jan@wi3ck.info>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing james <james@mansionfamily.plus.com>
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Матвеев Алексей <amatveev@global-system.ru>
Re: One process per session lack of sharing Pavel Stehule <pavel.stehule@gmail.com>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing Tom Lane <tgl@sss.pgh.pa.us>
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Jan Wieck <jan@wi3ck.info>
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing Andres Freund <andres@anarazel.de>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Andres Freund <andres@anarazel.de>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Andres Freund <andres@anarazel.de>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Dave Cramer <pg@fastcrypt.com>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Greg Stark <stark@mit.edu>
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing AMatveev@bitec.ru
Re: One process per session lack of sharing Robert Haas <robertmhaas@gmail.com>
Re: One process per session lack of sharing Craig Ringer <craig@2ndquadrant.com>
Re: One process per session lack of sharing Simon Riggs <simon@2ndquadrant.com>
Re: One process per session lack of sharing Teodor Sigaev <teodor@sigaev.ru>
On 15/07/2016 09:28, Craig Ringer wrote:
> I don't think anyone's considering moving from multi-processing to 
> multi-threading in PostgreSQL. I really, really like the protection 
> that the shared-nothing-by-default process model gives us, among other 
> things.
>
As I understand it, the main issue is that it is hard to integrate 
extensions that use heavyweight runtimes and are focussed on isolation 
within a virtual machine.  Its not just

Perhaps it would be possible for the postmaster (or a delegate process) 
to host such a runtime, and find a way for a user process that wants to 
use such a runtime to communicate with it, whether by copying function 
parameters over RPC or by sharing some of its address space explicitly 
to the runtime to operate on directly.

Such a host delegate process could be explicitly built with multithread 
support and not 'infect' the rest of the code with its requirements.

Using granular RPC is nice for isolation but I am concerned that the 
latencies might be high.




В списке pgsql-hackers по дате отправления
От: Fabien COELHO
Дата:
От: Pavel Stehule
Дата:
FAQ