01-Nginx

type
status
date
slug
summary
tags
category
icon
password
 
Nginx 极简教程
 
  • 启动会开启Master主线程,读取配置文件并校验,然后会开启子进程
    • notion image

sendfile逻辑

  • 先读取文件,再将文件给网络接口
    • notion image
  • 使用sendfile进行数据零拷贝,直接发送信号给网络接口,网络接口自己去读文件
    • notion image
      notion image

虚拟主机

将一台主机虚拟成多台机器,运行多个网站服务
上一篇
04-MVCC
下一篇
02-Nginx配置文件
Loading...