Web Design

Tengine – distribution of nginx

Tengine is a web server project originated by Taobao and based on Nginx.

It’s designed for high-traffic sites and adds a wide range of advanced features on top of the core Nginx HTTP server, including enhanced routing, monitoring, load balancing, and protocol support.

This is free and open source software.

Key Features

  • All features of nginx-1.24.0 are inherited, i.e., it is 100% compatible with nginx.
  • Dynamically configure the servers, locations and upstreams without reloading or restarting worker processes with tengine-ingress.
  • HTTP/3 support (QUIC v1 and draft-29) with xquic.
  • High-speed UDP transmission with kernel-bypass.
  • Dynamically configure different TLS protocols for different server names with tengine-ingress.
  • Dynamically configure timeout setting, SSL Redirects, CORS and enabling/disabling robots for the server and location with tengine-ingress.
  • Dynamically configure HTTP routing based on multiple values of a specific header, cookie or query parameter with tengine-ingress.
  • Dynamically configure HTTP routing based on multiple upstream according to weight with tengine-ingress.
  • Dynamically configure HTTP routing based on modulo operation for a specific header, cookie or query parameter with tengine-ingress.
  • Dynamically configure HTTP routing to add/append custom header or add query parameter in the HTTP request to the upstream with tengine-ingress.
  • Dynamically configure HTTP routing to add custom header in the HTTP response to the client with tengine-ingress.
  • Support the CONNECT HTTP method for forward proxy.
  • Support asynchronous OpenSSL, using hardware such as QAT for HTTPS acceleration.
  • Enhanced operations monitoring, such as asynchronous log & rollback, DNS caching, memory usage, etc.
  • Support server_name in Stream module.
  • More load balancing methods, e.g., consistent hashing, and session persistence.
  • Input body filter support. It’s quite handy to write Web Application Firewalls using this mechanism.
  • Dynamic scripting language (Lua) support, which is very efficient and makes it easy to extend core functionalities.
  • Limits retries for upstream servers (proxy, memcached, fastcgi, scgi, uwsgi).
  • Includes a mechanism to support standalone processes.
  • Protects the server in case system load or memory use goes too high.
  • Multiple CSS or JavaScript requests can be combined into one request to reduce download time.
  • Removes unnecessary white spaces and comments to reduce the size of a page.
  • Proactive health checks of upstream servers can be performed.
  • The number of worker processes and CPU affinities can be set automatically.
  • The limit_req module is enhanced with whitelist support and more conditions are allowed in a single location.
  • Enhanced diagnostic information makes it easier to troubleshoot errors.
  • More user-friendly command lines, e.g., showing all compiled-in modules and supported directives.
  • Expiration times can be specified for certain MIME types.
  • Receives HTTP traffic on the TLS listener with option.
  • Debugging HTTP connection usage.

Website: github.com/alibaba/tengine/
Support:
Developer: Alibaba
License: BSD 2-Clause “Simplified” License

Tengine is written in C and Perl. Learn C with our recommended free books and free tutorials. Learn Perl with our recommended free books and free tutorials.


Related Software

Web Servers
nginxVery powerful and efficient web server powering the top web sites
ApacheLike nginx, Apache is a hugely popular web server
CaddyPowerful, enterprise-ready web server written in Go
LwanExperimental, scalable, high performance HTTP server
H2OOptimized HTTP/1.x, HTTP/2, HTTP/3 server
TengineDistribution of nginx
lighttpdFast, compliant and very flexible low memory footprint web server
FerronWeb server optimized for speed, security and efficiency
AngieScalable web server that was forked from nginx
AlgernonSmall self-contained pure-Go web server
Node.jsServer-side JavaScript environment for network applications
HiawathaWeb server that focuses on security
OpenLiteSpeedLightweight HTTP server
rwasaFull-featured high performance web server
devdLocal web server for developers
CherokeeFast, flexible and embeddable web server

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments