This feature pack includes significant performance enhancements, custom video thumbnails support, and dynamic media color management capabilities in AEM Assets since the general availability of AEM 6.2. The feature pack can be installed on AEM 6.2.
Here are the key features and enhancements:
If you upload large amounts of assets to AEM Assets, I/O calls to your server increases drastically, which reduces the efficiency of the upload operation and can even cause the upload operation to time out.
This feature reduces disk I/O during asset uploads by letting AEM Assets ingest files through a data stream instead of storing it in a temporary folder on the server and then copying it to the repository. The data is transferred directly to the repository, which eliminates intermediate local disk IO. This way, the time to upload large assets and the possibility of upload timeouts is reduced.
Streamed uploads is enabled by default. You can disable it through the AEM Assets Streaming Upload Feature Flag configuration in Configuration Manager.
Uploading a large amount of assets in bulk consumes significant I/O resources, which may adversely impact the performance of your AEM Assets instance. In particular, if you have a slow internet connection, the time to upload drastically increases due to a spike in disk I/O. Moreover, your web browser may introduce additional restrictions to the number of POST requests AEM Assets can handle for concurrent asset uploads. As a result, the upload operation fails or terminates prematurely. In other words, AEM assets may miss some files while ingesting a batch of files or altogether fail to ingest any file.
The Serial Uploads feature helps overcome this situation by enabling AEM Assets to ingest one asset at a time (serial upload) during a bulk upload operation, instead of the concurrent upload method that was used earlier.
Serial Uploads is enabled by default. To disable the feature, set the parallelUploads flag of the fileupload node in Crx-de to True. In other words, the feature is disabled by enabling concurrent uploads in AEM Assets.
Perform these steps to disable the feature for bulk uploads using the drag-and-drop action:
If your AEM Assets deployment uses FileDataStore (FDS) on a storage area network (SAN) or network-attached storage (NAS), multiple network calls between AEM Assets and the external storage during high-load conditions can reduce the efficiency of FDS and increase latency. Moreover, OAK indexes are stored within SAN/NAS and even an idle system performs numerous read operations on system-generated data.
To increase the efficiency of your FDS, a local file system cache is enabled in front of a SAN storage. When you upload an asset, AEM first looks up the binary in the local file system cache. If it doesn't find the binary, AEM fetches it from SAN. Caching reduces network traffic between AEM and SAN. This way, SAN latency is reduced, and the efficiency of FDS is improved.
This feature is helpful in deployment scenarios where FDS is mounted on NAS/SAN storage. It is implemented via OAK issue OAK-3253 for AEM 6.2. To enable caching, add the following configuration in the crx-quickstart\install folder:
- PID org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore
- Review the following sample configuration.
path="/Users/xxxx/AEM/cq62/sands" cachePath="/Users/xxxx/AEM/cq62/localcache" cacheSize=L"64000000000"
Often, while uploading large assets or multiple assets in bulk, visual indicators in the UI help you assess the progress and performance of the upload operation.
The Upload Progress dialog in AEM Assets displays the count of successfully uploaded files and the files that failed to upload.
If you cancel the upload operation before the files are uploaded, AEM Assets stops uploading the current file and refreshes the content. However, files uploaded already are not deleted.
To let AEM Assets display the Upload Progress dialog, configure the AEM Asset Upload Progress Dialog feature flag. This configuration is enabled by default, which allows AEM Assets to display the Upload Progress dialog during asset upload operations. To disable the configuration, perform these steps:
You must install this feature pack on AEM 6.2 SP1 to be able to use its features and capabilities. For details on installing AEM 6.2 SP1, see Install the Service Pack.
To install the feature pack: