Can thread pool improve performance for such scenario

Jerry OELoo oyljerry at gmail.com
Tue Jun 30 11:19:01 UTC 2015


Backend is uwsgi TCP protocol.
Thanks for your clarify. I am understanding now, Thread pool should
not useful to improve my case.

On Tue, Jun 30, 2015 at 5:17 PM, Lukas Tribus <luky-37 at hotmail.com> wrote:
>> 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
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



-- 
Rejoice,I Desire!



More information about the nginx mailing list