Can thread pool improve performance for such scenario

Lukas Tribus luky-37 at hotmail.com
Tue Jun 30 09:17:33 UTC 2015


> Hi All:
> I am using Nginx as a reverse proxy which provide a web API (HTTP GET
> ) to client.
> and the backend application will get request from nginx and do some
> time-consuming processing (1-2 seconds) then response result to nginx,
> Nginx return result to client.
> I think this is synchronize operation.

What backend protocol? HTTP/TCP? That not blocking at all, no need
to improve anything. What the  thread pool currently improves is
sendfile() I/O operations.


Lukas

 		 	   		  


More information about the nginx mailing list