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.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @eobaseki
You can read more about it here https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...
Hello @eobaseki
You can read more about it here https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...
Hello @Tanika02 and @MayurSatav ,
I read the deck attached (https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...), and I have another doubt.
What is the difference between /timeout and /receiveTimeout ? Because the definition of these two just looks quite similar to me. Could you please provide some examples to show how should I choose from these two depending on different scenarios? Thank you.
Hello @Yijun250211319mpv -
Let me try explaining this with the help of an example :
Timeout
Let's say you have set the timeout value to 10 seconds in the Dispatcher configuration. When a client (let's say a browser) sends a request to the Dispatcher, the Dispatcher forwards the request to one of the AEM instances. The Dispatcher will wait for a response from that specific AEM instance for a maximum of 10 seconds. If the AEM instance does not respond within this time, the Dispatcher will consider the request as timed out and may return an error to the client.
Receive Timeout
Summary :
By setting these timeout values appropriately, you can control the maximum waiting time for a response from the given AEM instance (timeout) and the maximum waiting time for any backend AEM instance in a load-balanced environment (receiveTimeout) within the AEM Dispatcher configuration.
Regards,
Tanika
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.
Hi MayurSatav,
Thank you for your prompt response to my question and yes that makes a lot of sense
Thanks again!
Views
Replies
Total Likes