-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update File Storage to be able to Scale to Multiple Servers #1716
Comments
fyi, the drush commands of Linking #1230 |
I setup a test bucket and have files being transferred up to s3 from land. Here is the process: bucket:
To use MFA:
|
Looking into s3fs there are several edge cases that will need to be solved including CEX tar performance and imagecache generation. The best solution would be using FS-CACHE which @ElijahLynn briefly looked into during CEX implementation. We need to take a deeper look into the performance issues we saw. If we find FS-CACHE is not going to work then we will move on to S3fs and use some information from #1759 (comment). |
Leaving a discussion here that @indytechcook and I had about AWS Lustre FSx (not in GovCloud yet). |
@ElijahLynn @olivereri , now that we moved back to EFS, is this epic obsolete? |
Follow up from #1360.
Problem
Currently we perform a pre-deployment task to backup the state of
/sites/default/files
on the instance about to be replaced. Then we restore that state to the new instance after it is up. This works fine for a 1 instance deployment which is what we are currently using. However, it causes a problem for the launch of a high-availability (HA) improvement. The problem is:Possible Solution
The solution that @indytechcook and I discussed is to implement the Drupal module S3 Filesystem (dgo.to/s3fs). Which will keep the "state" in an S3 bucket and sync it to the other servers.
Notes
We used to use EFS for this solution, which worked fine until we needed a faster file system for our unique implementation of Tome Sync (dgo.to/tome). EFS was too slow to allow us to TAR the sites/default/files folder up, which was where we store the JSON exports that Tome creates. There is more info in other tickets but just know that EFS is not an acceptable solution, as we need a fast SSD to do our operations now.
The text was updated successfully, but these errors were encountered: