Re: Using Threads?

Поиск
Список
Период
Сортировка
От Bruce Guenter
Тема Re: Using Threads?
Дата
Msg-id 20001204142810.A30690@em.ca
обсуждение исходный текст
Ответ на Using Threads?  ("Junfeng Zhang" <junfengz@cae.wisc.edu>)
Ответы Re: Using Threads?  (Adam Haberlach <adam@newsnipple.com>)
Re: Using Threads?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Mon, Nov 27, 2000 at 11:42:24PM -0600, Junfeng Zhang wrote:
> I am new to postgreSQL. When I read the documents, I find out the Postmaster
> daemon actual spawns a new backend server process to serve a new client
> request. Why not use threads instead? Is that just for a historical reason,
> or some performance/implementation concern?

Once all the questions regarding "why not" have been answered, it would
be good to also ask "why use threads?"  Do they simplify the code?  Do
they offer significant performance or efficiency gains?  What do they
give, other than being buzzword compliant?
--
Bruce Guenter <bruceg@em.ca>                       http://em.ca/~bruceg/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Using Threads?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?