The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

are confluence macros (generating html) executed in series or in parallel?

Alexander Hansen
October 1, 2018

hello,

 

i'm maintaining a macro for confluence which makes REST requests to jira api.

however at any time there may be thousand instances of this macro on a confluence page.

 

my REST requests to jira api take 300 ms which a colleague told me is normal.

 

if the macros were executed in parallel that wouldn't be a problem but i don't know about that. please respond.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Shawn C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2018

Hi Alexander,

The calls are going to be run asynchronously in series against Jira and if there are thousands of these macros on a single Page, the page might timeout before we'll have results.

What are you trying to generate with these thousands of macros?
Are these macros something we can try to simplify down or is it possible to collect the Jira data externally using the Jira API and then update the page with the returned results using the Confluence API?

Cheers,
Shawn

TAGS
AUG Leaders

Atlassian Community Events