Why reinvent the wheel? http://en.wikipedia.org/wiki/Content_delivery_network
There are zillions of offerings, nearly all of which will be cheaper, faster, and more localized to the user. You won't need any funky logic for issuing redirects, and your users won't suffer from extra latency of two requests per download. Jeff On Mon, May 24, 2010 at 11:57 PM, Flips <[email protected]> wrote: > Hi Pieter, > > app engine's traffic is way too expensive for me, thats why I want to > use virtual servers for this. > > My problem is how I could *cheaply* analyse the requests to decide > which server the client should be redirected. > > Best Regards > Philip > > On 25 Mai, 08:52, Pieter Coucke <[email protected]> wrote: >> Have you thought of using the appengine blobstore for downloads? It >> supports files up to 2 GB and is scalable >> already.http://code.google.com/intl/nl-BE/appengine/docs/java/blobstore/overv... >> >> You could keep the servers listed in the datastore or memcache and ping them >> with a cron to see if they're still alive. >> When a new server comes up, you can do a http call to a service (which runs >> on appengine) which adds the server to the list of available servers. >> >> I think the main problem you will have here is that appengine will limit >> your amount of simultaneous connections if your response takes longer than >> one second. This will not be a problem if you simply redirect your users >> though. >> >> -- >> Pieter Coucke >> Onthoo BVBAhttp://www.onthoo.comhttp://www.koopjeszoeker.be >> >> -- >> 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. > > -- 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.
