[etoys-notify] [JIRA] Created: (SQ-557) project "lag" and "load"

tracker at squeakland.org tracker at squeakland.org
Mon Nov 9 09:46:13 EST 2009


project "lag" and "load"
------------------------

         Key: SQ-557
         URL: http://tracker.immuexa.com/browse/SQ-557
     Project: squeakland
        Type: Feature
  Components: showcase  
    Reporter: timothy
     Fix For: etoys 4.1 and showcase - june 2010


Regularly calculate each project's:

lag ... measure of how long it's been waiting for votes (over time)

load ... measure of how much it's waiting now (instantaneous)


Change resendBallot to favor projects with the greatest lag, not just the fewest votes.

Also, store and calculate daily cumulative load averages, and show in a manner similiar to uptime (1, 5, 15 days).

... specifics ...

dw = days of waiting (float)
cw = currently waiting (boolean)

project lag = 
   1*dw-v1 + 0.9*dw-v2 + 0.8*dw-v3 + 0.7*dw-v4 + 0.6*dw-v5 + 
   0.5*dw-v6 + 0.4*dw-v7 + 0.3*dw-v8 + 0.2*dw-v9 + 0.1*dw-v10

project load = 
    1*cw-v1 + 0.9*cw-v2 + 0.8*cw-v3 + 0.7*cw-v4 + 0.6*cw-v5 + 
    0.5*cw-v6 + 0.4*cw-v7 + 0.3*cw-v8 + 0.2*cw-v9 + 0.1*cw-v10
   
showcase load = sum of all project loads / number of waiting projects

calc showcase load every hour, then use these formulas:
 
 1 day ... load(t) = load(t -1)*exp(-1/24) + n*(1-exp(-1/24))
 5 day... load(t) = load(t -1)*exp(-1/120) + n*(1-exp(-1/120))
15 day ... load(t) = load(t -1)*exp(-1/360) + n*(1-exp(-1/360))



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://tracker.immuexa.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the etoys-notify mailing list