Re: Can thread pool improve performance for such scenario

2015-06-30 Thread Jerry OELoo
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 wrote: >> Hi All: >> I am using Nginx as a reverse proxy which provide a web API (HTTP GET >> ) to client. >> and the bac

RE: Can thread pool improve performance for such scenario

2015-06-30 Thread Lukas Tribus
> 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 synchron

Re: Can thread pool improve performance for such scenario

2015-06-30 Thread shahzaib shahzaib
Hi, This is what they have to say about threads : Offloading read operations to the thread pool is a technique applicable to very specific tasks. It is most useful where the volume of frequently requested content doesn’t fit into the operating system’s VM cache. This might be the case with, for

Can thread pool improve performance for such scenario

2015-06-29 Thread Jerry OELoo
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.