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

Update TopicMap to use RWMutex #18

Merged
merged 1 commit into from Feb 4, 2019

Conversation

Projects
None yet
2 participants
@tessellator
Copy link
Contributor

tessellator commented Feb 4, 2019

Fixes #17

This commit updates the TopicMap implementation to use a RWMutex
instead of a Mutex internally. This change offers more clear semantics
as well as a better performance profile for concurrent reads.

Signed-off-by: Chad Taylor taylor.thomas.c@gmail.com

Update TopicMap to use RWMutex
This commit updates the TopicMap implementation to use a RWMutex
instead of a Mutex internally. This change offers more clear semantics
as well as a better performance profile for concurrent reads.

Signed-off-by: Chad Taylor <taylor.thomas.c@gmail.com>
@alexellis
Copy link
Member

alexellis left a comment

Approved

@alexellis alexellis merged commit a5ab727 into openfaas-incubator:master Feb 4, 2019

@alexellis

This comment has been minimized.

Copy link
Member

alexellis commented Feb 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment