<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Upstream on Horeb</title><link>https://horeb.top/tags/upstream/</link><description>Recent content in Upstream on Horeb</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 JekYUlll</copyright><lastBuildDate>Fri, 29 May 2026 10:30:05 +0000</lastBuildDate><atom:link href="https://horeb.top/tags/upstream/index.xml" rel="self" type="application/rss+xml"/><item><title>Nginx 源码解析（七）：Upstream 与负载均衡</title><link>https://horeb.top/posts/infra-nginx-%E6%BA%90%E7%A0%81%E8%A7%A3%E6%9E%90%E4%B8%83upstream-%E4%B8%8E%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>https://horeb.top/posts/infra-nginx-%E6%BA%90%E7%A0%81%E8%A7%A3%E6%9E%90%E4%B8%83upstream-%E4%B8%8E%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</guid><description>&lt;p&gt;Nginx 反向代理的核心是 upstream 模块。它负责从上游服务器池中选出一个 peer，建立 TCP 连接，转发请求，接收响应，然后回传给客户端。整个流程涉及连接管理、超时控制、负载均衡调度和事件驱动的 I/O 管理。&lt;/p&gt;</description></item></channel></rss>