You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Saint Germain <sa...@gmail.com> on 2014/07/23 16:24:40 UTC
About Apache Bloodhound perfomance
Hello,
I have tested Apache Bloodhound installation on a quite good setup
(VPS with 3 vCores Intel Xeon CPU E5-2650, 3GB RAM, SSD) and with a
combination of Nginx + uWSGI + PostgreSQL.
Using wrk (https://github.com/wg/wrk) as load testing tool, I managed
to serve a static HTML page at around 11000 requests/second (to have
an idea of Nginx performance on this hardware).
Serving a simple template with Django, I managed around 200 requests/second.
However serving the Apache Bloodhound startup page, I only manage
around 12 requests/second:
> ./wrk -t12 -c12 -d30s http://bloodhound.example.com
> Running 30s test @ http://bloodhound.example.com
> 12 threads and 12 connections
> Thread Stats Avg Stdev Max +/- Stdev
> Latency 1.07s 232.48ms 1.54s 73.89%
> Req/Sec 0.71 0.63 2.00 51.94%
>
> 376 requests in 30.01s, 4.13MB read
> Requests/sec: 12.53
> Transfer/sec: 141.01KB
Can someone confirm that these numbers are more or less what is
roughly expected ?
Or is there some way I can optimize to win an order of magnitude ?
If there is nothing I can do to improve these numbers, I will try to
use a cache tool like Varnish.
To detail the software configuration:
1) I have used the Nginx+uWSGI+PostgreSQL setup described in ticket
#796 (https://issues.apache.org/bloodhound/ticket/796) with the
addition of serving static ressources directly by Nginx (I will update
the patch to reflect this later)
2) I have tried several Nginx optimization tricks without any
significant changes (see for instance some Nginx tricks here:
https://github.com/perusio/piwik-nginx/blob/master/nginx.conf)
3) I have tried playing with uWSGI processes and cpu affinity
parameters without any significant changes
Thanks,
Re: About Apache Bloodhound perfomance
Posted by Ryan J Ollos <rj...@apache.org>.
On Wed, Jul 23, 2014 at 7:24 AM, Saint Germain <sa...@gmail.com> wrote:
> Hello,
>
> I have tested Apache Bloodhound installation on a quite good setup
> (VPS with 3 vCores Intel Xeon CPU E5-2650, 3GB RAM, SSD) and with a
> combination of Nginx + uWSGI + PostgreSQL.
>
> Using wrk (https://github.com/wg/wrk) as load testing tool, I managed
> to serve a static HTML page at around 11000 requests/second (to have
> an idea of Nginx performance on this hardware).
> Serving a simple template with Django, I managed around 200
> requests/second.
>
> However serving the Apache Bloodhound startup page, I only manage
> around 12 requests/second:
> > ./wrk -t12 -c12 -d30s http://bloodhound.example.com
> > Running 30s test @ http://bloodhound.example.com
> > 12 threads and 12 connections
> > Thread Stats Avg Stdev Max +/- Stdev
> > Latency 1.07s 232.48ms 1.54s 73.89%
> > Req/Sec 0.71 0.63 2.00 51.94%
> >
> > 376 requests in 30.01s, 4.13MB read
> > Requests/sec: 12.53
> > Transfer/sec: 141.01KB
>
> Can someone confirm that these numbers are more or less what is
> roughly expected ?
> Or is there some way I can optimize to win an order of magnitude ?
>
> If there is nothing I can do to improve these numbers, I will try to
> use a cache tool like Varnish.
>
> To detail the software configuration:
> 1) I have used the Nginx+uWSGI+PostgreSQL setup described in ticket
> #796 (https://issues.apache.org/bloodhound/ticket/796) with the
> addition of serving static ressources directly by Nginx (I will update
> the patch to reflect this later)
> 2) I have tried several Nginx optimization tricks without any
> significant changes (see for instance some Nginx tricks here:
> https://github.com/perusio/piwik-nginx/blob/master/nginx.conf)
> 3) I have tried playing with uWSGI processes and cpu affinity
> parameters without any significant changes
>
> Thanks,
>
Yours are the first numbers I've seen for Bloodhound, but you may find some
of the content linked from the TracPerformance page to be interesting:
http://trac.edgewall.org/wiki/TracPerformance
Re: About Apache Bloodhound perfomance
Posted by Olemis Lang <ol...@gmail.com>.
It's good to know that you have followed this path of performance
testing . The tests we have done also point out that this is a target
for improvements . There's more work to do on that front , which
implies quite a few changes in functional aspects of the issue
tracking tools provided by Bloodhound .
On 7/23/14, Saint Germain <sa...@gmail.com> wrote:
> Hello,
>
> I have tested Apache Bloodhound installation on a quite good setup
> (VPS with 3 vCores Intel Xeon CPU E5-2650, 3GB RAM, SSD) and with a
> combination of Nginx + uWSGI + PostgreSQL.
>
> Using wrk (https://github.com/wg/wrk) as load testing tool, I managed
> to serve a static HTML page at around 11000 requests/second (to have
> an idea of Nginx performance on this hardware).
> Serving a simple template with Django, I managed around 200
> requests/second.
>
> However serving the Apache Bloodhound startup page, I only manage
> around 12 requests/second:
>> ./wrk -t12 -c12 -d30s http://bloodhound.example.com
>> Running 30s test @ http://bloodhound.example.com
>> 12 threads and 12 connections
>> Thread Stats Avg Stdev Max +/- Stdev
>> Latency 1.07s 232.48ms 1.54s 73.89%
>> Req/Sec 0.71 0.63 2.00 51.94%
>>
>> 376 requests in 30.01s, 4.13MB read
>> Requests/sec: 12.53
>> Transfer/sec: 141.01KB
>
> Can someone confirm that these numbers are more or less what is
> roughly expected ?
> Or is there some way I can optimize to win an order of magnitude ?
>
> If there is nothing I can do to improve these numbers, I will try to
> use a cache tool like Varnish.
>
> To detail the software configuration:
> 1) I have used the Nginx+uWSGI+PostgreSQL setup described in ticket
> #796 (https://issues.apache.org/bloodhound/ticket/796) with the
> addition of serving static ressources directly by Nginx (I will update
> the patch to reflect this later)
> 2) I have tried several Nginx optimization tricks without any
> significant changes (see for instance some Nginx tricks here:
> https://github.com/perusio/piwik-nginx/blob/master/nginx.conf)
> 3) I have tried playing with uWSGI processes and cpu affinity
> parameters without any significant changes
>
> Thanks,
>
--
Regards,
Olemis - @olemislc
Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article: