Filesync
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Filesync synchronizes operations on files across all webheads in a cluster.
This is useful for setups where the webheads doesn't share the files directory via NFS neither use any distributed filesystem like GlusterFS.
If you don't understand what we're speaking here, see using a load balancer or reverse proxy for a brief introduction.
Features
Filesync notifies the other webheads to keep files in sync on the following events:
- Upload or deletion of files via file, image, file_entity/media and any other module that works with Drupal's managed files API.
- Image styles flushes
- Derivative images generation (needs Imageinfo Cache module)
How it works
When a file is uploaded to a webhead, the other webheads are notified. Then, the notified webheads retrieve the file from the notifier webhead, and store it in its local filesystem.
In a similar manner, when a file is deleted, the other webheads are notified and proceed to delete the file in its local filesystem.
Motification urls are protected by access control. Only notifications comming from the IPs of the webheads in the pool are allowed.
Source for webheads IPs can be one of: dns resolution, reverse_proxy_addresses variable, or a list specified in the module settings page.
Support and customizations
The module author provides paid development and consulting services. Contact Jonathan Araña Cruz.
You can also support this module by giving cash gifts via Gratipay.
