Optimizing large file support performance

When you configure offline case attachment support, to optimize large file support, you must create several Dynamic System Settings to enable storing large files in Amazon S3, Microsoft Azure, and other file services that are supported by the PRFile API. If you do not optimize large file support, all attachments that are transferred from a mobile device to the server are stored in the local data storage, which might have a negative effect on the Pega Platform performance.

Before you begin: Determine whether you need to perform this procedure:
  • Optimize large file support if the Pega Platform instance is enabled as a multitenant system, or if it uses a Postgres data source and does not use Pega Cloud.
  • Do not optimize the large file support if Pega Platform is configured to use Pega Cloud.
To store large files in the Amazon S3 or Microsoft Azure service, you must:
  • Have access to an S3 bucket or Azure container
  • Have the AWS access key or an Azure user name, and a corresponding password
  • Choose a root path for the repository
Repeat the following procedure for all the settings described in the Dynamic System Settings for optimizing large file support topic.
  1. In Dev Studio, click Create > SysAdmin > Dynamic System Settings.
  2. In the Short description field, enter the name of the Dynamic System Setting, for example, storage/class/uploads:/type.
  3. In the Owning Ruleset field, enter the scope of the Dynamic System Setting, for example, Pega-ProcessCommander.
  4. In the Setting Purpose field, enter the same value that you entered in the Short description field.
  5. Click Create and open.
  6. In the Value field, enter the value for the setting, for example, datastore.
  7. Click Save.