I am asking this here rather than SO because I am not sure it
qualifies as a well-formed question.

For a site I am putting up, I am going with quite a few dynamic div
elements in the main page (index.html). Small informative site, so
each div corresponds to a chunk of info. Rather than code a new page
for each chunk, it seems cleaner to me to use style=display/none for
different divs that all load at the same time.

Problem is that I do want some logging to support analyzing how folks
move through the site. The approach I have settled on is to create a
unique visitor ID, and ping my GAE handler with a XMLHttpRequest with
its payload = visitorID:buttonID (UTC time is part of visitorID).

The handler does nothing more than pass the call's payload to a pull
task queue (avgs < 40ms). An "every few minutes" cron executes pull
task queue which serializes 5,000 payloads into a TextProperty which
it puts as a log entity. Each cron will process up to 10 puts, or
50,000 payloads. I later download these recs to MySQL for in-depth
analysis at my leisure.

This has, I am pretty sure, problems if the site gets any real volume.
Honestly, I do not think that will every be an issue, but who knows.
Would appreciate input as to alternate approaches. HTML web page
implementations + GAE is clearly not an arrow in my quiver.

thanks,
stevep

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