负载均衡调度器-Galera
2012-12-10 11:33:36 阿炯

本站赞助商链接,请多关照。 GLB (Galera Load Balancer) 是一个与 Pen 类似的 TCP 负载均衡器,它功能没有 Pen 那么强大,其主要的目的是做一个非常快速的 TCP 协议代理。通过利用多核CPU的优势,GLB 的速度有显著的提升。

glb is a simple user-space TCP connection balancer made with scalability and performance in mind. It was inspired by pen, but unlike pen its functionality is limited only to balancing generic TCP connections.

Features
list of backend servers is configurable in runtime.
supports server "draining", i.e. does not allocate new connections to server, but does not kill existing ones, waiting for them to end gracefully.
on Linux 2.6 and higher glb uses epoll API for ultimate performance.
glb is multithreaded, so it can utilize multiple CPU cores. In fact even on a single core CPU using several threads can significantly improve performance when using poll()-based IO.
features 3 balancing policies: "least connected" (default), "random" and "source tracking". See README for details.

最新版本:0.8
修复了上一版本中连接初始化很慢的问题,增加了一个随机的均衡策略。

项目主页:http://www.codership.com/downloads/glb