[erlang-questions] pg2 scale limits
Thu Dec 12 18:30:05 CET 2013
The one thing to watch for is that pg2 will take a global lock over all nodes in a mesh when a join/leave is done. This means that if you are doing lots of joins, and have a mesh of Erlang nodes, then there is a performance overhead. Not a massive one, but something to watch for.
> From: mallen@REDACTED
> To: erlang-questions@REDACTED
> Date: Wed, 11 Dec 2013 10:19:42 -0600
> Subject: [erlang-questions] pg2 scale limits
> What has been the experience of folks with the practical upper bound of
> process groups registered with the pg2 application?
> I have an application where I need to track 10000 or so process groups
> across a set of erlang nodes (2 R14B04 Erlang VMs running on top of 2
> Debian VMs to start.) Would that size of registry cause problems?
> I read
> tics.html and it was a great read - are there any other pitfalls about pg2
> that I should be aware of?
> I am planning to implement a "prototype" of this application using pg2 at
> reasonably low scale, but I am open to other implementation suggestions or
> applications (I looked at gproc too, but I'd rather stick with pg2 if
> possible because it comes "out of the box"...)
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions