Ok, I am considering the boto package/module/egg. I can easily download it from github, but how can I install it with GAE? It obviously should be in my app files uploaded to GAE. How did you install boto in your app directory?
Also if you have sample code (upload + fetch) that would be awesome! My understanding is that the uploaded file should go to GAE first and then AWS S3. Not sure how the boto s3 code works at this point. But clarification would be welcome. Thanks, On Wed, Dec 5, 2012 at 11:27 AM, Alexander Trakhimenok < [email protected]> wrote: > We've implemented storing images to S3 from GAE for > http://www.myclasses.org/ and pretty happy with results. > > There is a 2 factors problem with serving images from GAE's blob-store: > > 1. Generation of get_serving_url takes a while. If you have many > images to serve on a single page (*e.g. list if classes and their > avatars in our case*) it can really slow your code and as result cost > you money. So you don't want to do it on every page rendering. > 2. We tried to cache the URL returned by get_serving_url() but it > occurred it expires in a while (may be days or weeks) and there is no clear > understanding when exactly and how to invalidate the URLs or HTML of pages > we generate & cached in DB. > > With S3 we can have static & stable URL what is perfect for us. And > in conjunction with CloudFrount it works really fast - we see noticeable > improvements in client pages rendering by browsers. > > We used "boto" library to work with S3 that is not coupled with Django in > any way (*as far as I know*) so you can try it as well. > > Good luck, > > Alex > Founder & Lead Dev @ Petamatic.com > > On Tuesday, 4 December 2012 16:32:31 UTC-4, Emmanuel Mayssat wrote: >> >> They are several discussion about storing images in database (blob) >> versus filesystem (s3). >> Did anyone implement an app on GAE with an image interface on S3? >> >> I am not even sure where to start.... >> >> Django has a >> http://django-storages.**readthedocs.org/en/latest/**index.html<http://django-storages.readthedocs.org/en/latest/index.html> >> but I use webapp2.... >> >> Thanks for any info, >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/GCtIWJ99pIcJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
