Compress Cache Contents

You can compress cache contents from queues before the cache is written to disk.

About this task

Compressing information increases performance, requiring fewer bytes to be written to and retrieved from storage. If the cache contents are compressed when they are written to disk, the contents are decompressed after the information is read back from the disk.

To compress the cache contents before the cache is written to disk:

Procedure

  1. Open the install_dir/properties/workflows.properties file using a text editor.
  2. In the workflows.properties file, locate the compressObj property and change the value to true. The default value is false.
  3. Save the workflows.properties file under the same name in the install_dir/properties directory.
    Important: Saving the workflows.properties file under a different name or in a different location will prevent the changes from being applied to Sterling B2B Integrator.
  4. Stop Sterling B2B Integrator.
  5. In the install_dir/bin directory, run one of the following commands:
    • (For UNIX or Linux®) setupfiles.sh
    • (For Windows) setupfiles.cmd
  6. Start Sterling B2B Integrator.
    The changes are applied to Sterling B2B Integrator and the cache contents are compressed before being written to disk and decompressed after being read from the disk.