[erlang-questions] Grouping processes

27 views
Skip to first unread message

Jared Kofron

unread,
Apr 26, 2012, 11:27:51 AM4/26/12
to Erlang Questions
Hi List,
I'd like to be able to have 'groups' of processes that I can send messages to, such that sending a message
to a group through whatever API there is results in that message being sent to all members of that group.

Is anybody aware of an existing project that provides this functionality?

Jared K
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Tilman Holschuh

unread,
Apr 26, 2012, 11:58:32 AM4/26/12
to Jared Kofron, Erlang Questions
Hi Jared,

Have you had a look at Ulf Wiger's gproc for this?

https://github.com/uwiger/gproc

Cheers
- Tilman

Rick Pettit

unread,
Apr 26, 2012, 12:09:30 PM4/26/12
to Tilman Holschuh, Erlang Questions

On Apr 26, 2012, at 10:58 AM, Tilman Holschuh wrote:

> Hi Jared,
>
> Have you had a look at Ulf Wiger's gproc for this?
>
> https://github.com/uwiger/gproc

There's also pg2, which comes with the erlang distribution.

I haven't personally used gproc (though after a glance at the docs that looks worth checking out, too).

-Rick

Tim Watson

unread,
Apr 26, 2012, 4:07:33 PM4/26/12
to Rick Pettit, Erlang Questions
You might also look at http://hg.rabbitmq.com/rabbitmq-server/file/default/src/gm.erl

Sent from my iPhone

Max Bourinov

unread,
Apr 27, 2012, 3:49:48 AM4/27/12
to Tim Watson, Erlang Questions
gproc works very well. I suggest trying gproc too.

Best regards,
Max
Reply all
Reply to author
Forward
0 new messages