in reply to Re: Re3: sharing a complex set of objects between httpd processes
in thread sharing a complex set of objects between httpd processes

I'm talking about that place to put Singletons and the like.
  1. Web server (Apache/mod_perl)
  2. registry / CGI files
  3. Other place(s) (like your DB singleton, etc)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re5: sharing a complex set of objects between httpd processes

Replies are listed 'Best First'.
Re: Re5: sharing a complex set of objects between httpd processes
by perrin (Chancellor) on Mar 17, 2003 at 18:25 UTC
    But it's a solution looking for a problem. There's nothing that actually requires a singleton, which is why people have been successfully writing multi-process servers (Oracle, for example) for so many years. Data sharing, coordination of resources -- these things can all be done with basic IPC techniques.