Yes, that was kind of my idea, though I'm lazily just culling the
expired entities when the next request is made for any of the
entities.  I didn't think of the memcache though, I'll have to look
into that.  Thanks.

On Aug 26, 5:17 pm, "Ikai L (Google)" <[email protected]> wrote:
> The best way would probably to generate a datastore entity with an
> expiration date/time, a random key and create a URL containing that random
> key that forwards to the final blob URL. You'd check for expiration on a
> fetch and sweep expired entities with a cron job. Alternatively you can
> store the random key into memcache and just let the expiration mechanism
> handle it, the only drawback here is the potential for volatility.
>
> On Wed, Aug 25, 2010 at 2:39 PM, John McLaughlin <
>
>
>
>
>
> [email protected]> wrote:
> > This is something simple that I have to believe someone has already
> > done and standardized.  My main objective is to be able to create
> > virtual paths to blobstore entities allow clients to retrieve items
> > for only a set period of time.  For example the path
>
> > ...appspot.com/blah/timedBlob/
> > ag5tYXNzLWFuaW1hdGlvbnIPCxIJVHJhbnNjb2RlGDcM/my_great_video.mp4
>
> > ...will be served for only 5 minutes and is inaccessible after that.
>
> > I've already done this for some specific objects, but I need to
> > generalize it, so I'm wondering if there is a standard class or "best
> > practices" way to do this already.  My searching forums and docs
> > hasn't turned up anything relevant.  If nobody has this already I'd be
> > happy to generalize what I have and post it.
>
> > Thanks,
> > John
>
> > --
> > 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]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

-- 
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