in reply to Re^2: File caching for external storage
in thread File caching for external storage
Squid is interesting I think, but I don't just want to proxy connections, I will need to do some programming.
One of the problems I have is that the PERL modules for S3 don't stream data, which means that if my application is sending a 2GB file to S3 then that 2GB file gets loaded into memory before it gets sent, that's bad. So I will store files over 500 MB locally and keep that info in a table.
But while I'm doing tables I might as well cache the most used files locally on my server instead of sending users to pick them up from S3 and incurring the bandwidth charge, say cache up to 100GB (the size of the local drive) before rotating out of the cache, and then how to determine which files should and shouldn't be in the cache.
This all seems to me to be something that somebody has to have done before, maybe not with S3, but just storing content and caching it. Maybe not...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: File caching for external storage
by tuxz0r (Pilgrim) on Nov 28, 2007 at 17:02 UTC | |
by tcf03 (Deacon) on Nov 28, 2007 at 18:01 UTC | |
by tosh (Scribe) on Nov 29, 2007 at 14:21 UTC |