[erlang-questions] pool of jinterface noes

Steven Edwards cureadvocate@REDACTED
Sun Feb 15 16:05:59 CET 2009


Using the queue module seems like the easiest to me.

http://www.erlang.org/doc/man/queue.html

Spawn the JInterface nodes, push them into a queue as they come online with
queue:in/2.  queue:out/1 when you need to dispatch to one, then push it back
when its done.

On Sun, Feb 15, 2009 at 6:00 AM, <erlang-questions-request@REDACTED>wrote:

> Message: 1
> Date: Sat, 14 Feb 2009 22:27:10 +0200
> From: Dmitrii Dimandt <dmitriid@REDACTED>
> Subject: [erlang-questions] pool of jinterface noes
> To: erlang-questions@REDACTED
> Message-ID: <22DEB843-A230-4FE2-AABA-77709C31A275@REDACTED>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> What's the simplest way to create a load-balancing pool of jinterface
> nodes.
>
> I realize simplest is not always the most efficient, so if anyone has
> an efficient implementation, I'd love to learn that as well :)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090215/f09f0e72/attachment.htm>


More information about the erlang-questions mailing list