onestraw / golb Goto Github PK
View Code? Open in Web Editor NEW:octopus: Yet another load balancer
License: MIT License
:octopus: Yet another load balancer
License: MIT License
集中式 vs 分布式
部署形式上的分类,集中式:网关代理形式,分布式:同一集群各实例分别进行负载均衡(也有叫软LB)
集中式的代表
硬件 F5
软件 LVS / HAPorxy / Nginx (Tengine/OpenResty)
4层 vs 7层
按TCP/IP协议栈层次划分
4层:tcp/udp
7层:http
算法
round robin
consistent hash
ip hash
least connection
健康检查
会话维持
服务发现
etcd
consul
zookeeper
其它
谁给网关LB:ECMP / DNS调度
底层加速:dpdk
高可用部署:keepalived
链接
Nginx upstream http://nginx.org/en/docs/http/ngx_http_upstream_module.html
美团4层LB https://tech.meituan.com/2017/01/05/mgw.html
https://github.com/cristaloleg/awesome-load-balancing
resend the request to another server in case of 50X
see title.
service discovery with etcd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.