Welcome! Log In Create A New Profile

Advanced

Re: Does Nginx block on file IO?

May 02, 2011 07:25AM
jjjx128 Wrote:
-------------------------------------------------------
> And if you are not serving 100 megabytes
> of data to 500 clients but a lot more you are most
> likely to get better results with asynchronous
> server even with blocking file I/O.

Sorry, bad example, in this case your data will fit in file system cache and you still will be better off with nginx bacuase of all the context switches you save. Anyway there might be some very special case where disks are overloaded and access patterns are truly random. Although this never happens in real world.
Subject Author Posted

Does Nginx block on file IO?

Andy May 01, 2011 08:26PM

Re: Does Nginx block on file IO?

jjjx128 May 01, 2011 09:54PM

Re: Does Nginx block on file IO?

Piotr Sikora May 02, 2011 01:24AM

Re: Does Nginx block on file IO?

Piotr Sikora May 02, 2011 01:30AM

Re: Does Nginx block on file IO?

Justin Cormack May 02, 2011 07:08AM

Re: Does Nginx block on file IO?

jjjx128 May 02, 2011 07:17AM

Re: Does Nginx block on file IO?

jjjx128 May 02, 2011 07:25AM

Re: Does Nginx block on file IO?

Cliff Wells May 02, 2011 02:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
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