There are millions of Ngnix on Linux production implementations.<p>And your advice is to use experimental[1] Docker support in FreeBSD, when Nginx would be running inside Docker on top of FreBSD&#x27;s Linux compatibility layer.<p>Finally - and most critically - Ngnix introduced thread pools to <i>specifically work around a limitation of Linux&#x27;s async IO implementation</i>:<p><i>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.<p>To solve this problem in particular, thread pools were introduced in NGINX 1.7.11.</i>[2].<p>[1] <a href="https:&#x2F;&#x2F;wiki.freebsd.org&#x2F;Docker" rel="nofollow">https:&#x2F;&#x2F;wiki.freebsd.org&#x2F;Docker</a><p>[2] <a href="https:&#x2F;&#x2F;www.nginx.com&#x2F;blog&#x2F;thread-pools-boost-performance-9x&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nginx.com&#x2F;blog&#x2F;thread-pools-boost-performance-9x...</a>