Multi-thread upload allows parallel uploading of multiple files in the censhare Client (Java). It is recommended for remote server configurations.


Context

Parallel upload of multiple files, for example uploading Adobe InDesign documents with embedded image files.

Prerequisites

This configuration does not require previous steps or setups.

Introduction

censhare users can upload multiple files in one action. Parallel uploading occurs, for example, when you add an Adobe InDesign Document with placed image files to the censhare Client. censhare automatically creates multiple assets – a "Layout" asset and the assigned image assets from the uploaded files. For users, this is a convenient way, because they do not have to upload layout and images separately.

Technically speaking, checking in an asset initiates an upload action, as well. For example, when you edit a "Layout" asset, your local censhare Client downloads the associated InDesign document from the file storage system. The same goes for assigned images. If you click on "Save" or "Save and close", the files are uploaded back to the file storage system.

However, the parallel file upload may take a long time. In particular, if you are working with a censhare Client that is connected remotely to the censhare file storage system. This setup is commonly used in distributed locations or if you are working in the home office, for example.

Multi-thread upload is configured by default. You can adjust the number of threads allowed for a single action. The multi-thread configuration can be adjusted in your user preferences and is stored there. If no individual setting is used, censhare applies the default value.

Adjust the number of threads for upload


To change the multi-thread settings for your censhare Client, proceed as follows:

  1. In the Java Client, open the "File" menu, navigate to "Preferences" and click on "General".

  2. In the general settings dialog, go to the "Application" section and look for the "Upload" field.

  3. The default value of this field is 4. The system administrator of your censhare installation may have set another value here.

  4. Enter a value between 1 and 8. This is the number of parallel threads censhare allows when multiple files are uploaded at once.

  5. Click OK to save your settings.

Note:  The multi-thread upload is only effective when multiple files are uploaded at once, i.e. in one action. censhare will ignore this setting when you upload multiple files one after another or one large file.

Remarks and recommendations

  • Multi-threaded upload reduces the upload time significantly when you have a high network latency, but no bandwidth problems.

  • When the bandwidth of your connection is low, multi-thread upload may not improve the upload time significantly.

  • When your client connects to a censhare Server with local storage in the same network or if you are working in a clustered system configuration, multi-thread upload may not improve the upload time significantly.