Re: PostgreSQL pre-fork speedup

Поиск
Список
Период
Сортировка
От sdv mailer
Тема Re: PostgreSQL pre-fork speedup
Дата
Msg-id 20040506164825.50932.qmail@web60210.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: PostgreSQL pre-fork speedup  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: PostgreSQL pre-fork speedup
Re: PostgreSQL pre-fork speedup
Список pgsql-hackers
The speedup (UNIX) and slowdown (TCP) are both
compared against normal direct connections from Client
to PostgreSQL. This means with Pgpool (UNIX) it is 5x
faster than normal connections to PostgreSQL. It is
also 15x slower with Pgpool (TCP) compared to normal
connections to PostgreSQL.

My guess is Tatsuo will be best to answer why we see a
slowdown on the Client to PgPool using TCP. Perhaps a
bug or feature in his code. :-)

The point is pre-forking can *potentially* speed up
connections by 5x as shown in this simplistic
non-conclusive benchmark. It would be faster too
without the proxy overhead. Forking on Linux is still
a price to pay since we don't have threads but you can
make the best out of it by pre-forking a la Apache.

Theoretically, pre-forking may be faster than
threading (MySQL) because you have one less thing to
do.





    
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


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

Предыдущее
От: James Robinson
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE TODO items