News for hackers. Stuff that matters.
Re:Thread Pools in Nginx Boost Performance 9x (2015) by taf2 on Monday August 14, 2017 @07:46AM (#15007987)
From the article

"Although Linux provides a kind of asynchronous interface for reading files, it has a couple of significant drawbacks. One of them is alignment requirements for file access and buffers, but NGINX handles that well. But the second problem is worse. The asynchronous interface requires the O_DIRECT flag to be set on the file descriptor, which means that any access to the file will bypass the cache in memory and increase load on the hard disks. That definitely doesn’t make it optimal for many cases."

There are no comments on this comment yet.