Welcome! Log In Create A New Profile

Advanced

Re: Apache benchmark: always a few "super late" requests, why ?

B.R.
May 04, 2013 10:38PM
Why do wish so much that comes from Nginx?
I would have a look on the network table (listening and connection
sockets), on the load of the network, system (processes) suring the tests.

But you said nothing of all that, just sending raw ab tests results which
say pretty much nothing about anything...

---
*B. R.*


On Sat, May 4, 2013 at 10:09 PM, henrique matias <hems.inlet@gmail.com>wrote:

> Perhaps no matter if i change number of workers, or worker connections,
> there's always some super late connections on my "ab" tests..
>
> Am very new to benchmark, but the way am doing now is:
>
> ab -n 8000 -c 1000 http://address_to_a_plain_text_file
>
> ab -n 8000 -c 1000
> http://address_to_a_rails_address_that_queries_the_database
>
> Almost all tests i do ends up with very good results up to 90% of the
> requests ( both, with plain text and with rails script ), but then
> sometimes in this last 10% there's very slow requests ( 10x more than the
> fastest )..
>
> For instance : ab -n 8000 -c 1000 http://address_to_a_plain_text_file
>
> Percentage of the requests served within a certain time (ms)
> 50% 142
> 66% 152
> 75% 156
> 80% 158
> 90% 169
> 95% 181
> 98% 4180
> 99% 5236
> 100% 5485 (longest request)
>
> The ones that goes to the database sometimes get very slow compared to
> plain text files, so am guessing i should enlarge somehow the pipe betweens
> rails and the db.
>
> For instance : ab -n 8000 -c 1000 http://address_to_rails_touching_db_file
>
> Percentage of the requests served within a certain time (ms)
> 50% 10
> 66% 10
> 75% 10
> 80% 11
> 90% 12
> 95% 13
> 98% 16
> 99% 25
> 100% 13237 (longest request)
>
>
> Even my plain text files are suffering, so i would guess that is a problem
> in my worker_process / worker_connections and keepalive_timeout ?
>
>
> And for the file that touchs the database i would guess i should be
> tweaking some database configuration between my rails and mongodb...
>
>
> Any advices?
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Apache benchmark: always a few "super late" requests, why ?

henrique matias May 04, 2013 10:10PM

Re: Apache benchmark: always a few "super late" requests, why ?

B.R. May 04, 2013 10:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 218
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready