[erlang-questions] pg2 vs gproc?

Motiejus Jakštys <>
Sat May 26 22:38:17 CEST 2012


Hi,

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
* QLC

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

Any more differences between them?

Thanks,
Motiejus



More information about the erlang-questions mailing list