AEM Runnable Network Request is taking a long time and how to debug Runnable | Community
Skip to main content
Level 6
November 3, 2021
Solved

AEM Runnable Network Request is taking a long time and how to debug Runnable

  • November 3, 2021
  • 1 reply
  • 887 views

In our AEM we have a service call that takes a long while, around 2 minutes to have a response. Once we get the response, we will be building nodes in AEM as a caching mechanism. 

My question is, will the slow 2 minutes to have a response impact my AEM authors performance? Will my authors suffer from delay?

 

Next question is, how can we debug the runnable, so we can step through the run method? https://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html

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 joerghoh

Hi,

so do I read your question correct, that you want to know if a slow request (taking 2 minutes) will impact the performance of the system for other requests?

 

That mostly depends on the actions this request does that during these 2minutes. If you create a lot of content, it will probably have an impact, because many of these write operations are probably triggering other actions (JCR observation, workflows, ...). But if it just sits silently waiting for a backend call to complete, you probably won't have any impact.

 

have you tried it already?

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
November 4, 2021

Hi,

so do I read your question correct, that you want to know if a slow request (taking 2 minutes) will impact the performance of the system for other requests?

 

That mostly depends on the actions this request does that during these 2minutes. If you create a lot of content, it will probably have an impact, because many of these write operations are probably triggering other actions (JCR observation, workflows, ...). But if it just sits silently waiting for a backend call to complete, you probably won't have any impact.

 

have you tried it already?