perrin: great - i couldn't find any documentation on this! thanks a ton.
all: can i wishlist some more documentation on the forking process
maybe something like the compression faq, where we go into detail
about exactly when where why you do things before/after the fork,
show some more examples, etc. the current documentation on this is
sparse.
i'd be happy to start on an outline and contribute, but i'm still
wary on this issue and don't have much to contribute just yet. its a
topic that i see coming up often - both in my own work, and looking
at other's questions posted on the list.
On Oct 16, 2005, at 11:38 PM, Perrin Harkins wrote:
Jonathan wrote:
on starting up my webapp, i need to pull some data from mysql that
is in the parent process (pre fork)
pre fork connections are bad though, so i'm wondering:
a_ do i have 2 db connect strings:
1. prefork dbh - instantiated prefork , then disconnect
2. postfork dbh - instantiated postfork
b_ do i have 1 db connection string
1. standard dbh - instantiate prefork, then disconnect
2. standard dbh - instantiate postfork
c_ something else