Default timeout value on AEM Dispatcher. | Community
Skip to main content
Adobe Employee
June 19, 2023
Solved

Default timeout value on AEM Dispatcher.

  • June 19, 2023
  • 2 replies
  • 2999 views

Hi All,

 

In AEM Dispatcher, there is a timeout value under the renders property in the Dispatcher configuration which I assume determines the maximum time the dispatcher will wait for a response from the AEM publish instance when rendering dynamic content. Currently, the timeout is set to default value 10000 ms so if I change this configuration to let's say 50000 ms, it would increase timeout in Dispatcher? I'm still newbie to AEM andI would like to confirm if my understanding is correct.

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tanika02

Hello @eobaseki 

 

  • The timeout value specifies the duration for which the Dispatcher will wait for a response from the AEM publish instance. If the response is not received within the specified timeout duration, the Dispatcher considers the request as timed out.

 

  • The purpose of this timeout value is to prevent the Dispatcher from waiting indefinitely for a response from the publish instance. By setting a timeout, you can control the maximum time the Dispatcher will wait, ensuring that requests are not held up indefinitely and can fail gracefully if the publish instance does not respond within the specified time.

 

You can read more about it here https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en 

 

 

2 replies

Tanika02
Tanika02Accepted solution
June 19, 2023

Hello @eobaseki 

 

  • The timeout value specifies the duration for which the Dispatcher will wait for a response from the AEM publish instance. If the response is not received within the specified timeout duration, the Dispatcher considers the request as timed out.

 

  • The purpose of this timeout value is to prevent the Dispatcher from waiting indefinitely for a response from the publish instance. By setting a timeout, you can control the maximum time the Dispatcher will wait, ensuring that requests are not held up indefinitely and can fail gracefully if the publish instance does not respond within the specified time.

 

You can read more about it here https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en 

 

 

eobasekiAdobe EmployeeAuthor
Adobe Employee
June 20, 2023

Hi Tanika02,

 

Thank you for your prompt response. This article is really helpful and make sure I will read through them 🙂

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 19, 2023

If you increase the timeout configuration to 50000 ms (50 seconds), it will indeed increase the timeout duration. This can be useful in scenarios where requests to the backend server may take longer to process, such as when handling complex queries or performing resource-intensive operations.

eobasekiAdobe EmployeeAuthor
Adobe Employee
June 21, 2023

Hi MayurSatav,

 

Thank you for your prompt response to my question and yes that makes a lot of sense 🙂

Thanks again!