Skip to content
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

Add a resolver for source images stored in S3. #257

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

ratliff
Copy link
Member

@ratliff ratliff commented Nov 20, 2016

I written this resolver for images stored in S3. It mimics the functionality of the SimpleHTTPResolver. Requires installation of Boto3 SDK. I bet others would find this useful.

Let me know if you have questions.

--- Mark

@jpstroop
Copy link
Member

@ckassel I wonder if this is useful for the work you presented at DLF? Not sure if you're the right person to ask, but maybe you could pass it on?

@ckassel
Copy link

ckassel commented Nov 21, 2016

Thanks, will do!

On Mon, Nov 21, 2016 at 9:54 AM, Jon Stroop [email protected]
wrote:

@ckassel https://github.com/ckassel I wonder if this is useful for the
work you presented at DLF? Not sure if you're the right person to ask, but
maybe you could pass it on?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#257 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7u90kkPNibJFr5ASVYwz1WX9mmsRF3ks5rAbCsgaJpZM4K3rXG
.

Carol Kassel
Senior Manager, Digital Library Infrastructure
NYU Digital Library Technology Services
[email protected]
(212) 992-9246
dlib.nyu.edu

@jeremyf
Copy link

jeremyf commented May 9, 2017

@ratliff Do you have metrics regarding serving files from "local" storage vs. s3 storage?

We are interested in exploring this, but concerned about s3 performance.

@ratliff
Copy link
Member Author

ratliff commented May 9, 2017

@jeremyf I don't have any numbers, but I did have our Art Museum run load tests against the configuration and they were (and still are) happy with the response times.

@jeremyf
Copy link

jeremyf commented May 9, 2017

@ratliff I notice there is a caching layer that you incorporated. What is your caching layer for the S3 objects? Do you store them on the app server?

@ratliff
Copy link
Member Author

ratliff commented May 9, 2017

Yes. I cache images in Elastic File System (basically an NFS server). I have a CloudFormation template that you can use to launch the entire stack. Let me know if you want me to e-mail it to you. (Not sure that I ever checked it into a repo.)

@jeremyf
Copy link

jeremyf commented May 9, 2017

@ratliff I would love the CloudFormation template. My email is [email protected]

@ratliff
Copy link
Member Author

ratliff commented May 10, 2017

@jeremyf The repo containing the Cloud Formation template is here https://github.com/loris-imageserver/loris-cloudformation

@jeremyf
Copy link

jeremyf commented May 10, 2017

@ratliff Thank you! I think I have what I need for now. Trying to get a little movement on IIIF locally.

@alexwlchan
Copy link
Contributor

@ratliff We might have use for an S3 resolver at Wellcome soon, so we’d be interested in getting this merged.

This needs some tests and cleanup before it’s ready to go – are you interested in finishing this off, or would you be happy for me to tidy it up and merge it?

@flannon
Copy link

flannon commented Feb 9, 2018

@alexchan we would be very happy if you were to tidy this up and merge it! At NYU we've been interested in having an S3 resolver, but I haven't had time to work on it yet.

@ratliff
Copy link
Member Author

ratliff commented Feb 9, 2018

@alexwlchan I'm no longer actively involved. I handed what I had developed over to folks in the Princeton Univ Art Museum. So, I (and probably they) would be very happy if you would do what needs to be done to merge the code. Let me know if you need any info from me in order to accomplish that.

@alexwlchan
Copy link
Contributor

@ratliff Thanks for the fast reply! I’ll see how I get on, and ask if I run into any issues.

@nmaekawa
Copy link

@alexwlchan s3 support is something harvardx is interested in too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants