Ola, that is pretty much right on the money.
Unfortunately there are a number of bad examples in the code
now where apm_package_id_from_key should not have been used. Clickthrough for example
can be mounted multiple times but this line:
ad_schedule_proc [ad_parameter -package_id [apm_package_id_from_key clickthrough] CacheSweeperInterval] clickthrough_cache_sweeper
just won't (and shouldn't) work if more than one instance is mounted.
The problem (and it is a shortcoming in the parameter system I think)
is that you cannot have a parameter which is global to all instances
of a package. I am not sure what the right answer on this is other than (in this example) splitting ct into a singleton clickthrough-service and an application clickthrough which depends on
clickthrough-service.