in reply to Re: Howto implement versions of object instances
in thread Howto implement versions of object instances

Backward compatibility :)
I try to develop my mod_perl application framework, and I need coexistency of slightly different versions of it at the same apache, to support applications developed on different $VERSIONs.
  • Comment on Re^2: Howto implement versions of object instances

Replies are listed 'Best First'.
Re^3: Howto implement versions of object instances
by perrin (Chancellor) on Nov 15, 2005 at 15:02 UTC
    It would be much easier to run two separate mod_perl servers.
      Yes, of course, but it is not optimal in all situations. It losts memory sharing, needs httpd reconfiguring, may interfere with legacy application logic (assuming the same port of uri of family applications, for instance), multiplicates count of db connections etc.
      Thanks for reply in any case :)
        It's not as bad as all that. If you needed to run 20 processes before, you still only need 20, split between the different versions. You will see some increase in memory, but not in database connections. URI stuff shouldn't be a big deal if you are running a proxy server, and you should be running a proxy server if you run mod_perl.