dyweb / papers-notebook

:page_facing_up: :cn: :page_with_curl: 论文阅读笔记(分布式系统、虚拟化、机器学习)Papers Notebook (Distributed System, Virtualization, Machine Learning)
https://github.com/dyweb/papers-notebook/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+-label%3ATODO-%E6%9C%AA%E8%AF%BB
Apache License 2.0
2.14k stars 250 forks source link

Maglev: A Fast and Reliable Software Network Load Balancer #281

Open gaocegege opened 2 years ago

gaocegege commented 2 years ago

https://research.google/pubs/pub44824/

来源:来自 Ebay 的同事

gaocegege commented 2 years ago

https://manjusaka.itscoder.com/posts/2020/05/23/a-simple-introduction-about-maglev/ 群友的 post

gaocegege commented 2 years ago

这篇文章主要介绍了谷歌生产环境(曾经?)的 IP 层(OSI 第三层)负载均衡软件实现的设计与实现。

众所周知,负载均衡分为硬件方案和软件方案两种。硬件方案最典型的代表是 F5,软件方案则包括 nginx 等。

截屏2021-11-15 上午10 46 53

硬件方案如左图所示。像 F5 这样的硬件负载均衡器虽然能够解决问题,但是存在非常多的缺点:

谷歌向来的设计原则是用尽可能便宜的主流商用机器解决问题,在负载均衡这件事情上也是一样的。因此 Maglev 可以被当作是为了取代 F5,打败邪恶的领域特定硬件的软件负载均衡方案。软件方案的好处有很多:

具体的细节可以参考 https://manjusaka.itscoder.com/posts/2020/05/23/a-simple-introduction-about-maglev/

gaocegege commented 2 years ago

https://github.com/envoyproxy/envoy/issues/2267