[Qgis-developer] Plugin repository latency
Alex Mandel
tech_dev at wildintellect.com
Mon Jun 6 08:12:05 PDT 2016
On 06/06/2016 08:05 AM, Alessandro Pasotti wrote:
> 2016-06-06 16:50 GMT+02:00 Matthias Kuhn <matthias at opengis.ch>:
>
>> Thanks a lot.
>>
>> Did someone look into gzip as well? This reduces the download size from 1M
>> to 100K, a noticeable performance improvement.
>>
>
> I think it is already configured.
>
>
Not necessarily if the web server is applying the the gzip the savings
is only in the transfer, after a delay on the server to compress. Also
note this may not be a good idea if we want to move to https due to a
known flaw in some web servers where gzip makes secret keys predictable.
When you made the cache, did you put the cached copy in RAM? Using
something like memcached here might make sense. The other easy fix when
available (might not be on this particular machine) is a to put the
cache on solid state disks.
I've also been thinking that at some point the plugins lookup and
downloads should be mirrored and load balanced for performance. Note
just the download aspect, I think running the website/upload out of one
place works fine. So just some sort of backend rsync cron could do.
Thanks,
Alex
More information about the Qgis-developer
mailing list