If you have a single instance of DistributorSender, it could form a performance bottleneck. To avoid this problem, you can configure a resource pool of DistributorSender components. Dynamo provides a class for this purpose: atg.distributor.SenderResourcePool. It is a resource pool that pools TCP/IP connections to the DistributorServer components. Like other resource pools, you can configure the minimum and maximum size of a DistributorPool. (See Resource Pools in the Core Dynamo Services chapter.) The default maximum size is 10, but you may need to increase that, depending on the load served by your Dynamo application. An instance of a DistributorPool exists in ATG Commerce at /atg/commerce/Catalog/ContentDistributorPool.

The DistributorPool also has the following properties that you may want to configure:

Property Name

Description

cacheLocally

When a file is sent, should it also be cached locally? See RemoteServerCache.

Default is true

contentItemNameProperty

The repository item property to use in generating a file name for a content item. See Generating a File Name for more details.

createCacheDirectories

Create any directories that do not already exist in the remote cache.

Default is true

documentRoot

The local document root.

documentRootCachePath

If you want to store documents in a subdirectory of the document root. For example:

documentRootCachePath=doc/MEDIA

 
loading table of contents...