User:Babbage Linden/Django/Performance

From Second Life Wiki
Jump to navigation Jump to search

Oh, it's also plenty fast enough:

babbage@station-etch-4:~$ sudo ab -c 200 -n 10000 http://station-etch-3:8080/region/28993779-de2a-fb74-a5f9-438873fec0ba/ | grep "Requests per second"
Requests per second:    537.05 [#/sec] (mean)

babbage@station-etch-4:~$ sudo ab -c 200 -n 10000 http://station-etch-3:8080/region/997/1002/ | grep "Requests per second"
Requests per second:    601.90 [#/sec] (mean)

babbage@station-etch-4:~$ sudo ab -c 200 -n 10000 http://station-etch-3:8080/region/28993779-de2a-fb74-a5f9-438873fec0ba/neighbors/ | grep "Requests per second"
Requests per second:    346.86 [#/sec] (mean)

babbage@station-etch-4:~$ sudo ab -c 200 -n 10000 http://station-etch-3:8080/estate/42/ | grep "Requests per second"
Requests per second:    70.55 [#/sec] (mean)

babbage@station-etch-4:~$ sudo ab -c 200 -n 10000 -p postdata.xml https://station-etch-3:8081/region/28993779-de2a-fb74-a5f9-438873fec0ba/ | grep "Requests per second"
Requests per second:    154.85 [#/sec] (mean)

(These numbers would allow us to support 10x the current spaceserver load on 2 web servers (the minimum required for HA) without any caching)

(Tests run against mysql.mohini)