Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-webserver][PATCH 1/2] nginx: enable thread pools by default
@ 2018-07-09 20:09 Derek Straka
  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
  0 siblings, 1 reply; 2+ messages in thread
From: Derek Straka @ 2018-07-09 20:09 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-webserver][PATCH 2/2] nginx: remove the 1.13 recipe in favor of the new dev branch of 1.5.x
  2018-07-09 20:09 [meta-webserver][PATCH 1/2] nginx: enable thread pools by default Derek Straka
@ 2018-07-09 20:09 ` Derek Straka
  0 siblings, 0 replies; 2+ messages in thread
From: Derek Straka @ 2018-07-09 20:09 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Derek Straka <derek@asterius.io>
---
 meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb | 10 ----------
 meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb  | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb

diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb
deleted file mode 100644
index e629380..0000000
--- a/meta-webserver/recipes-httpd/nginx/nginx_1.13.12.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require nginx.inc
-
-# 1.14.x branch is the current stable branch, the recommended default
-# 1.13.x is the current mainline branches containing all new features
-DEFAULT_PREFERENCE = "-1"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3691402cc54ce09f800ca348634a2dfe"
-
-SRC_URI[md5sum] = "20871b2cf21a16dbfb83078b4dc2dde0"
-SRC_URI[sha256sum] = "fb92f5602cdb8d3ab1ad47dbeca151b185d62eedb67d347bbe9d79c1438c85de"
diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb
new file mode 100644
index 0000000..0f1ba8f
--- /dev/null
+++ b/meta-webserver/recipes-httpd/nginx/nginx_1.15.1.bb
@@ -0,0 +1,10 @@
+require nginx.inc
+
+# 1.14.x branch is the current stable branch, the recommended default
+# 1.15.x is the current mainline branches containing all new features
+DEFAULT_PREFERENCE = "-1"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3691402cc54ce09f800ca348634a2dfe"
+
+SRC_URI[md5sum] = "2dd5a265c54a76b699443931d80a61b9"
+SRC_URI[sha256sum] = "c7206858d7f832b8ef73a45c9b8f8e436bcb1ee88db2bc85b8e438ecec9d5460"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-09 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-09 20:09 [meta-webserver][PATCH 1/2] nginx: enable thread pools by default Derek Straka
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox