maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [task #10050] Improve Estimated Rendering time


From: David MENTRE
Subject: Re: [Maposmatic-dev] [task #10050] Improve Estimated Rendering time
Date: Wed, 6 Jan 2010 16:56:08 +0100

Hello Jeroen,

2010/1/6 Jeroen van Rijn <address@hidden>:
> Have the daemon time itself and increment a
> total-rendering-time-in-minutes variable as well as
> total-jobs-rendered stored in the database (or a simple .py include
> referenced by the Django frontend). The average time per job will then
> automatically converge. Of course I can see the benefit of having a
> moving average with a 10-job window as you proposed, it would converge
> more quickly if the hardware or software is updated and jobs start to
> run much quicker/slower than before. It could also just store those 10
> jobs, their length, and an additional precomputed average so the
> frontend doesn't need to recalculate this.

I still like the idea of a sliding window of latest rendered jobs but
the idea of computing this by the daemon (so at a very slow pace after
each job rendering) and simply reading it from the front-end is a good
one.

Regards,
d.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]