2

Is it possible to have two or more Sitecore instances with different code bases running in the same (single) application pool?

  • I've updated my answer below based on a reminder from Richard. – Dan Sinclair Dec 11 '18 at 1:03
4

Sitecore is not designed to work with multiple individual instances in a single AppDomain. @RichardSeal reminded me that it makes use of shared (singleton) objects that would conflict between the two applications. These are used to improve performance and aid in caching certain resources, but make coexistence of two applications impossible.

  • 4
    You are also forgetting some major things like pre-fetch cache, all the application singletons like all the pipeline processors and other things like that. They are not just disadvantages - it would never work properly with 2 instances. – Richard Seal Dec 10 '18 at 20:02
  • @RichardSeal - thanks for the reminders about that. I completely forgot about all the shared objects across the application; I was so focused on simply the server configuration. I've updated my answer accordingly. – Dan Sinclair Dec 11 '18 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.