Skip to content

LB 学习索引 #13

@onestraw

Description

@onestraw
  1. 集中式 vs 分布式
    部署形式上的分类,集中式:网关代理形式,分布式:同一集群各实例分别进行负载均衡(也有叫软LB)

  2. 集中式的代表
    硬件 F5
    软件 LVS / HAPorxy / Nginx (Tengine/OpenResty)

  3. 4层 vs 7层
    按TCP/IP协议栈层次划分
    4层:tcp/udp
    7层:http

  4. 算法
    round robin
    consistent hash
    ip hash
    least connection

  5. 健康检查

  6. 会话维持

  7. 服务发现
    etcd
    consul
    zookeeper

  8. 其它
    谁给网关LB:ECMP / DNS调度
    底层加速:dpdk
    高可用部署:keepalived

  9. 链接
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions