[uWSGI] HTTP router vs FastRouter

Roberto De Ioris roberto at unbit.it
Sat Apr 5 17:56:37 CEST 2014


> No, backends are not overloaded. Router is the one that eats all the cpu
> (both: with fastrouter and httprouter), one core is saturated with
> software
> interrupts, second is eated by nginx and fastrouter or by httprouter. It's
> seems that nginx does the frontend part somehow efficient since fastrouter
> can handle backend connections as well.
> I have high open file descriptors limit set on router node (100k).

so on startup the http router prints

detected max file descriptor number: 100000 ?

if yes, i do not get how nginx can get 10x the amount of requests, can you
strace both ? maybe there is some other obscure problem

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


More information about the uWSGI mailing list