in reply to Using fork with DBI to create simultaneous db connections.
Either let each child have its own connection, or have a common process (eg the 'mother') handle all the database traffic, and use something else to communicate with this 'db-server-process', some sort of RPC or shared memory or... YMMV.
Just don't (repeat DON'T) share database connections between processes.
Did I remember to say that you should not share connections between processes?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using fork with DBI to create simultaneous db connections.
by guice (Scribe) on Mar 23, 2005 at 14:55 UTC | |
by guice (Scribe) on Mar 23, 2005 at 21:48 UTC |