Hi,

This is more of a design question, so I thought this would be more
suited here instead of stackoverflow.

I have a bunch of files in google storage. I want to track the access
to those files. So one approach
I came up with is, mark all files as private, gave GAE read only
access. and the url pattern to access
them is /{customerId}/filename

this hits GAE, which check to make sure the customerId is valid, and
then request the file from google sotrage,
and return it. The part I'm not sure how to handle is to output a
daily stats. I want to be able to produce
a daily summary of customer X access Y number of files yesterday.

I've only been able to come up with 3 approaches.

1: keep a counter in datastore, which is yucky, so implement a sharded
counter to track this and update
the datastore.

2: use app_cfg to download daily raw http request log, and parse it myself

3: setup a server, so each time a request comes in, an async UrlFetch
GET request fires off to
a remote server say on ec2, then I'll have raw http request log to process daily

None of these seem like great ideas. Any suggestions on other approches?

-- 
Omnem crede diem tibi diluxisse supremum.

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