Evan Prodromou wrote:

   1. Stats collection would happen at Web runtime. For each Web hit,
      we'd randomly fire off one data item to the stats server. We'd
      try to time it to give one full stats update per week.

I think I didn't explain this very well. What I meant was: at Web time, we'd roll the dice to see if it was time to update the stats. If it is, we do /one/ extra query and /one/ extra HTTP call. We could do this at a fixed probability (0.1%, say) or be a little smarter about it.

For identi.ca, say, we do 500K page hits per day, so if we want to post about 20 stats per week, we'd do:

   20 stats/week / (7days/week x 500K hits/day) = (20 stats/week) /
   (3.5M hits/week) ~= 1 stat/100K hits

...which really isn't going to be a big problem for users.

-Evan




_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to