NGINX high performance : optimize NGINX for high-performance, scalable web applications /
Chapter 5: Configuring the Network Stack; TCP buffers; The TCP window; TCP control algorithms; TCP states; Raising server limits; The queue size; The listen socket queue size; Half-opened connections; Ephemeral ports; Open files; Setting up the server; Summary; Chapter 6: Using NGINX Cache; Caching...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Working with NGINX; The NGINX architecture; Installing NGINX from source; Build requirements; The ANSI C compiler and build system; libatomic_ops and AIO
- optional requirements; Perl
- an optional requirement; The Perl Compatible Regular Expressions library
- an optional requirement; OpenSSL
- an optional requirement; Zlib
- an optional requirement; Configuring NGINX; Configuring NGINX defaults; Configuring NGINX modules; Configuring NGINX for the Web
- Configuring NGINX for e-mailConfiguring third-party modules; NGINX
- the complete package; Building and installing NGINX; Deploying in NGINX; Deploying NGINX; Summary; Chapter 2: Benchmarking the Server; Performance testing; Using timeouts; Baselines; A note about tools; Generating metrics using Siege; Installing Siege; Running Siege; Siege test results; Generating metrics using Apache JMeter; Installing JMeter; Installing Java; Setting JAVA_HOME; Running JMeter; Components of JMeter; Threads; Sampler; Configuration elements; Assertions; Listeners; Test plan; Building JMeter test plans
- JMeter test resultsSummary; Chapter 3: Tweaking NGINX Configuration; NGINX configuration syntax; Configuring NGINX workers; worker_processes; accept_mutex; accept_mutex_delay; worker_connections; worker_rlimit_nofile; multi_accept; use; Configuring NGINX I/O; Sendfile; Direct I/O; Asynchronous I/O; Mixing them up; Configuring TCP; TCP_NODELAY; TCP_CORK; Setting them up; Setting up the server; Measuring gains; Summary; Chapter 4: Controlling Buffers, Timeouts, and Compression; Configuring buffers; client_body_buffer_size; client_max_body_size; client_body_in_file_only
- Client_body_in_single_bufferclient_body_temp_path; client_header_buffer_size; large_client_header_buffers; Configuring timeouts; keepalive; keepalive_timeout; keepalive_requests; keepalive_disable; send_timeout; client_body_timeout; client_header_timeout; Compression; ngx_http_gzip_module; gzip; gzip_comp_level; gzip_min_length; gzip_types; gzip_proxied; gzip_http_version; gzip_vary; gzip_disable; ngx_http_gzip_static_module; gzip_static; ngx_http_gunzip_module; gunzip; Configuring logs; access_log; log_format; log_subrequest; error_log; log_not_found; Setting up the server; Measuring gains