Re: Threads

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Threads
Дата
Msg-id 23763.1041644042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Threads  ("Serguei Mokhov" <mokhov@cs.concordia.ca>)
Ответы Re: Threads  (Greg Copeland <greg@CopelandConsulting.Net>)
Список pgsql-hackers
"Serguei Mokhov" <mokhov@cs.concordia.ca> writes:
>>> (1) One thread screws up, the whole process dies. In a 
>>> multiple process application this is not too much of an issue.

> (1) is an issue only for user-level threads.

Uh, what other kind of thread have you got in mind here?

I suppose the lack-of-cross-thread-protection issue would go away if
our objective was only to use threads for internal parallelism in each
backend instance (ie, you still have one process per connection, but
internally it would use multiple threads to process subqueries in
parallel).

Of course that gives up the hope of faster connection startup that has
always been touted as a major reason to want Postgres to be threaded...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL Password Cracker
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Upgrading rant.