Skip to content

Instantly share code, notes, and snippets.

@haproxytechblog
Created February 14, 2019 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haproxytechblog/19196b66cc6ac0dc025ae5d3d0c80d1d to your computer and use it in GitHub Desktop.
Save haproxytechblog/19196b66cc6ac0dc025ae5d3d0c80d1d to your computer and use it in GitHub Desktop.
Power of Two Load Balancing
GET /MyTime/bob HTTP/1.1
Host: mytime.example.local
HTTP/1.0 200 OK
Server: BaseHTTP/0.6 Python/3.6.7
Date: Tue, 22 Jan 2019 16:38:11 GMT
<HTML><BODY>Hello Bob Smith, your IP address is 198.18.0.7 and your local time is 10:38.</BODY></HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment