From: Derek Straka <derek@asterius.io>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-webserver][PATCH 1/2] nginx: enable thread pools by default
Date: Mon, 9 Jul 2018 16:09:45 -0400 [thread overview]
Message-ID: <1531166986-7172-1-git-send-email-derek@asterius.io> (raw)
The thread pool feature can be enabled without significant extra binary size. Thread pools can increase performance by an order of magnitude on some configurations
Signed-off-by: Derek Straka <derek@asterius.io>
---
meta-webserver/recipes-httpd/nginx/nginx.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e6ae52a..f1b50bc 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -71,6 +71,7 @@ do_configure () {
--http-scgi-temp-path=/run/nginx/scgi_temp \
--pid-path=/run/nginx/nginx.pid \
--prefix=${prefix} \
+ --with-threads \
--with-http_ssl_module \
--with-http_gzip_static_module \
${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
--
2.7.4
next reply other threads:[~2018-07-09 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 20:09 Derek Straka [this message]
2018-07-09 20:09 ` [meta-webserver][PATCH 2/2] nginx: remove the 1.13 recipe in favor of the new dev branch of 1.5.x Derek Straka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1531166986-7172-1-git-send-email-derek@asterius.io \
--to=derek@asterius.io \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox