[erlang-questions] pg2 vs gproc?

Motiejus Jakštys desired.mta@REDACTED
Sat May 26 22:38:17 CEST 2012


For term() to pid() mapping I've always used gproc. For the same thing
my coworker always used pg2.

I am making a comparison now. There are some features in gproc which are
not in pg2:

* Await for registration
* Per-process properties
* Aggregate counters

Whereas pg2 "natively" supports mapping one key to several processes
(which can be easily achieved with QLC in gproc).

Any more differences between them?


More information about the erlang-questions mailing list