Re: One process per session lack of sharing

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: One process per session lack of sharing
Дата
Msg-id CADK3HHLPQ=b_vZvuJYtoJRHjCozLtwNf=givwxTPG-k0fLcTwQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: One process per session lack of sharing  (AMatveev@bitec.ru)
Ответы Re: One process per session lack of sharing  (AMatveev@bitec.ru)
Список pgsql-hackers


On 18 July 2016 at 06:04, <AMatveev@bitec.ru> wrote:
Hi

> There's https://github.com/jnr/jnr-ffi that enables to call C
> functions without resorting to writing JNI wrappers.
I have not said that you are wrong.
It's the dark side of "like seprate process"
They can cheaply call sql from jvm.
And they can't cheaply call jvm from sql.

This https://github.com/davecramer/plj-new is a very old project that did work at one time which attempted to do RPC calls to the jvm to address exactly this problem.

However "cheaply" calling jvm from sql or vice-versa is not really possible.

I do like the idea of the background worker and shared memory though. 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_xlogdump follow into the future
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: DO with a large amount of statements get stuck with high memory consumption