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.
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
- In Designer Studio, click Create > SysAdmin > Dynamic System Settings.
- In the Short description field, enter the name of the Dynamic System Setting, for example, storage/class/uploads:/type.
- In the Owning Ruleset field, enter the scope of the Dynamic System Setting, for example, Pega-ProcessCommander.
- In the Setting Purpose field, enter the same value that you entered in the Short description field.
- Click Create and open.
- In the Value field, enter the value for the setting, for example, datastore.
- Click Save.