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

This actually brings up an interesting issue - is there some clean and easy implementation that does this application server-type thing? I would suppose you can create a SOAP::Lite server or something, but it sounds like it would involve a lot of bandwidth ...

------
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 Re3: sharing a complex set of objects between httpd processes

Replies are listed 'Best First'.
Re: Re3: sharing a complex set of objects between httpd processes
by perrin (Chancellor) on Mar 17, 2003 at 16:34 UTC
    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?
      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.