On 31 August 2012 13:36, Ariel T. Glenn <[email protected]> wrote:

> 1.  We could generate and keep only certain sizes, tossing the rest.
> 2.  We could keep *nothing*, scaling all media as required.
> 3.  We could have a cron job that was clever about tossing thumbs every
> day (not sure how easy it would be to be clever).
> 4.  ??
> In any of these cases, the squids will have copies of recently requested
> scaled media, so we won't be scaling the same file to the same size over
> and over in a short time frame.


To be obvious for #3:

* Do we know access times for these files? Can stuff be purged that
hasn't been accessed in x time? What values of x would be good?
* More generally: what's the tradeofff between generating a thumbnail
afresh and keeping an old copy around until it's needed? Just how
CPU-stressed is the thumbnailer?


- d.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to