`
yangzb
  • 浏览: 3491798 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Software Based Load Balancers

阅读更多
keyword:Load Balance
 
Software Based Load Balancers
 
I believe it is a common practice to use apache as the websever and also the load balancer on enterprise
level web application. however, sometimes it may be an overkill for a small scale project. e.g. in my previous
project, all we need is a easy-to-config, easy-to-use and https-enabled small daemon which could be running
on our not-so-good server (doubled as a mysql ndb cluster management node).
 
I have tried quite a few, and following are which I made them work. and pound is my choice as it is the only
one support https. btw, the executable is only 140k.
 

Balance @ http://www.inlab.de/balance
1>install gcc
    apt-get install gcc
    apt-get install build-essential
2>get balance src
wget http://www.inlab.de/balance-3.34.tar.gz
3>make balance
    make install
4>start balance
    balance -f 8888 10.0.0.116:8080 10.0.0.117:8080
 
load-balance: round-robin, client ip based hashing
high availability: balance keeps track of nodes status
fail-over: if underlying nodes are clustered and support session replication
http: if underlying nodes are clustered and support session replication
https: not support

Pound @ http://www.apsis.ch/pound
1>pound require SSL with multi-thread support
    wget http://www.openssl.org/source/openssl-0.9.8a.tar.gz
    make install
2>get pound src
    wget http://www.apsis.ch/pound/Pound-2.0.4.tgz
3>install pound
4>create pound.cfg at /usr/local/etc/
    ListenHTTP
        Cert "/usr/local/ssl/cert/pound.pem"
        Address 10.0.0.56
        Port    8888
        Service
            BackEnd
                Address 10.0.0.197
                Port    8080
            End
            BackEnd
                Address 10.0.0.198
                Port    8080
            End
        End
    End
5>start pound
 
load-balance: round-robin, configurable priority
high availability: it check all nodes status at a configurable time interval
fail-over: if underlying nodes are clustered and support session replication
http: yes
https: YES

Pure Load Balancer @ http://plb.sunsite.dk/download.html
1>get PLB src
    wget http://plb.sunsite.dk/files/plb-0.3.tar.gz
2>install libevent, as PLB use it for async event handling
    wget http://monkey.org/~provos/libevent-1.1.tar.gz
3>install PLB
    ./configure
    make install
4>create plb.conf at /etc/
5>start plb
 
load-balance: round-robin
high availability: it check all nodes status at a configurable time interval
fail-over: if underlying nodes are clustered and support session replication
http: yes
https: not support
分享到:
评论

相关推荐

    DPDK-iperf for L4 LoadBalancers.pdf

    DPDK-iperf for L4 LoadBalancers.pdf 本文档主要介绍了使用DPDK-iperf实现Layer 4负载均衡器的相关知识点。 首先,DPDK-iperf是一款基于DPDK的iperf工具,用于测量Layer 4负载均衡器的性能。DPDK-iperf可以在不...

    Practical Load Balancing

    DNS based load balancing 5. Content Delivery Networks 6. Planning for Performance and Reliability Part II: Load Balancing Essentials 7. Essential concepts you need to know 8. HTTP load balancing 9. ...

    docs-cloud-load-balancers:Rackspace Cloud Load Balancers API的开发人员文档来源

    该存储库包含生成以下Cloud Load Balancers API文档的源文件: 当您将更改提交到该存储库的master分支时, 将构建文档。 成功的构建已部署到生产中。 支持与反馈 我们欢迎您提供反馈,评论和错误报告。 遵循以提议...

    imports-operator:将公共LoadBalancers添加到您的本地Kubernetes集群

    入口操作员 将公共LoadBalancers添加到本地Kubernetes集群中。 使用托管的引擎时,您可以将服务公开为“ LoadBalancer”,并且云提供商将为您提供云负载均衡器,并开始将流量路由到群集内的选定服务。 换句话说,您...

    aws-loadbalancers

    主要分为几种类型:Classic Load Balancer (CLB),Application Load Balancer (ALB) 和 Network Load Balancer (NLB)。 1. Classic Load Balancer (CLB): 是最早的负载均衡服务,适用于四层(TCP/UDP)和七层...

    负载平衡实战

    4. DNS based load balancing 5. Content Delivery Networks 6. Planning for Performance and Reliability Part II: Load Balancing Essentials 7. Essential concepts you need to know 8. HTTP load balancing 9...

    Kubernetes Up and Running Dive into the Future of Infrastructure

    Familiarity with concepts like load balancers and network storage will be useful, though not required. Likewise, experience with Linux, Linux containers, and Docker, though not essential, will help ...

    Learning OpenStack Networking 3rd Edition

    including networks, subnets, and ports will segue into advanced topics such as security groups, distributed virtual routers, virtual load balancers, and VLAN tagging within instances.

    安卓java读取网页源码-Cloud:云

    Balancers Network Load Balancers Classic Load Balancers 保护您的 Web 应用程序免遭常见 Web 漏洞的攻击 1.3 数据加密 2 性能效率 2.5 选择 2.5.1 计算服务类别---计算是处理数据的服务(例如,虚拟机) 基于VM的...

    internallb-webhook-admission-controller:Kubernetes内部负载平衡器准入Webhook

    Kubernetes内部负载平衡器准入Webhook 该Kubernetes Admission控制器仅允许创建包含正确的云提供程序注释的v1 /服务资源,以创建内部LoadBalancers。 有关这些注释的详细信息,请参见。CircleCI构建状态项目状态实验...

    OpenStack Cloud Computing Cookbook

    Configure networks, routers, load balancers, and more with Neutron Use Keystone to setup domains, roles, groups and user access Learn how to use Swift and setup container access control lists Gain ...

    Deploying Node.js(PACKT,2015)

    Furthermore, step-by-step instructions on deploying applications to providers such as DigitalOcean and Heroku will be provided, including information on setting up load balancers and proxies....

    Python库 | mypy_boto3_elbv2-1.17.37.0-py3-none-any.whl

    1. 创建、配置和管理Application Load Balancers (ALBs) 和 Network Load Balancers (NLBs)。 2. 注册和注销目标组中的实例或IP地址。 3. 设置监听器、规则和目标组,以定义流量如何路由到后端服务。 4. 监控和调整...

    负载均衡器

    负载均衡器在服务器场中的多个服务器之间分配网络或应用程序流量。 每个负载平衡器都位于客户端设备和后端服务器... Application Load Balancers provide advanced routing and visibility features targeted at appl

    云平台的Node.js封装pkgcloud.zip

    pkgcloud 是一个 Node.js 的标准库,封装了不同云平台的操作。... Load Balancers (beta) Rackspace Orchestration (beta) Openstack Network (beta) HP Openstack 标签:pkgcloud

    aws-rotate-cert:在 AWS 中的所有 Cloudfront 分配和弹性负载均衡器上轮换 SSL 证书

    aws-rotate-cert 在 AWS 中的所有 Cloudfront 分配和弹性负载... $ aws-rotate-cert us-east-1 example.org-2014-04-07 example.org-2015-05-21Updated 1 Cloudfront distributionsUpdated 1 Elastic Load Balancers

    Python库 | mypy_boto3_elbv2-1.17.10.0-py3-none-any.whl

    `ELBv2`是AWS负载均衡服务的新一代版本,提供了更高级的功能,如应用负载均衡(Application Load Balancers, ALBs)、网络负载均衡(Network Load Balancers, NLBs)以及目标组(Target Groups)等。 **mypy_boto3_...

Global site tag (gtag.js) - Google Analytics