[erlang-questions] Resource discovery & load balancing

Jayson Barley <>
Thu Apr 26 17:43:17 CEST 2012


Andy,

It all depends on what you are load balancing. I most often analyze data so
I use a queue and have each of my nodes grab jobs off of the queue as they
become available.  This works well for me.

Jayson

On Thu, Apr 26, 2012 at 8:39 AM, CGS <> wrote:

> Hi Andy,
>
> I used round robin to solve such a problem. It's easy to implement, it can
> be tuned according to your hardware capabilities and scaled easily
> according to the number of nodes to be used.
>
> I hope this message will help.
>
> CGS
>
>
>
>
>
> On Thu, Apr 26, 2012 at 5:30 PM, Andy Richards <
> > wrote:
>
>> Hi all,
>>
>> I've read the chapter on resource discovery in Erlang & OTP In Action
>> Logan et al and understand how I can dynamically bring an additional node
>> into a cluster, however I can't find a good resource explaining good
>> approaches to distributing load across such nodes?
>>
>> I'm assuming I will need to do some sort of hashing or round robin across
>> the nodes but was wondering how others in the community distribute load
>> across nodes (using resource discovery) or if anyone was aware of a good
>> resource related to this?
>>
>> Many thanks,
>>
>> Andy.
>>
>> Sent from my iPad
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120426/b0dc1bd8/attachment.html>


More information about the erlang-questions mailing list