Welcome! Log In Create A New Profile

Advanced

Re: Can thread pool improve performance for such scenario

June 30, 2015 03:54AM
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 instance, a heavily loaded NGINX-based
streaming media server. This is the situation we’ve simulated in our
benchmark.

---------------------------------------------------------------------------

So if you got storage which doesn't fit into Ram such as 2TB storage with
32Gb RAM . In this case, threads could be useful. Otherwise, nginx is
already very much robust to serve concurrent requests against standard
extensions such as jpeg,css,html and many more.

You can read more about threads in following link :

http://nginx.com/blog/thread-pools-boost-performance-9x/

Regards.
Shahzaib

On Tue, Jun 30, 2015 at 11:02 AM, Jerry OELoo <oyljerry@gmail.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.
>
> As I know, Nginx import thread pools feature, so is it useful for my
> scenario and improve performance?
>
> --
> Rejoice,I Desire!
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Can thread pool improve performance for such scenario

Jerry OELoo June 30, 2015 02:04AM

Re: Can thread pool improve performance for such scenario

shahzaib1232 June 30, 2015 03:54AM

RE: Can thread pool improve performance for such scenario

Lukas Tribus June 30, 2015 05:18AM

Re: Can thread pool improve performance for such scenario

Jerry OELoo June 30, 2015 07:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready