NGINX High Performance

Optimize NGINX for high-performance, scalable web applications

NGINX High Performance

Rahul Sharma

1 customer reviews
Optimize NGINX for high-performance, scalable web applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785281839
Paperback168 pages

Book Description

NGINX is one of the most common free, open source web servers. Its performance-oriented architecture and small footprint makes it an ideal choice for high-traffic websites.

NGINX offers great performance and optimal resource utilization to its administrators. This practical guide walks you through how to tune one of the leading free open source web servers to attain optimal performance for high-traffic sites. It also explores ways to improve network utilization for high loads.

The tour starts with an overview of the NGINX architecture. You will build and configure NGINX for optimal utilization of the hardware available. The book demonstrates various practices to improve last mile content delivery by using timeouts, caching, and compression. You'll also discover various free open source tools to test and benchmark web server performance, allowing you to verify NGINX performance at every step.

Table of Contents

Chapter 1: Working with NGINX
The NGINX architecture
Installing NGINX from source
Summary
Chapter 2: Benchmarking the Server
Performance testing
Baselines
Generating metrics using Siege
Generating metrics using Apache JMeter
Summary
Chapter 3: Tweaking NGINX Configuration
NGINX configuration syntax
Configuring NGINX workers
Configuring NGINX I/O
Configuring TCP
Setting up the server
Summary
Chapter 4: Controlling Buffers, Timeouts, and Compression
Configuring buffers
Configuring timeouts
Compression
Configuring logs
Setting up the server
Summary
Chapter 5: Configuring the Network Stack
TCP buffers
TCP states
Raising server limits
Setting up the server
Summary
Chapter 6: Using NGINX Cache
Caching static content
Caching dynamic content
Configuring NGINX Proxy
Using Memcache
Summary
Chapter 7: Extending NGINX
The Lua scripting language
The NGINX Lua module
The NGINX-Lua API
NGINX Lua libraries
Setting up the server
Summary

What You Will Learn

  • Compile and run NGINX from source
  • Measure NGINX performance and create baselines
  • Tweak NGINX configuration for last-mile performance
  • Work with PHP, Python, and other languages using FCGI
  • Learn to integrate with other servers over HTTP
  • Set up Memcache for a performance boost
  • Fine-tune the TCP stack for improved network utilization
  • Construct NGINX extensions for various purposes

Authors

Table of Contents

Chapter 1: Working with NGINX
The NGINX architecture
Installing NGINX from source
Summary
Chapter 2: Benchmarking the Server
Performance testing
Baselines
Generating metrics using Siege
Generating metrics using Apache JMeter
Summary
Chapter 3: Tweaking NGINX Configuration
NGINX configuration syntax
Configuring NGINX workers
Configuring NGINX I/O
Configuring TCP
Setting up the server
Summary
Chapter 4: Controlling Buffers, Timeouts, and Compression
Configuring buffers
Configuring timeouts
Compression
Configuring logs
Setting up the server
Summary
Chapter 5: Configuring the Network Stack
TCP buffers
TCP states
Raising server limits
Setting up the server
Summary
Chapter 6: Using NGINX Cache
Caching static content
Caching dynamic content
Configuring NGINX Proxy
Using Memcache
Summary
Chapter 7: Extending NGINX
The Lua scripting language
The NGINX Lua module
The NGINX-Lua API
NGINX Lua libraries
Setting up the server
Summary

Book Details

ISBN 139781785281839
Paperback168 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Mastering Nginx Book Cover
Mastering Nginx
$ 26.99
$ 18.90
Nginx HTTP Server - Second Edition Book Cover
Nginx HTTP Server - Second Edition
$ 26.99
$ 2.70
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Practical DevOps Book Cover
Practical DevOps
$ 35.99
$ 25.20