Re: Using Threads?

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: Using Threads?
Дата
Msg-id Pine.LNX.3.96.1001204120620.12062C-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Using Threads?  ("Junfeng Zhang" <junfengz@cae.wisc.edu>)
Список pgsql-hackers
On Mon, 27 Nov 2000, Junfeng Zhang wrote:

> Hello all,
> 
> 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?
It's a little a historical reason, but not only. The PostgreSQL allowsto use user defined modules (functions), it means
thatbad module orbug in core code crash one backend only, but postmaster run still. In the thread model crash all
runningbackend. Big differntion is in the lock method too. 
 
            Karel



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

Предыдущее
От:
Дата:
Сообщение: Add-on
Следующее
От: Michael Fork
Дата:
Сообщение: Re: beta testing version