当前位置:网站首页>Fastcgi CGI shallow understanding
Fastcgi CGI shallow understanding
2022-06-30 14:11:00 【Ebony feed feed Wayne yetun wyuwenmu Bian OSAS】
About CGI Relevant definitions and introductions
CGI(COMMON GATEWAT INTERFACE) The full name is universal gateway interface WEB The server and PHP An interface for applications to talk The program needs to run on the network server .CGI It can be written in any language , As long as the language has standard input 、 Output and environment variables . Such as perl、tcl、php etc. .
CGI For each HTTP request Metropolis fork A new process to handle ( Parse configuration file , Initialize execution environment , Processing requests ) Then, the result of this process is passed through WEB The server forwards it to the user , just fork The new process will also exit if the user requests dynamic resources again the next time , that web The server again fork A new process , This cycle goes back and forth .
About FAST CGI Related definitions and introductions of
FASTCGI As the name suggests, it is CGI Updated version of
FASTCGI We will first fork One master New process , Parse configuration file , Initialize the executor , And then it goes on fork Multiple work process ( And nginx More similar ), When HTTP When the request comes in ,master The process passes it to a work process , Then you can immediately accept the next request , This avoids repeated initialization operations , Efficiency naturally increases , When work When the request is not enough ,master The process will also be pre started several times according to the configuration work Process waiting , When work When there are too many requests master The process will kill several work request , This not only improves performance , It also saves a lot of system resources . This is it. FASTCGI And CGI The difference between

边栏推荐
- 【科研数据处理】[基础]类别变量频数分析图表、数值变量分布图表与正态性检验(包含对数正态)
- Go common lock mutex and rwmutex
- Pytoch viewing model parameter quantity and calculation quantity
- [observation] as the intelligent industry accelerates, why should AI computing power take the lead?
- The programming competition is coming! B station surrounding, senior members and other good gifts to you!
- Golang template (text/template)
- 香港回归20余年,图扑数字孪生港珠澳大桥,超震撼
- Rpm2rpm packaging steps
- Embedded development: five C features that may no longer be prohibited
- "As a service", the inevitable choice of enterprise digital transformation
猜你喜欢

Mysql database foundation: stored procedures and functions

VisualStudio and SQL

Shell programming overview

科普达人丨漫画图解什么是eRDMA?

Geoffreyhinton: my 50 years of in-depth study and Research on mental skills

Pytoch viewing model parameter quantity and calculation quantity

Getting started with shell Basics

MFQE 2.0: A New Approach for Multi-FrameQuality Enhancement on Compressed Video

Unity animator parameter
![[observation] as the intelligent industry accelerates, why should AI computing power take the lead?](/img/61/b446a616e86247507c27390505dc6b.jpg)
[observation] as the intelligent industry accelerates, why should AI computing power take the lead?
随机推荐
[Title brushing] avoid flooding
Loss function: Diou loss handwriting implementation
Crypto questions
数据恢复软件EasyRecovery15下载
Google Earth engine (GEE) -- converts string to number and applies it to time search (ee.date.fromymd)
Yousi College: Six Sigma is not just statistics!
Meaning of while (~scanf ("%d%d", & A, & B))
notepad正则删除关键词所在行
Pit used by go language array type
点击table的td单元格出现dialog弹窗,获取值后将值放回td单元格
More than 20 years after Hong Kong's return, Tupu digital twin Hong Kong Zhuhai Macao Bridge has shocked
Exlipse operates on multiple rows at the same time. For example, input the same text in multiple lines and columns at the same time
【 scientific literature measurement 】 mining and visualization of keywords in foreign and Chinese Literature
Publicity of the fourth batch of shortlisted Enterprises - annual Top100 smart Internet supplier selection
Golang template (text/template)
【系统分析师之路】第五章 复盘软件工程(敏捷开发)
[observation] as the intelligent industry accelerates, why should AI computing power take the lead?
@ResponseBody的作用
我想问一下招商证券怎么开户?通过链接办理股票开户安全吗
随着产业互联网的发展,有关互联网的落地和应用也就变得宽阔了起来