2

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

1
  • I've updated my answer below based on a reminder from Richard. Commented Dec 11, 2018 at 1:03

1 Answer 1

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.

2
  • 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
    Commented Dec 10, 2018 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. Commented Dec 11, 2018 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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