[google-appengine] Re: 1000 file limit

2008-10-10 Thread Barry Hunter
On Fri, Oct 10, 2008 at 9:24 PM, Venkatesh Rangarajan <[EMAIL PROTECTED]> wrote: > Well, > > If you do that, then you have to Open media. to public. You have > to give read access to public. > > its a choice one can make..that basically makes all of your files structure > public and anybody can do

[google-appengine] Re: 1000 file limit

2008-10-10 Thread Venkatesh Rangarajan
Hmm..thats a good Point.. i was not aware of that ( query string based authentication with expiration time.). Sounds like that would be a better solution, especially with 1M limit On Fri, Oct 10, 2008 at 1:33 PM, yejun <[EMAIL PROTECTED]> wrote: > > S3 accepts query string based authentication w

[google-appengine] Re: 1000 file limit

2008-10-10 Thread yejun
S3 accepts query string based authentication with expiration time. Proxy through GAE will limit file size to 1M and triple the network usage. On Oct 10, 4:24 pm, "Venkatesh Rangarajan" <[EMAIL PROTECTED]> wrote: > Well, > > If you do that, then you have to Open media. to public. You have > to giv

[google-appengine] Re: 1000 file limit

2008-10-10 Thread Venkatesh Rangarajan
Well, If you do that, then you have to Open media. to public. You have to give read access to public. its a choice one can make..that basically makes all of your files structure public and anybody can download them. All of them at one go. By you using URL fetch, appengine is the gatekeeper and y

[google-appengine] Re: 1000 file limit

2008-10-10 Thread Davide Rognoni
Could you make 8 updates? 1) put 1000 file and run: appcfg.py update yourapp 2) put 1000 file and run: appcfg.py update yourapp ... 8) On Oct 10, 4:36 am, phtq <[EMAIL PROTECTED]> wrote: > We have an application we want to put online but it contains about > 8,000 files (these are mp3, gif, swf

[google-appengine] Re: 1000 file limit

2008-10-10 Thread yejun
Why not serve file from S3 directly? On Oct 10, 1:38 pm, "Venkatesh Rangarajan" <[EMAIL PROTECTED]> wrote: > Phtq, > > Its better if you host your static files in Amazon S3. > > You can create a new subdomain...say media..com on S3 > > And when in appengine, you reference that file, all you have

[google-appengine] Re: 1000 file limit

2008-10-10 Thread Venkatesh Rangarajan
Phtq, Its better if you host your static files in Amazon S3. You can create a new subdomain...say media..com on S3 And when in appengine, you reference that file, all you have to do a is a urlfetch Sample : urlfetch.fetch('http://media..com/mp3/' + ) you can use amazon S3 organizer to upload f

[google-appengine] Re: 1000 file limit

2008-10-10 Thread Barry Hunter
Couple of options: Host the 'static' files elsewhere (eg Amazon S3 - esp as it will soon have a CDN) Store the files in the datastore, and serve them dynamically via a script. (be careful to set good caching headers to avoid wasting resources) Store the files in zip files (beware a 1Mb limit) a