1

I have two Tridion CMS servers for load balancing and I'm developing an Event Handler where two separate methods are triggered on EventPhases.Initiated and EventPhases.TransactionCommitted for same event. Can someone please confirm if both the methods will always be triggered from same server or can be triggered from two separate Tridion servers? I store some value in ContextVariables in initiated phase and use it in TransactionCommitted phase.

2

Don't think I can say with enough authority for ALL events, but definitely CRUD events are started and finished within the same instance. I am inclined to say that yes, all are running in a single instance, but there may be some less used event that for some reason would be distributed (can't think of any).

2
  • 2
    In general, the TOM.NET event system is in-process meaning that all events are triggered in the same process/machine where the triggering action is executed. Synchronous event handlers even run on the same thread, but async event handlers and event handlers for TransactionCompleted/Aborted events run on a separate thread. – Rick Pannekoek Sep 26 '17 at 17:23
  • Thanks Rick and Nuno for sharing your knowledge on this. I'm using synchronous event handlers which run on the same thread. This fulfill my acceptance criteria. – Suman Daripa Sep 27 '17 at 11:14

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.