Difference between revisions of "Nginx notes"

From Helpful
Jump to: navigation, search
m
m
 
Line 2: Line 2:
  
 
<!--
 
<!--
 +
nginx is an webserver built for concurrency and low memory use,
 +
and is somewhat extensible.
  
compared to apache, nginx is more bare-bones than flexible, and can complement it, being good at:
+
It's often used used to take over or otherwise offload some of the tasks a more flexible but more resource-heavy backend like apache. And in some cases can be the main or only server.
* static serving with lower overhead
+
  
* upload cacheing, download cacheing (occupy dynamic workers for shorter times)
+
For example, it can serve static content with somewhat lower overhead, it can do upload buffering and download buffering (avoid occupying the backend connections for longer times), load balancing, monitoring.
 +
 
 +
As such, it is useful and indeed common on high-traffic sites.
  
* load balancing
 
  
* monitoring
 
  
  
Line 18: Line 19:
 
===By itself===
 
===By itself===
  
There are plugins that let you embed PHP, Java,  
+
There are plugins that let you embed PHP, Java, serve from distributed filesystems
serve from distributed filesystems
+
  
  

Latest revision as of 20:10, 7 July 2019

This article/section is a stub — probably a pile of half-sorted notes, is not well-checked so may have incorrect bits. (Feel free to ignore, fix, or tell me)



See also: