Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Nginx Troubleshooting

You're reading from   Nginx Troubleshooting Investigate and solve problems with Nginx-powered websites using a deep understanding of the underlying principles

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781785288654
Length 172 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alexey Kapranov Alexey Kapranov
Author Profile Icon Alexey Kapranov
Alexey Kapranov
Arrow right icon
View More author details
Toc

Optimizing individual upstreams

You may remember from previous chapters that Nginx has two main methods of generating a response to a request, one being very specific—reading a static file from the filesystem, and the other including a whole family of the so-called upstream modules. An upstream is an external server to which Nginx proxies the request. The most popular upstream is ngx_proxy, others are ngx_fastcgi, ngx_memcached, ngx_scgi, and so on. Because serving only static files is not usually enough for a modern website, upstreams are an essential part of any comprehensive setup. As we mentioned in the beginning of this chapter, upstreams themselves are usually the reason why your website has performance troubles. Your developers are responsible for this part because this is where all the web application processing happens. In the following sections, we are going to briefly describe the major stacks or platforms used to implement business logic on the upstream behind Nginx and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime