Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

AEMWizard
Level 4
Level 4

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

1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

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?

View solution in original post

1 Reply
Jörg_Hoh
Correct answer by
Employee
Employee

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?

View solution in original post