Configuring Publish Service for larger archives

During publish, the Publish service generates many ZIP files (archives or compressed files) which it sends to the Deployer to deploy into the database. Large packages take longer to process thereby impacting publish performance. To avoid generating too large or too small packages, you can modify the value of binary-path-rollover (This is the number of files contained in each ZIP package). For example, if your data modules and images tend to be MBs in size, try a value of 1000. If your data modules and images are only KBs in size, then 10,000 will work well. Some trial and error may be required to achieve optimal performance.

Procedure

  1. Open the application.yml located at [LCC_home]/publish-service/config for editing
  2. Find the following configuration:
    lcc:
      publish:
        binary-path-rollover: 1000
        
    Update this value depending on the size of your data modules and images.
  3. Save and close the application.yml file.