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

Remove forced Mutex from handler #1679

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

jeff-hiner
Copy link
Contributor

The mutex here causes severe performance issues if you write e.g. a DNS proxy where some delegates take longer than others-- it forces serialization between invocations of request_handler but it's not required because there are no mutable borrows of self.

@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #1679 (50e85b2) into main (466f268) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1679      +/-   ##
==========================================
+ Coverage   79.85%   79.86%   +0.01%     
==========================================
  Files         183      183              
  Lines       18602    18599       -3     
==========================================
  Hits        14853    14853              
+ Misses       3749     3746       -3     

Copy link
Member

@bluejekyll bluejekyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Thank you for the pr!

@bluejekyll bluejekyll merged commit b5f4042 into hickory-dns:main Apr 8, 2022
@jeff-hiner jeff-hiner deleted the remove_server_mutex branch April 11, 2022 15:26
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.

None yet

2 participants