[Qgis-developer] Integration of QGIS mapserver to svn?

Tim Sutton lists at linfiniti.com
Mon Aug 23 17:32:18 EDT 2010


Hi


>
> I've added one missing thing as a comment, and Andreas listed all others...
> Thanks for the article.
>
> Regards
> Pirmin

One other thing - did you do any load testing with it? I did a little
test using the apache benchmarking tool (sudo apt-get install
apache2-utils):

This one does 100 requests with at most 10 concurrent requests.

timlinux at timvaio:/usr/lib/cgi-bin/world$ ab -n 100 -c 10
"http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-36.215710,6.817432,-9.700450,58.551008&CRS=EPSG:4326&WIDTH=1077&HEIGHT=552&LAYERS=Continent,Country,Cities&STYLES=,,&FORMAT=image/jpeg&DPI=96"
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient).....done


Server Software:        Apache/2.2.14
Server Hostname:        localhost
Server Port:            80

Document Path:
/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-36.215710,6.817432,-9.700450,58.551008&CRS=EPSG:4326&WIDTH=1077&HEIGHT=552&LAYERS=Continent,Country,Cities&STYLES=,,&FORMAT=image/jpeg&DPI=96
Document Length:        49558 bytes

Concurrency Level:      10
Time taken for tests:   39.587 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      4971400 bytes
HTML transferred:       4955800 bytes
Requests per second:    2.53 [#/sec] (mean)
Time per request:       3958.659 [ms] (mean)
Time per request:       395.866 [ms] (mean, across all concurrent requests)
Transfer rate:          122.64 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   2.3      0      13
Processing:  3411 3930 155.7   3946    4221
Waiting:     3382 3824 140.6   3836    4110
Total:       3411 3931 155.7   3946    4221

Percentage of the requests served within a certain time (ms)
  50%   3946
  66%   3991
  75%   4016
  80%   4050
  90%   4106
  95%   4150
  98%   4212
  99%   4221
 100%   4221 (longest request)


It seems to cope ok with a number of concurrent users. A bit of
tilecache in front of it may speed things up for timing sensitive
folks (also not running it on my laptop might make it faster :-) )

Regards

Tim


-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list