Le 10/04/2014 03:08, Brian Wolff a écrit :
Of course this thread isnt supposed to be about if its a good idea to increase the size, so far everyone is agreement on that front. The issue is whether doing so would kill swift due to a large increase in object count (or some other performance concern(?)) as has appearantly been suggested.
I have no idea how we can evaluate the impact on our infrastructure if we change the available thumbnail size. I think some wikis already have a template to raise the size for all images, so they would use something like: {{image|CuteKitten.jpg}} and the template raise the thumbsize to say 360px.
The potential impacts are:
- the disk usage exploding (in Swift) - more bandwidth being consumed - upload caches being able to cache less, which would mean more hits to the backend
I am not sure how we handled thumbs for retina display. I am assuming we always push a small thumbnail (like 220px) and whenever we detect a high density display we would fetch a larger thumb (lets say 440px). The same can probably be done on desktop depending on the screen resolution.
We could also let the client scale thumbs for us, albeit with some loss in quality.