In a content distributor system, a DistributorServer component is installed with each HTTP server. Each Oracle ATG Web Commerce server includes one or more DistributorSender components or DistributorPool components (a resource pool of DistributorSender components) that are configured to connect to the DistributorServer component on each HTTP server.
When the putFile methods of a DistributorSender are invoked, the DistributorSender:
Generates a file name and directory to use on the remote servers.
Checks whether the file was sent to the remote servers:
Checks locally in its document cache (
RemoteServerCache)Checks remotely, issuing a
fileCheckcommand to the remoteDistributorServercomponents.
The check is performed by comparing the file’s size and last modified time to that of the version of the file in the local document cache and then in the remote document cache.
If the file is not found either in the local cache or the remote cache, the
DistributorSendersends the file to the remote server. On the remote server, aDistributorReaderwrites the file in the specified directory.The file is cached locally.
The
putFileoperation returns a URL that can be used to access the sent file.

