Files
devops/video/nginx.md
2025-09-17 16:08:16 +08:00

38 lines
839 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nginx配置
VIP地址
keepalive两边地址是否可以配置成一样
nginx视频流的并发能力?
---
rtsp vs rtmp?
### 20240416
![[Pasted image 20240416150004.png]]
![[Pasted image 20240416145846.png]]
![[Pasted image 20240416150433.png]]
![[Pasted image 20240416145752.png]]
![[Pasted image 20240416150213.png]]
### leaky bucket 算法
leaky bucket 叫漏桶算法,其他用来限制请求速率的还有令牌环算法等,这里面不展开讲。
漏桶算法的原理是,先定义一个桶的大小,所有进入桶内的请求都会以恒定的速率被处理,如果请求太多超出了桶的容量,那么就会立刻返回错误。用一张图解释一下。
![[Pasted image 20240416155739.png]]
![[Pasted image 20240416163516.png]]
### pipeline vs keepalive
### rtsp vs rtmp
入流的格式?