[erlang-questions] wildcarded resource counters in Gproc

Ulf Wiger <>
Thu Dec 1 22:19:33 CET 2016

2016-12-01 19:18 GMT+01:00 Garrett Smith <>:

> And another tack - is there a path here to a generalized interface for
> alternative schemes? E.g. passing along a function to do some work on
> the table? Maybe not for the faint of heart, but this would reduce the
> temptation to modify the interface for these case.

One complication that comes to mind is the need for symmetry - at least in
the case of aggregated counters and resource counters: they need to
increment on one end and correspondingly decrement on the other.

There is of course also the question of how much functionality can be
crammed into gproc before people simply give up. :)

But again, open to suggestions and PRs.

Ulf W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161201/f94cc5c0/attachment.html>

More information about the erlang-questions mailing list