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

Use ets:update_counter to update RADIUS metrics #194

Merged
merged 1 commit into from
Mar 24, 2021

Conversation

0xAX
Copy link
Member

@0xAX 0xAX commented Mar 23, 2021

Previously we used two operations to update a RADIUS counter metric:
ets:lookup/2 and ets:insert/2. This commit replaces these operations
with one - ets:update_counter/4 which should be more efficient.

@0xAX 0xAX requested a review from a team as a code owner March 23, 2021 11:08
Previously we used two operations to update a RADIUS counter metric:
ets:lookup/2 and ets:insert/2. This commit replaces these operations
with one - ets:update_counter/4 which should be more efficient.
@0xAX 0xAX force-pushed the update-counter-instead-of-lookup-and-insert branch from 49f4437 to b508729 Compare March 24, 2021 07:14
@0xAX 0xAX changed the title use ets:update_counter to update RADIUS metrics Use ets:update_counter to update RADIUS metrics Mar 24, 2021
@0xAX 0xAX merged commit 94153a9 into master Mar 24, 2021
@0xAX 0xAX deleted the update-counter-instead-of-lookup-and-insert branch March 24, 2021 07:43
@0xAX 0xAX restored the update-counter-instead-of-lookup-and-insert branch March 24, 2021 07:55
@0xAX 0xAX deleted the update-counter-instead-of-lookup-and-insert branch March 24, 2021 07:57
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.

2 participants