lafikl / liblb

A golang library that implements load balancing algorithms.
https://lafikl.github.io/liblb-site/
MIT License
360 stars 17 forks source link

I wrote a service that can use such a library #7

Open elico opened 7 years ago

elico commented 7 years ago

I have been working on an article about load balancing at: http://wiki.squid-cache.org/EliezerCroitoru/Drafts/MwanLB

And it contains a simple example of a LB solution at: http://wiki.squid-cache.org/EliezerCroitoru/Drafts/MwanLB#Round_Robin_mark_selection_-_GoLang_example

There are are couple good references in the bottom of the article which I found very useful.

lafikl commented 7 years ago

i don't think i understand what you're getting at?

elico commented 7 years ago

@lafikl I wrote a service in GoLang which implements LoadBalancing in linux and marks connections based on couple things. This is at: http://wiki.squid-cache.org/EliezerCroitoru/Drafts/MwanLB#Round_Robin_mark_selection_-_GoLang_example

Someone refereed me to the article: https://brooker.co.za/blog/2012/01/17/two-random.html

Which describes another approach to LB. This library(liblb) is very nice and I think you can see an example to an new idea on how to implement\use LB in my code (I can use your code in my application).