Webdav slow when uploading bulk content
Written By
Viktória Gyömbér
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When we upload a large number of files in a hierarchical directory structure, it takes a lot of time even if the file sizes are small.
Resolution
-
When a User uploads many files, Liferay is processing the files one by one.
The three main parts of the upload process are:
1) Uploading it to S3 store
2) Saves the metadata in the database
3) Indexes the entry
Once it is done then it starts to upload the next file.
- Starting the indexing in bulk only after uploading all the images may sound like a better option, but the current functionality is intended to work like this, and usually, these approaches need careful planning by our Product Teams, that can also consider the limitations of the framework that Liferay uses.
-
There is some documentation regarding ElasticSearch performance, these related articles that could be useful when tuning it:
The first two are for older Liferay versions, but checking their content is still useful and the last one is for Liferay DXP 7.3 version that has additional articles next to it. It could be useful to check out all of these materials.
Did this article resolve your issue ?