multiexcerpt for Cloud when used many times per page will cause slow page rendering performance

Description

This is a common use case for the multi-excerpt add-on for Server to have dozens or hundreds of multiexcerpt-includes on a page. This works very well with the cache we can employ locally on the Confluence Server.

With Cloud the platform is completely different and each rending of the multiexcerpt or ANY Connect add-on requires a call to an external server. This is the Connect design. The add-on is hosted externally and these required network calls are the bottle neck, designed into the Connect platform.

We might be able to do some additional caching on the browser client but it wouldn't help with the first rendering and then we run into issues refreshing the content when it changes.

I believe the same results will be encountered if customers try to aggregated content using the built in Confluence include-page macro or others in the same way multiple times.

Researching.

Freshdesk Tickets

#11360 (http://artemissoftware.freshdesk.com/helpdesk/tickets/11360) - mutliexcerpt plugin
#30008 (http://artemissoftware.freshdesk.com/helpdesk/tickets/30008) - Multi-Excerpt - Issue with multiple inserts

Create a Support Ticket

Activity

Show:
Brendan Patterson
April 1, 2019, 10:36 PM

This is now complete!

Fast Include

Summary

  • New macros to increase performance

Details

  • Major performance enhancements for pages with many MultiExcerpt Includes.

There are two new types of includes:

  • Multiexcerpt Fast Include (Block)

  • Multiexcerpt Fast Include (Inline)

These new macros allow the page to load without waiting/blocking until the content from the multi excerpt has been retrieved. Rather the page loads quickly and they are loaded in the background. The (Block) version will expand to width of the page. The (Inline) version allows placing of content inline, but is limited to 300pixels (an Atlassian limitations). These macros address the most requested feature for the MultiExcerpt Cloud App.

Brendan Patterson
April 1, 2019, 10:35 PM

Summary

  • New macros to increase performance

Details

  • Major performance enhancements for pages with many MultiExcerpt Includes.

There are two new types of includes:

  • Multiexcerpt Fast Include (Block)

  • Multiexcerpt Fast Include (Inline)

These new macros allow the page to load without waiting/blocking until the content from the multi excerpt has been retrieved. Rather the page loads quickly and they are loaded in the background. The (Block) version will expand to width of the page. The (Inline) version allows placing of content inline, but is limited to 300pixels (an Atlassian limitations). These macros address the most requested feature for the MultiExcerpt Cloud App.

Brendan Patterson
December 1, 2015, 11:42 PM

Note added by Brendan in Freshdesk:
Hi Pascal and Aislinn,

No update yet nor probably in the very near term.

For several invocations of multiexcerpt-include on the same page will unfortunately result in degrading performance of rending of that page.  
This is a limitation of the "Confluence Cloud platform" implementation by Atlassian and the way it is set up.  There is no way around it I'm aware of. We already do as much client side caching as we can.

A bit more here:
https://artemis.atlassian.net/wiki/display/MEPOD/MultiExcerpt+OnDemand+Home#MultiExcerptOnDemandHome-LimitationsforMultiExcerptCloud

This is the tracking issue I'll link to this ticket: https://artemis.atlassian.net/browse/MEPOD-3
Cheers,
Brendan


Brendan Patterson | brendan@artemissoftware.net | www.artemissoftware.net

Brendan Patterson
December 1, 2015, 11:42 PM

Note added by Pascal Duchemin in Freshdesk:
Hello Artemis team,
Amy update ?
Thanks
Pascal Duchemin

Brendan Patterson
December 1, 2015, 11:42 PM

Note added by Aislinn Treacy in Freshdesk:
Screenshots attached.Steps:

Edit page, 
add a number of multi-include excerpts

Save page 

What happens: Spinner keeps spinning until eventually either

times out with the following

2. Asked to merge pages (but buttons don't work)

Fixed

Assignee

Unassigned

Reporter

Brendan Patterson

Labels