Home>Article>Operation and Maintenance> What is the underlying language of nginx?
Nginx code is written entirely from scratch in C and has been ported to many architectures and operating systems, including: Linux, FreeBSD, Solaris, Mac OS X, AIX, and Microsoft Windows.
Nginx has its own function library, and in addition to zlib, PCRE and OpenSSL, thestandard module only uses system C Library Functions. Furthermore, these third-party libraries may not be used if they are not needed or if potential licensing conflicts are considered. (Recommended learning:nginx tutorial)
Server
Nginx as a load balancing service: Nginx can directly support Rails and PHP programs internally and externally To provide services, it can also support external services as an HTTP proxy service.Nginx is written in C, and its system resource overhead and CPU usage efficiency are much better than Perlbal.
Handle static files, index files, and automatic indexing; turn on file descriptor buffering.
Cacheless reverse proxy acceleration, simple load balancing and fault tolerance.
FastCGI, simple load balancing and fault tolerance.
Modular structure. Including filters such as gzipping, byte ranges, chunked responses, and SSI-filter. If multiple SSIs present in a single page are processed by FastCG or another proxy server, this processing can run in parallel without waiting for each other.
Supports SSL and TLSSNI.
The above is the detailed content of What is the underlying language of nginx?. For more information, please follow other related articles on the PHP Chinese website!