Contact Us 1-800-596-4880

Distributed File Polling

Enterprise Edition

Some endpoints, such as the File Endpoint or FTP Endpoint, regularly poll directories and read certain files as they are created in the directories polled. These files may reside on a remote file system, including file systems of nodes belonging to a Mule High Availability (HA) Cluster.

Up to Mule 3.3.x, all file poll requests sent to a cluster were channeled through a single node in that cluster. This ensured file consistency by avoiding the possibility of file system sync issues, but had the disadvantage of introducing a bottleneck, reducing the performance of the cluster.

In the current version file polling for clusters' distributed file systems makes it possible to poll files in all cluster nodes. Enabled by default, this feature is used by the following endpoints:

Requirement

To use distributed file polling, the flow’s Processing Strategy must be synchronous. If the processing strategy is asynchronous, Mule will automatically disable distributed file polling, and revert to the old behavior.

For additional configuration options, including cluster network parameters, see Creating and Managing a Cluster Manually.