[erlang-questions] Scoped group leaders

Eric Merritt ericbmerritt@REDACTED
Mon Jul 4 16:15:42 CEST 2011


I can actually see a ton of uses for this. Not the least of which is
security, I just did a deep security piece in an erlang app, and it
turned out well, but I could see where something like this would have
made it much more elegant. The only thing that would concern me (from
looking at your implementation) is how much over head is added to
process creation. I think thats probably the main unknown, there are
probably some other things as well.

Just out of curiosity does a group leader go away when a group dies?
On Sat, Jul 2, 2011 at 7:38 PM, Yurii Rashkovskii <yrashk@REDACTED> wrote:
> Hi,
>
> I had an idea to play with this long weekend and I want to share some
> results and get some feedback.
>
> Basically, I was wondering whether it will be feasible to extend the
> concept of group leaders beyond I/O so that you can build your own
> primitives around this construct of inherited group leaders. It seemed
> to me that tasks like implicit configuration, security groups and such
> can benefit from having a more generalized group leadership mechanism.
>
> In the last two days I wrote a quick-n-dirty proof of concept
> implementation (https://github.com/spawngrid/otp/tree/group_leader_scope),
> it's pretty rough but seems to work. I also wrote an early draft of an
> EEP for this feature
> (https://github.com/spawngrid/eep/blob/scoped-group-leaders/eeps/eep-scoped-group-leaders.md).
>
> The EEP has some examples, and you can play with that PoC
> implementation (group_leader_scope branch). It's not ready for the
> prime time, though — it lacks automated tests and the performance
> implications have not yet been measured (although this should be fixed
> soon). No optimizations were considered at this moment.
>
> The EEP draft itself has not been sent to EEP editors as I plan to
> elaborate on motivations and possibly add more examples.
>
> Either way, please let me know if this is of any interest to anybody
> and if you have any thoughts about it.
>
> Have a nice weekend,
> Yurii.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list