"hits" on fastrouter shows 10050
2013/2/14 Łukasz Mierzwa <[email protected]> > With nginx->FastRouter->nodes and current uWSGI master branch I see: > > ab - 10000 requests done, including 803 failed > node - 9197 requests done, 0 write_errors > fastrouter - 9950 requests, 50 failcnt > > logs on fastrouter shows: > > 747 x fr_instance_read(): Connection reset by peer > [plugins/fastrouter/fastrouter.c line 127] > > 50 x [uwsgi-fastrouter] unable to connect() to node "172.16.200.56:3001": > Connection timed out > looks like above is counted in "failcnt" > > Also I've noticed that "ref" shows a lot more than my node (or its > backlog) can handle, high ref value stays there for a while, probably until > request gets a timeout or read error. > > Above was tested with 2 virtual machines and ab was run from my desktop. > HTTP router test was done on single vm. > > > 2013/2/14 Roberto De Ioris <[email protected]> > >> >> > During 1.9 HTTP router testing I've noticed that request count reported >> by >> > stats socket shows higher count than the number of requests I've made >> with >> > ab. This happens only if I use high concurrency in ab (like -c 512), >> this >> > is probably due to retries since some requests on my VM will fall under >> > such conditions, if so than I guess it would be ok (although I prefer to >> > have retries counter with the number of such requests) but the failcnt >> > shows 0, so I'm not sure if those are really retries. >> > Also if those were retries than backend node should show correct number >> of >> > requests, but it show exactly the same number of requests as router. >> > Can you help me interpret whats going on there? Full logs are at >> > https://gist.github.com/prymitive/4761112 >> > >> > -- >> > Łukasz Mierzwa >> > _______________________________________________ >> > uWSGI mailing list >> > [email protected] >> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > >> >> This is very strange, how about the statistics in the fastrouter ? do they >> report 10000 ? >> >> By the way i will start accounting write errors too in statistics. >> >> -- >> Roberto De Ioris >> http://unbit.it >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > > > > -- > Łukasz Mierzwa > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
