Closed (outdated)
Project:
CDN
Version:
7.x-2.x-dev
Component:
File Conveyor mode
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Apr 2013 at 22:13 UTC
Updated:
23 Apr 2016 at 09:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leersThere's a fork of File Conveyor that adds MySQL support, which would solve this problem for you: https://github.com/wimleers/fileconveyor/issues/84. If you can turn this into a pull request, I'd be happy to merge it in, and that would solve this problem neatly.
Syncing from multiple servers (and thus with multiple File Conveyor instances) to a single destination is impossible (or at the very least a nightmare).
Comment #2
gregglesThanks for the pointer. Unfortunately I don't have the time to work with the fork. We switch to an origin pull CDN instead, which seems relatively OK.
Comment #3
wim leersOrigin Pull CDNs are definitely much easier to work with :) Unless you *really* want to see your files optimized, that's the recommended, least-worries way to go!
Comment #4
wim leersComment #6
pezholio commentedWe have the same problem here - we have two nodes running the same codebase behind a load balancer. We have the CDN module installed, but as there's two sqlite databases, the module doesn't quite work as expected.
I've got a PR on the main File Conveyor Github repo for MySQL support and have managed to hack a solution into the module for MySQL support. I've attached a patch here - thoughts welcome!
Comment #7
pezholio commentedComment #8
pezholio commentedSorry, forgot to change the status!
Comment #9
pezholio commentedAch. Trying again! Sorry, new to all this!
Comment #10
pezholio commentedJust updated the patch with some more configuration stuff. In the help text I said to leave the DB connection fields blank to use the default, but didn't actually implement the logic! This fixes that.
Comment #11
karenann commentedThe patch in #10 worked well in our environment. Thanks!
Comment #12
wim leersI'm glad that #10 worked. But ever since almost 3 years ago, there has been pretty much zero feedback. Almost nobody is using File Conveyor.
The need for File Conveyor has diminished significantly, because most CDNs nowadays use the Origin Pull approach. That is also why the Drupal 8 port of the CDN module has removed File Conveyor support altogether.
The people who are using File Conveyor are also probably savvy enough to find this issue and this patch and apply it. But it's irrelevant for 99% of the users of the CDN module. So I'm going to close it, to get it out of sight of the majority.
Many thanks for your work here!