<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Amazon S3 with Gallery2</title>
	<atom:link href="http://stephenskory.com/s3-with-gallery2/feed" rel="self" type="application/rss+xml" />
	<link>http://stephenskory.com</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jan 2010 17:18:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-11469</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Thu, 28 Jan 2010 17:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-11469</guid>
		<description>Seamus,

I have not had a chance to play with G3, so I don&#039;t know how well this method would work with it. Of course it would have to be modified, but I don&#039;t know in what way. It is also possible that G3 changed things in such a way that a S3 plugin would be easier to write.

I&#039;m sorry I can&#039;t be more helpful!</description>
		<content:encoded><![CDATA[<p>Seamus,</p>
<p>I have not had a chance to play with G3, so I don&#8217;t know how well this method would work with it. Of course it would have to be modified, but I don&#8217;t know in what way. It is also possible that G3 changed things in such a way that a S3 plugin would be easier to write.</p>
<p>I&#8217;m sorry I can&#8217;t be more helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seamus Ryan</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-11466</link>
		<dc:creator>Seamus Ryan</dc:creator>
		<pubDate>Thu, 28 Jan 2010 15:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-11466</guid>
		<description>Stephen,

I was wondering if you&#039;ve had a chance to try this solution with the Gallery3 beta.

I&#039;ve been looking for a way to host my gallery2 files on S3 for a long time but I am also keen to up upgrade to Gallery3 especially as it appears to be reaching a Beta4 or RC1 stage.

Is your S3 solution compatible with Gallery3?

Thanks.</description>
		<content:encoded><![CDATA[<p>Stephen,</p>
<p>I was wondering if you&#8217;ve had a chance to try this solution with the Gallery3 beta.</p>
<p>I&#8217;ve been looking for a way to host my gallery2 files on S3 for a long time but I am also keen to up upgrade to Gallery3 especially as it appears to be reaching a Beta4 or RC1 stage.</p>
<p>Is your S3 solution compatible with Gallery3?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Optimization of Gallery2 - A photo album &#171; Make Money from Blogs</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-10318</link>
		<dc:creator>Optimization of Gallery2 - A photo album &#171; Make Money from Blogs</dc:creator>
		<pubDate>Sat, 14 Nov 2009 10:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-10318</guid>
		<description>[...] Using Gallery2 with Amazon&#8217;s S3 service (link) [...]</description>
		<content:encoded><![CDATA[<p>[...] Using Gallery2 with Amazon&#8217;s S3 service (link) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Needs a New Project (Part 1) &#124; Josh Owen</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-9376</link>
		<dc:creator>Josh Needs a New Project (Part 1) &#124; Josh Owen</dc:creator>
		<pubDate>Wed, 02 Sep 2009 23:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-9376</guid>
		<description>[...] using Amazon AWS (EC2, Elastic MapReduce, S3), I already use S3 for the blogs file hosting (Using s3fs and a perl script to redirect some queries to it), and really like the [...]</description>
		<content:encoded><![CDATA[<p>[...] using Amazon AWS (EC2, Elastic MapReduce, S3), I already use S3 for the blogs file hosting (Using s3fs and a perl script to redirect some queries to it), and really like the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-8659</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Sat, 25 Jul 2009 13:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-8659</guid>
		<description>Werner,

it seems to me that your solution works only when the original webserver has enough disk space for all your media files. When that this the case, and one is willing to keep the S3/Cloudfront copies up to date manually (or perhaps with a rsync script), your method will work.

However, if the situation is like mine, where the webserver doesn&#039;t have enough disk space for all your files, I don&#039;t think it will work.

That being said, I very much appreciate the link and the comment. Thanks!</description>
		<content:encoded><![CDATA[<p>Werner,</p>
<p>it seems to me that your solution works only when the original webserver has enough disk space for all your media files. When that this the case, and one is willing to keep the S3/Cloudfront copies up to date manually (or perhaps with a rsync script), your method will work.</p>
<p>However, if the situation is like mine, where the webserver doesn&#8217;t have enough disk space for all your files, I don&#8217;t think it will work.</p>
<p>That being said, I very much appreciate the link and the comment. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Werner</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-8645</link>
		<dc:creator>Werner</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-8645</guid>
		<description>This is a real interesting project. I was looking for a lightweight solution without database accesses and an easy setup. I tried around and found a solution to put my images on S3 and on Cloudfront.

The modifications to make on the web server are minimal:
- only modify 2 lines in  Gallery2&#039;s   .htaccess

But there are some drawbacks and it&#039;s only good for gallery which are not updated by several people.


Have a look here:

http://www.flughafen-kurier.ch/blog/2009/07/24/how-to-use-s3-and-cloudfront-for-gallery2/

Comments and improvements are welcome.</description>
		<content:encoded><![CDATA[<p>This is a real interesting project. I was looking for a lightweight solution without database accesses and an easy setup. I tried around and found a solution to put my images on S3 and on Cloudfront.</p>
<p>The modifications to make on the web server are minimal:<br />
- only modify 2 lines in  Gallery2&#8217;s   .htaccess</p>
<p>But there are some drawbacks and it&#8217;s only good for gallery which are not updated by several people.</p>
<p>Have a look here:</p>
<p><a href="http://www.flughafen-kurier.ch/blog/2009/07/24/how-to-use-s3-and-cloudfront-for-gallery2/" rel="nofollow">http://www.flughafen-kurier.ch/blog/2009/07/24/how-to-use-s3-and-cloudfront-for-gallery2/</a></p>
<p>Comments and improvements are welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to use S3 and Cloudfront for Gallery2</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-8644</link>
		<dc:creator>How to use S3 and Cloudfront for Gallery2</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-8644</guid>
		<description>[...] another solution from Stephen Skory to use AWS S3 for Gallery2. His version seems to be sophisticated but there are quite some steps to [...]</description>
		<content:encoded><![CDATA[<p>[...] another solution from Stephen Skory to use AWS S3 for Gallery2. His version seems to be sophisticated but there are quite some steps to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-6771</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Thu, 28 May 2009 20:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-6771</guid>
		<description>Bill,

In Gallery2, the thumbnails are functionally treated the same as all the other re-sized copies of the image. So yes, they are on S3.

If you&#039;re moving a whole directory to S3, and the directory structure is more straightforward than the image referencing scheme for Gallery2, you may not even need a cgi script to redirect requests. You may be able to use only .htaccess URL rewrites.

I am not familiar with MediaWIki, so I don&#039;t know how much guidance I can give there. I wish you luck!</description>
		<content:encoded><![CDATA[<p>Bill,</p>
<p>In Gallery2, the thumbnails are functionally treated the same as all the other re-sized copies of the image. So yes, they are on S3.</p>
<p>If you&#8217;re moving a whole directory to S3, and the directory structure is more straightforward than the image referencing scheme for Gallery2, you may not even need a cgi script to redirect requests. You may be able to use only .htaccess URL rewrites.</p>
<p>I am not familiar with MediaWIki, so I don&#8217;t know how much guidance I can give there. I wish you luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Flanagan</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-6764</link>
		<dc:creator>Bill Flanagan</dc:creator>
		<pubDate>Thu, 28 May 2009 15:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-6764</guid>
		<description>Steve, 

I think your work is great. We do use access control for images; this is the right way for us to use S3. 

I&#039;m rewriting your solution it to work with MediaWiki (MW). I&#039;m also looking to see what other people already may have done. Your code and instructions are great.

Like Gallery2, MW creates thumbnails for every image. We have this configured to be done when the image is originally stored. People can specify the size of the thumbnails in their image tags. A thumbnail in that sense is just a page-specific scaling of the image and can get pretty large. Thumbnails are rebuilt if none is available for a page when it&#039;s rendered. 

By using your model, are Gallery&#039;s thumbnails also being stored on s3? If not, did you mess around with them to see if it made a difference? 

I&#039;m not so cheap that I&#039;m trying to move the diskspace for the thumbnails to s3 because of cost. I&#039;m more interested in getting as much storage out of the local box so that I can also migrate my php apps  to ec2. 

I&#039;m experimenting with this on a local set of boxes today to see how it works. In MW, the storage of thumbnails is done in the same base directory as the fat image files. I want to see if I can just remote the whole directory. We have a few dozen separate MW instances to relocate. It will be a lot cleaner to have the same model with s3 in the mix. 

Thanks again for your work and thanks, in advance, for any comments.</description>
		<content:encoded><![CDATA[<p>Steve, </p>
<p>I think your work is great. We do use access control for images; this is the right way for us to use S3. </p>
<p>I&#8217;m rewriting your solution it to work with MediaWiki (MW). I&#8217;m also looking to see what other people already may have done. Your code and instructions are great.</p>
<p>Like Gallery2, MW creates thumbnails for every image. We have this configured to be done when the image is originally stored. People can specify the size of the thumbnails in their image tags. A thumbnail in that sense is just a page-specific scaling of the image and can get pretty large. Thumbnails are rebuilt if none is available for a page when it&#8217;s rendered. </p>
<p>By using your model, are Gallery&#8217;s thumbnails also being stored on s3? If not, did you mess around with them to see if it made a difference? </p>
<p>I&#8217;m not so cheap that I&#8217;m trying to move the diskspace for the thumbnails to s3 because of cost. I&#8217;m more interested in getting as much storage out of the local box so that I can also migrate my php apps  to ec2. </p>
<p>I&#8217;m experimenting with this on a local set of boxes today to see how it works. In MW, the storage of thumbnails is done in the same base directory as the fat image files. I want to see if I can just remote the whole directory. We have a few dozen separate MW instances to relocate. It will be a lot cleaner to have the same model with s3 in the mix. </p>
<p>Thanks again for your work and thanks, in advance, for any comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Genia Bezman</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-5821</link>
		<dc:creator>Genia Bezman</dc:creator>
		<pubDate>Wed, 29 Apr 2009 09:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-5821</guid>
		<description>Hi.
Further testing shows this method works extremely well (and really really really fast).

The fact that images are sent through amazon&#039;s server (since your server just redirects the user to the temporary URL) makes things much faster. If your server is getting hammered, you won&#039;t be serving lengthy requests (images might be big, after all).

Currently my implementation is very hacking (ashamed to show it, strange variables everywhere and strange files lying around), but the concept seems to work really well.

I really wish I could make this into a gallery2 module, but it seems that one of the functions I&#039;d need to modify is not modifiable through the module system, which is a problem. (Doesn&#039;t seem Gallery.class can be changed in custom modules).

If anyone has ideas, please tell me.

Mike, if you are interested in what I&#039;m doing, feel free to contact me through email (genia4@gmail.com). I&#039;m also available ton google talk (same address). I can explain in more detail what I did (and provide code snippets).</description>
		<content:encoded><![CDATA[<p>Hi.<br />
Further testing shows this method works extremely well (and really really really fast).</p>
<p>The fact that images are sent through amazon&#8217;s server (since your server just redirects the user to the temporary URL) makes things much faster. If your server is getting hammered, you won&#8217;t be serving lengthy requests (images might be big, after all).</p>
<p>Currently my implementation is very hacking (ashamed to show it, strange variables everywhere and strange files lying around), but the concept seems to work really well.</p>
<p>I really wish I could make this into a gallery2 module, but it seems that one of the functions I&#8217;d need to modify is not modifiable through the module system, which is a problem. (Doesn&#8217;t seem Gallery.class can be changed in custom modules).</p>
<p>If anyone has ideas, please tell me.</p>
<p>Mike, if you are interested in what I&#8217;m doing, feel free to contact me through email (genia4@gmail.com). I&#8217;m also available ton google talk (same address). I can explain in more detail what I did (and provide code snippets).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Miller</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-5820</link>
		<dc:creator>Mike Miller</dc:creator>
		<pubDate>Wed, 29 Apr 2009 08:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-5820</guid>
		<description>Genia,

That sounds really interesting. Right now, I&#039;m using s3, but mounted via S3FS (my derivatives are local, but the full sizes are on s3), since I want the image firewall. If there was some way to access amazon directly while preserving some security, that would be great (my security needs are more along the lines of not leaking URLs through referer headers and less for actual &quot;security&quot;, so a temporary URL that expired after a few minutes would be plenty).

Looking forward...</description>
		<content:encoded><![CDATA[<p>Genia,</p>
<p>That sounds really interesting. Right now, I&#8217;m using s3, but mounted via S3FS (my derivatives are local, but the full sizes are on s3), since I want the image firewall. If there was some way to access amazon directly while preserving some security, that would be great (my security needs are more along the lines of not leaking URLs through referer headers and less for actual &#8220;security&#8221;, so a temporary URL that expired after a few minutes would be plenty).</p>
<p>Looking forward&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Genia Bezman</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-5819</link>
		<dc:creator>Genia Bezman</dc:creator>
		<pubDate>Wed, 29 Apr 2009 07:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-5819</guid>
		<description>Good news!
This method works (both with s3fs and with jungledisk). I&#039;m currently experimenting with creating time-limited URLs for accessing the files (which would make private items actually private). Amazon S3 supports this (don&#039;t remember what they call it, it&#039;s just a URL that expires after a set amount of time, signed using a digest generated based on your amazon public and private keys) and I found a PHP class that gives a nice interface for creating such URLs (http://undesigned.org.za/2007/10/22/amazon-s3-php-class)

As soon as I have something completely working, I&#039;ll publish the code and give a URL to a demo site.

This method should lighten the load on the server considerably, since the rewrite.py file and all the associated hackery needs not be called anymore - requests go straight to amazon&#039;s servers.

If anyone else is interested in this solution, please tell me :)</description>
		<content:encoded><![CDATA[<p>Good news!<br />
This method works (both with s3fs and with jungledisk). I&#8217;m currently experimenting with creating time-limited URLs for accessing the files (which would make private items actually private). Amazon S3 supports this (don&#8217;t remember what they call it, it&#8217;s just a URL that expires after a set amount of time, signed using a digest generated based on your amazon public and private keys) and I found a PHP class that gives a nice interface for creating such URLs (<a href="http://undesigned.org.za/2007/10/22/amazon-s3-php-class" rel="nofollow">http://undesigned.org.za/2007/10/22/amazon-s3-php-class</a>)</p>
<p>As soon as I have something completely working, I&#8217;ll publish the code and give a URL to a demo site.</p>
<p>This method should lighten the load on the server considerably, since the rewrite.py file and all the associated hackery needs not be called anymore &#8211; requests go straight to amazon&#8217;s servers.</p>
<p>If anyone else is interested in this solution, please tell me <img src='http://stephenskory.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-5811</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Sat, 25 Apr 2009 14:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-5811</guid>
		<description>HI Genia,

I&#039;m open to any ideas to make this thing better, of course. Good luck!</description>
		<content:encoded><![CDATA[<p>HI Genia,</p>
<p>I&#8217;m open to any ideas to make this thing better, of course. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Genia Bezman</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-5810</link>
		<dc:creator>Genia Bezman</dc:creator>
		<pubDate>Sat, 25 Apr 2009 13:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-5810</guid>
		<description>Hi.
I&#039;ve checked out gallery&#039;s source code and saw that images are outputted to the browser in only two locations.
One is gallery2/modules/core/DownloadItem.inc in the function sendFile (which is the usual template used to output images)
The other is gallery2/modules/core/classes/Gallery.class in the function fastDownload.
The idea I had is to replace the image-outputting code (which sends HTTP headers, reads file from disk while writing it to the browser) with a simple Location header to the amazon URL of the image. this way you get all the checks that Gallery2 does for you, but the end result is the image being transferred from S3.
This is of course only theory for now, but I&#039;ll try it later today and see if it works out.
If (that&#039;s a huge if) it indeed does work, then there is no longer any need to send HEAD requests to amazon to check if the file is in place (or to query the database for the matter), since by the time you read the DownloadItem page, you&#039;re already outputting something from disk. So get rid of the disk, tell the browser to get it elsewhere :)
Should work for everything, including derivative files (they a created before DownloadItem&#039;s eendFile method).

Thanks for the great post (and the nicely drawn diagram on the other detailed page)!</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I&#8217;ve checked out gallery&#8217;s source code and saw that images are outputted to the browser in only two locations.<br />
One is gallery2/modules/core/DownloadItem.inc in the function sendFile (which is the usual template used to output images)<br />
The other is gallery2/modules/core/classes/Gallery.class in the function fastDownload.<br />
The idea I had is to replace the image-outputting code (which sends HTTP headers, reads file from disk while writing it to the browser) with a simple Location header to the amazon URL of the image. this way you get all the checks that Gallery2 does for you, but the end result is the image being transferred from S3.<br />
This is of course only theory for now, but I&#8217;ll try it later today and see if it works out.<br />
If (that&#8217;s a huge if) it indeed does work, then there is no longer any need to send HEAD requests to amazon to check if the file is in place (or to query the database for the matter), since by the time you read the DownloadItem page, you&#8217;re already outputting something from disk. So get rid of the disk, tell the browser to get it elsewhere <img src='http://stephenskory.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Should work for everything, including derivative files (they a created before DownloadItem&#8217;s eendFile method).</p>
<p>Thanks for the great post (and the nicely drawn diagram on the other detailed page)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4716</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Mon, 15 Dec 2008 15:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4716</guid>
		<description>I have no knowledge of whether someone has or hasn&#039;t. It does seem perfectly possible, there is a &lt;a href=&quot;http://code.google.com/p/cloudfuse/&quot; rel=&quot;nofollow&quot;&gt;Mosso FUSE client&lt;/a&gt;, which would do the same as s3fs here. You just need a &lt;a href=&quot;http://fuse.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;FUSE&lt;/a&gt; implementation for the other storage service.</description>
		<content:encoded><![CDATA[<p>I have no knowledge of whether someone has or hasn&#8217;t. It does seem perfectly possible, there is a <a href="http://code.google.com/p/cloudfuse/" rel="nofollow">Mosso FUSE client</a>, which would do the same as s3fs here. You just need a <a href="http://fuse.sourceforge.net/" rel="nofollow">FUSE</a> implementation for the other storage service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fajju</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4715</link>
		<dc:creator>Fajju</dc:creator>
		<pubDate>Mon, 15 Dec 2008 11:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4715</guid>
		<description>Has anyone tried this with other network storages? Mosso?</description>
		<content:encoded><![CDATA[<p>Has anyone tried this with other network storages? Mosso?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4703</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Fri, 12 Dec 2008 04:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4703</guid>
		<description>That is indeed the right script. Thanks for the link.

I could put a copy of the script on my website, but I was trying to keep credit where it&#039;s due.</description>
		<content:encoded><![CDATA[<p>That is indeed the right script. Thanks for the link.</p>
<p>I could put a copy of the script on my website, but I was trying to keep credit where it&#8217;s due.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4702</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 12 Dec 2008 04:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4702</guid>
		<description>The jorendorff website, home of the path.py script, has been offline for the last couple of days.

I think this link is to the same script, at a different location.

http://pypi.python.org/pypi/path.py/

If I&#039;m wrong, of course, please delete this post.</description>
		<content:encoded><![CDATA[<p>The jorendorff website, home of the path.py script, has been offline for the last couple of days.</p>
<p>I think this link is to the same script, at a different location.</p>
<p><a href="http://pypi.python.org/pypi/path.py/" rel="nofollow">http://pypi.python.org/pypi/path.py/</a></p>
<p>If I&#8217;m wrong, of course, please delete this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Worklog &#187; Blog Archive &#187; Links for 15th September&#8230;</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4126</link>
		<dc:creator>My Worklog &#187; Blog Archive &#187; Links for 15th September&#8230;</dc:creator>
		<pubDate>Mon, 15 Sep 2008 05:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4126</guid>
		<description>[...] Using Amazon S3 with Gallery2. [...]</description>
		<content:encoded><![CDATA[<p>[...] Using Amazon S3 with Gallery2. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4016</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Tue, 02 Sep 2008 01:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4016</guid>
		<description>Mike,

Cool! I&#039;m happy that it&#039;s working for you. If you have any suggestions on how I can make any of the steps clearer, let me know.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Cool! I&#8217;m happy that it&#8217;s working for you. If you have any suggestions on how I can make any of the steps clearer, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4008</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 01 Sep 2008 18:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4008</guid>
		<description>Ok, I just tried your full solution on my home Linux machine, and it worked great!

I think, however, that I&#039;m going to stick with the mounted FS idea. Even though the permissions shouldn&#039;t offer a core.DownloadItem to an unauthorized user, anyone who has one will be able to download it or email it to someone without authorization (in my context, I&#039;m more worried about an accidental release of a private image, and less of a deliberate attempt by a user to try and view images when not logged in). Perhaps running a minimal subset of gallery on Amazon&#039;s EC2 can help that...

In any event, nice!</description>
		<content:encoded><![CDATA[<p>Ok, I just tried your full solution on my home Linux machine, and it worked great!</p>
<p>I think, however, that I&#8217;m going to stick with the mounted FS idea. Even though the permissions shouldn&#8217;t offer a core.DownloadItem to an unauthorized user, anyone who has one will be able to download it or email it to someone without authorization (in my context, I&#8217;m more worried about an accidental release of a private image, and less of a deliberate attempt by a user to try and view images when not logged in). Perhaps running a minimal subset of gallery on Amazon&#8217;s EC2 can help that&#8230;</p>
<p>In any event, nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-4003</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 01 Sep 2008 06:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-4003</guid>
		<description>That makes sense; I&#039;d assumed, however, that the S3-&gt;webhost download should be quite fast (I haven&#039;t yet moved to a VPS (planned for next month), and my shared host doesn&#039;t support FUSE, but most transfers between high capacity sites average at least 2 MBps (not Mbps)). I plan to try this with copying just the albums to S3; my derivatives use up relatively little space, and my goal is not to speed up distribution (although I don&#039;t want to slow it down) but to provide a cost-effective way to host all of my pictures.

Nice work!</description>
		<content:encoded><![CDATA[<p>That makes sense; I&#8217;d assumed, however, that the S3-&gt;webhost download should be quite fast (I haven&#8217;t yet moved to a VPS (planned for next month), and my shared host doesn&#8217;t support FUSE, but most transfers between high capacity sites average at least 2 MBps (not Mbps)). I plan to try this with copying just the albums to S3; my derivatives use up relatively little space, and my goal is not to speed up distribution (although I don&#8217;t want to slow it down) but to provide a cost-effective way to host all of my pictures.</p>
<p>Nice work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-3985</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Sun, 31 Aug 2008 04:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-3985</guid>
		<description>There&#039;s nothing wrong with keeping your data on S3 and using s3fs so that all your data goes through the server. However, I&#039;ve used gallery in this exact setup as part of testing an it&#039;s noticeably and frustratingly slower. The whole image has to be downloaded by the server before it can start relaying it to the web client (unless, of course, the image is cached already on the server). As you browse the gallery, pages will render in your web browser, but the images will appear several seconds later, the time depending on the size of the image. It&#039;s a big cut in the responsiveness of your gallery.

The idea is that Amazon S3 has a massive &#039;cloud&#039; setup with huge bandwidth, greater than any single server could ever have. As much of the data intensive parts of a page should come directly from S3, and bypass the bandwidth limited server.</description>
		<content:encoded><![CDATA[<p>There&#8217;s nothing wrong with keeping your data on S3 and using s3fs so that all your data goes through the server. However, I&#8217;ve used gallery in this exact setup as part of testing an it&#8217;s noticeably and frustratingly slower. The whole image has to be downloaded by the server before it can start relaying it to the web client (unless, of course, the image is cached already on the server). As you browse the gallery, pages will render in your web browser, but the images will appear several seconds later, the time depending on the size of the image. It&#8217;s a big cut in the responsiveness of your gallery.</p>
<p>The idea is that Amazon S3 has a massive &#8216;cloud&#8217; setup with huge bandwidth, greater than any single server could ever have. As much of the data intensive parts of a page should come directly from S3, and bypass the bandwidth limited server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-3984</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 31 Aug 2008 02:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-3984</guid>
		<description>Hi,

Am I missing something obvious here? Aside from the double bandwidth hit, why not just mount your g2data/albums on s3 (using the S3FS linked above), and be done with it in one step? What&#039;s the problem with that method?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Am I missing something obvious here? Aside from the double bandwidth hit, why not just mount your g2data/albums on s3 (using the S3FS linked above), and be done with it in one step? What&#8217;s the problem with that method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Skory</title>
		<link>http://stephenskory.com/s3-with-gallery2/comment-page-1#comment-3586</link>
		<dc:creator>Stephen Skory</dc:creator>
		<pubDate>Thu, 26 Jun 2008 04:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://stephenskory.com/?page_id=191#comment-3586</guid>
		<description>I don&#039;t see any problem with that right now. Since local space isn&#039;t an issue, it&#039;s a fine idea keeping a local copy. I&#039;d also consider putting cache/derivative on S3 as many requests come from that directory.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see any problem with that right now. Since local space isn&#8217;t an issue, it&#8217;s a fine idea keeping a local copy. I&#8217;d also consider putting cache/derivative on S3 as many requests come from that directory.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
