Resource consumption on server viewing huge files?

Hi guys,

there's something I've been thinking about recently and would love to hear your oppinion. In a project we're gonna upload some huge files to Confluence, e.g. large word docs or Excel files of some MB including Macros and stuff.

I'm now wondering about how much this might affect the server and what's the best way to work with these files. More specific:

1) If people tend to view files in their browser, does this affect the server or is the whole rendering stuff done on the browser side?

2) If uploading these files causes a lot of resource consumption e.g. for indexing, would it make more sense to store large files on some cloud storage and just reference them (knowing they won't be available in search then)?

Thanks for your suggestions and best regards, René

1 answer

1 vote
Ann Worley Atlassian Team Jul 21, 2017

For 1:

The rendering is done partly on the browser and partly on the server. The server and the browser will cache the file after first view so subsequent views are less resource intensive.

You can avoid rendering on the server by disabling the view file macro so that users have to download the attachment to view it.

For 2:

The upload process itself can use a lot of server memory, but you should be able to do it without impacting the users if your Java heap settings are reasonable.

You can turn off indexing of attachments if you become concerned about the indexing taking too many resources.

The Cloud storage idea is a sound strategy. If you ever change the storage location you will have to update a lot of links, however.

I look forward to hearing what other Community members have experienced with large attachments in their environments.



Thank you very much Ann,

great answer with in-depth explanation!


Regards, René

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

458 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you