liblb icon indicating copy to clipboard operation
liblb copied to clipboard

I wrote a service that can use such a library

Open elico opened this issue 8 years ago • 2 comments

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.

elico avatar Jun 27 '17 22:06 elico

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

lafikl avatar Jul 02 '17 13:07 lafikl

@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).

elico avatar Jul 02 '17 13:07 elico