Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Aem asset optimizations & best practices

562 views

Published on

Aem asset optimizations & best practices

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Aem asset optimizations & best practices

  1. 1. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. AEM Asset Optimizations & Best Practices Kanika Gera| Support Engineer
  2. 2. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Agenda  Asset Capabilities  Asset Performance Optimizations  Common Asset Architectures  Assets Sizing  Q&A 2
  3. 3. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. AEM Assets Capabilities Power of Assets
  4. 4. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 4
  5. 5. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Reasons for Performance Bottlenecks 5
  6. 6. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Assets Performance Optimizations Tuning your assets for maximizing performance
  7. 7. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 7 Configurations for Maximizing Asset Performance  Enable HTTPS to get around any corporate HTTP traffic sniffers  Deploy on Java 8.  Set optimal JVM parameters  Customize DAM update Asset workflow: Transient Workflow Selective Rendition Generation  Disabling XMP Write back (if not required )  Set the DAM Update workflows to transient  Configure a File system DataStore or an S3 DataStore -XX:+UseConcMarkSweepGC -Doak.queryLimitInMemory=500000 -Doak.queryLimitReads=100000 -Dupdate.limit=250000 -Doak.fastQuerySize=true
  8. 8. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 8 Configurations for Maximizing Asset Performance  Set the Maximum Parallel Jobs to half of the available processors, that is tune Granite workflow queue to limit the concurrent jobs  Offloading Dam Update Asset Workflows to a second Author Instance with Binary less replication with a FP in 6.1 and on vanilla 6.2  Create Custom Indexes and tune them for queries you run often  Configure Workflow & Version purging
  9. 9. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Common Asset Architectures Common Asset use cases & their Solution
  10. 10. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 10 Asset Ingestion, High Processing Use Case: When authors perform bulk imports, such as 1,000 images at a time. CPU and Memory are critical. Solution: Offload jobs to a farm of Experience Manager worker instances. Dedicate processing instances for asset ingestion
  11. 11. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 11 Asset Ingestion, High Volume Use Case: Database of one million products that has 10,000 modifications per day. The repository becomes the bottleneck. While writes are happening, reads are blocked for consistency purposes. Solution: Segregate the import process on a dedicated author instance with its own repository. At completion, replicate a full diff/delta to the author environment, with chained replication to the publish environment, if necessary.
  12. 12. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 12 Large DAM repositories Use Case: Huge repositories, such as over 5 million assets, 10 million nodes, and 10TB disk size Solution: Split the persistent store and the data store (optimized for handling large binaries) onto different media. The persistent store requires very low latency I/O, hence local storage works best. For the data store, a higher latency is acceptable.
  13. 13. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 13 Many Concurrent Authors Use Case: Concurrent authors are users who are actively working on the system. Solution: Spin off each project into a separate author instance or environment in which the work in progress takes place. This technique is named content partitioning or sharding
  14. 14. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Asset Sizing Size your Assets
  15. 15. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. . 15 Asset Sizing • Sizing Repository • Shared Data stores • Maximum Number of Assets • Size of Assets
  16. 16. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Questions & Answers
  17. 17. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 17 THANK YOU !!
  18. 18. © 2017 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.

×