Welcome! Log In Create A New Profile

Advanced

Re: Does Nginx block on file IO?

May 02, 2011 07:17AM
Piotr Sikora Wrote:
-------------------------------------------------------
> It's actually very related, because with
> event-driven programming, you're
> blocking _all_ worker's clients on the single disk
> I/O.

I know, but imagine how much memory you can save and use for file system cache if you are not running apache. Which can make fat more greater impact on your performance. You can't just say that nginx is the same as apache just because it's blocking on file I/O.
So still, it depends on the type of load you are having. 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.
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: 140
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