Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gproc_ext, first commit #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

gproc_ext, first commit #129

wants to merge 1 commit into from

Conversation

uwiger
Copy link
Owner

@uwiger uwiger commented Dec 13, 2016

Still work in progress, but test suite passes.

Introduce a metadata map and a configurable callback module (default: gproc_ext), which can define additional gproc registry types. The custom types must be variants of the default types (p, n, c, a, r, rc). The gproc_ext.erl module adds the types rw and rcw (resource counters with wildcard support).

TODO: benchmark different operations to check whether the changes incur noticable overhead.

@uwiger
Copy link
Owner Author

uwiger commented Dec 14, 2016

First benchmarks indicate that the changes incur an overhead of a few percent, up to almost 25% for update_counter(). While the extra cost seems acceptable for custom types, some special-casing of the legacy types will be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant