Mr-win7 / LoadBalancerClient

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoadBalancerClient

standard-readme compliant

A load balancer client for querying ebay's backend

A Client for querying ebay's backend, with failure tolerate and round-robin load balance strategy.

Table of Contents

Background

Suppose there is a web service, for example, the URL is http://www.ebay.com. And behind the DNS, there are multiple servers providing the service, and each server has a different IP. Please write a client program to query the IPs behind the DNS, and send 100 requests to different IPs according to client-side loadbalancing strategy in order to achieve better performance and lower lantency.

Install

clone the repository.

Usage

$ ./bin/load_balancer

Design

LoadBalancerDesign.drawio.png

Maintainers

@Mr-win7.

About


Languages

Language:Go 98.9%Language:Makefile 1.1%