Search Postgresql Archives

Re: any experience with multithreaded pg apps?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On May 7, 2004, at 12:43 PM, Mark Harrison wrote:


I'm looking for feedback from anybody who has used pg in a
multi-threaded program, particularly one in which several
threads each open a database connection.

It's documented to work in that scenario, but I'm interested
in anybody who can share some real-world with that.


Works great over here.
Our app sits around doing 50-150 requests/sec constantly and spends most of its time sitting there with a blank look on its face.


Just make sure you take the normal precautions you need to take with threaded apps (no strtok, etc. )

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux