serialize access to a shared resource (direct calls? IPC?)

Hi all,
I'd like to see some advices to solve this problem:

there are several processes, which all must share a single
connection to database; all processes run on the same
machine and so it should be that there is an additional
process, which serializes access to the open connection
and hands out results of queries...

But how to do that? Is there some simple way to just
call an external function of that single running process?
Or there is no other way but IPC methods (pipes/sockets/
shared memory,... -- I know little about them)?
If this is a heavyweight DB like MySQL or similar then the DB does all this serialization for you
Topic archived. No new replies allowed.