[uWSGI] HTTP router vs FastRouter

Roberto De Ioris roberto at unbit.it
Sat Apr 5 17:40:45 CEST 2014


> I've removed keepalive and websocket options, it didn't had any effect on
> results. I'm not sure about:
>
>> Check if your backend instances behave the same when behind the
>> fastrouter
>
> I'm testing the same setup:
>
> ab -> httprouter or fastrouter+nginx -> backends subscribed to router
>
> The only thing that is different between ab runs is frontend - backends
> subscribe to httprouter or to fastrouter with nginx in front.


I was meaning if your backends were overloaded.

By the way, have you raised the number of file descriptors in the http
router ? On startup the instance should report it. The maximum number of
concurrent clients is max-fd/2. Maybe you need to raise it (--max-fd
should be enough)


-- 
Roberto De Ioris
http://unbit.it


More information about the uWSGI mailing list