NGINX High Performance

Optimize NGINX for high-performance, scalable web applications
Preview in Mapt

NGINX High Performance

Rahul Sharma

1 customer reviews
Optimize NGINX for high-performance, scalable web applications

Quick links: > What will you learn?> Table of content> Product reviews

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.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


NGINX High Performance Book Cover
NGINX High Performance
$ 31.99
$ 22.40
Nginx Troubleshooting Book Cover
Nginx Troubleshooting
$ 23.99
$ 4.80
Buy 2 for $22.30
Save $33.68
Add to Cart

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

Nginx Troubleshooting Book Cover
Nginx Troubleshooting
$ 23.99
$ 4.80
Nginx Essentials Book Cover
Nginx Essentials
$ 27.99
$ 19.60
NGINX Cookbook Book Cover
NGINX Cookbook
$ 35.99
$ 25.20
Learning Ansible 2 - Second Edition Book Cover
Learning Ansible 2 - Second Edition
$ 35.99
$ 25.20
Practical DevOps Book Cover
Practical DevOps
$ 35.99
$ 25.20
Docker: Creating Structured Containers Book Cover
Docker: Creating Structured Containers
$ 59.99
$ 42.00