NGINX Unit 1.21.0 released, dynamic web application server

NGINX Unit 1.21.0 has been released. In addition to the regular bugfixes, the updated content also adds some new features, such as PCRE supporting condition matching and multi-threaded request processing.

Therefore, developers can now adjust the number of threads used for request processing in each application process, which can improve scalability and optimize memory usage. In addition, the application can combine multiple processes and multiple threads of each process to achieve true dynamic expansion. This feature can be used directly in any Java, Python, Perl or Ruby application without updating its code.

Some updates:

  • Change: When using "rootfs" isolation, procfs of all languages ​​will be mounted by default
  • Change: Now supports the use of any valid characters that comply with the RFC 7230 standard in the HTTP header name
  • Change: HTTP header fields containing underscores ("_") will now be discarded from the request by default
  • Feature: Provides optional multi-threaded request processing for Java, Python, Perl and Ruby applications
  • Feature: Added support for regular expressions in route matching mode
  • Feature: Compatible with Python 3.9
  • Feature: Python module supports ASGI 2.0 legacy applications
  • Feature: The "protocol" option in Python applications helps to choose between ASGI and WSGI
  • Feature: PHP function fastcgi_finish_request() can complete request processing and continue to execute code without keeping the client connected
  • Feature: HTTP option "discard_unsafe_fields" can discard the request header fields with irregular characters in the field name (but still valid)
  • Feature: "procfs" and "tmpfs" auto mount isolation option, you can disable auto mount of the file system with the same name
  • Bugfix: When running Go applications under high load, the router process may crash; this bug appeared in 1.19.0
  • Bugfix: After using "rootfs" isolation, some language dependencies may remain mounted
  • Bugfix: Multiple compatibility issues in Java applications
  • Bugfix: Java modules built using musl C library cannot run applications isolated using "rootfs"

Click here for details.

NGINX Unit is a lightweight and dynamic open source server for various web applications. NGINX Unit is built from the ground up and can run multiple language versions of web applications at a time. It can also be fully configured with zero interruption at runtime, so that real-time granular management of projects and operations can be performed.

Guess you like

Origin www.oschina.net/news/121446/nginx-unit-1-21-0-released