gproc
gproc copied to clipboard
Extended process registry for Erlang
I've found gproc_pool very flexible vs other pool libraries, but found this behaviour ``` 48> gproc_pool:claim(pool, fun(_, P) -> P end). {true,} 49> Pid = spawn_link(fun() -> gproc_pool:claim(pool, fun(_, P)...
Type : a, p,c, r,rc what meaning a, p, c, r, rc? l | g is local, global
Hi, I am using gproc in distributed mode. There are two erlang VM nodes running in two separate machine in local network with 8CPU, 32GB machine and 1Gbps link between...
Hi, I have a message based interface. One of the messages is a subscribe operation and I want to implement the subscription service on the "server side" (the one keeping...
Hi! I have two servers with gproc and gen_leader. When I update some server - I run new one and then stop old. Everything was fine, but today I found...
It might be useful to have a shared property that is created with the first pid and deleted when the last pid using this property is killed. For example, we...
Hi, Gproc applies `erlang:monitor/1` to a process when one do `gproc:reg/1`, but it seems that the monitor will never demonitored unless the process is down. Should we care about those...
Hi, first example: ``` erlang spawn(fun() -> gproc:reg({n, g, key_2}), gproc:unreg({n, g, key_2}) end). ``` This calling supposed to be corrent, my 2 node's ets will empty. second example: ```...
Make gproc:get_env() et.al. pluggable. Also allow for alternative lookup methods to be 'caching' - i.e. if they fail to find a value, but it's found by a later alternative, it...
When `get_env` is called with a key that _does not exist_ in the gproc cache the function exits the process with badarg; this is the expected behaviour if there is...