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

Which application server-type thing is that? I've never found any problem with using mod_perl as an application server. Can you define something that you need which you don't get from mod_perl plus some CPAN modules?
  • Comment on Re: Re3: sharing a complex set of objects between httpd processes

Replies are listed 'Best First'.
Re5: sharing a complex set of objects between httpd processes
by dragonchild (Archbishop) on Mar 17, 2003 at 17:55 UTC
    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.

      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.