Hi

On Mar 12, 10:26 pm, Riley <[email protected]> wrote:
> I could do that, but these are static files and retrieving them from
> the datastore will add unnecessary overhead, wouldn't it?

Static files are quicker however if your files are accessed a lot then
caching the result
of the fetch from the datastore in memcache will speed the process up.

The big advantage is you can store millions of files in the datastore
and
only need to update single records when you need to change/add a file.

 I'm under
> the impression that since these are files that my server code will
> never need, GAE will physically distribute them in a way that takes
> advantage of that.

Thats a big assumption, I see no evidence of such.  You will find the
static files will be stored in a something like the datastore
under the hood anyway (you just don't get to see it that way, this
access looks like a file system access anyway).

If you want a distributed CDN then you would be better sticking those
files into S3, and have amazon distribute them nearer the consumer.

T
>
> On Mar 10, 6:51 pm, Barry Hunter <[email protected]> wrote:
>
>
>
> > Why dont youusethe datastore to save (and then serve with a simple
> > script) Library L?
>
> > Then you dont have to worry about file limits.
>
> > On 10 March 2010 22:26, Riley <[email protected]> wrote:
>
> > > Thanks for the response, but I'm not sure I've been clear.  I want to
> > > create App X on GAE, but I am hitting the 3k file limit when Iuse
> > > Library L.  I think to myself, "hmm, I could create App Y, whose sole
> > > purpose is to distribute the static files needed in L.  In fact, many
> > > people coulduseY to serve L to their own apps.  If it stays under 5M
> > > requests a month (free from Google) then great.  If not, I can charge
> > > a fee to pay the Google fees.  In that way, Y is its own app and not
> > > only part of X."
>
> > > It's clear that I could safely write a file-distribution app within
> > > thetermsofuse.  I just want to be sure that if I write a file-
> > > distribution app that only distributes files to be used in other GAE
> > > apps I won't cross some sort of "specificity line" into a violation of
> > > the TOS.
>
> > > Thanks!
>
> > > On Mar 10, 1:36 pm, "Ikai L (Google)" <[email protected]> wrote:
> > >> If you're not using the application for this purpose, you should be
> > >> fine. It just sounds like you're writing an application that provides
> > >> an API for uploading files for distribution. I don't see any problem
> > >> with this.
>
> > >> On Wed, Mar 10, 2010 at 9:59 AM, Riley <[email protected]> wrote:
> > >> > I would like to create an app whose primary function is to serve
> > >> > static files to other services on the web.  For example, someone might
> > >> >usemy app to reduce the load on their server, or to decrease the
> > >> > number of files they have to manage in their app.  Someone using GAE
> > >> > mightusemy app to avoid using up their 3000 file quota, etc.
>
> > >> > Section 4.4 of the GAEtermsofusereads:
>
> > >> > ------------------------------------------------------------
> > >> > 4.4. You may not develop multiple Applications to simulate or act as a
> > >> > single Application or otherwise access the Service in a manner
> > >> > intended to avoid incurring fees.
> > >> > ------------------------------------------------------------
>
> > >> > Does this rule out my idea?
>
> > >> > If this is not the proper forum for a legal question like this, who
> > >> > can I ask for a definitive answer?
>
> > >> > Thanks for any help!
>
> > >> > --
> > >> > 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 
> > >> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> > >> --
> > >> Ikai Lan
> > >> Developer Programs Engineer, Google App 
> > >> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine
>
> > > --
> > > 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 
> > > athttp://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.

Reply via email to