Timer Execution in Multiple Front End

Hi All,


We have multiple front ends(3) in our application.

Everytime when the timer runs the timer is executed in any one of the server. Not same everytime.


I would like to understand how the platform services decides on which server this timer has to be executed.


Also confused that scheduler services will be running in all the front end and how the scheduler service for that timer triggers the timer in specific FE.


Thanks in Advance.

Hi All,


Can anyone help me with this

Hi Ajithkumar,


I found this article from Kilian

https://medium.com/@kilianhekhuis/timers-and-when-they-run-5614d683c973

"If you have multiple front-ends that can run Timers, you never know where they end up running. The Schedulers of these front-ends collaborate to run timers, so that not a single server will end up running all Timers. The precise algorithm is a black box, and probably only known to the OutSystems engineers maintaining the Scheduler service (though it might be as simple as first-come-first-serve)."


Regards

In the article that Pedro is referencing there is more information on what options you have to run or not run timers in an environment with multiple front end servers. 

Worth while reading the complete document for a better understanding of OutSystems timers.

Pedro Costa wrote:

Hi Ajithkumar,


I found this article from Kilian

https://medium.com/@kilianhekhuis/timers-and-when-they-run-5614d683c973

"If you have multiple front-ends that can run Timers, you never know where they end up running. The Schedulers of these front-ends collaborate to run timers, so that not a single server will end up running all Timers. The precise algorithm is a black box, and probably only known to the OutSystems engineers maintaining the Scheduler service (though it might be as simple as first-come-first-serve)."


Regards

Hi Pedro,


Read the complete article I understand and aware of the things that was mentioned.


As u mentioned it is black box how the FE is decided for the timer execution.


This is the one im curious to know. But thats ok.


However I have a similar question regarding process as well.

https://www.outsystems.com/forums/discussion/52663/how-processes-are-executed/


Ajith