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
Need for synchronization while looking up Zones #305
Comments
This might be possible. The Zone code is rather old and I wonder if might be better to rewrite some parts, especially the ones that use Object to operate on either a single RRSet or on a list of RRSets. In what case do you run into lock contentions? Multiple parallel reads? |
@ibauersachs Yes, that Object comparison on RRSet or a list oif RRSets was another one of the areas that I was looking at. But in this case, yes, I'm seeing bottlenecks and resource contentions on the |
Thanks, a PR is always welcome! |
@ibauersachs PR is out for review. |
I was wondering what the point of synchronizing methods like
allRRsets
,oneRRSet
,lookup
andexactName
is. Could we possibly use aReEntrantReadWriter
Lock (only Read locks in this regard) to attain the same behavior. This should result in considerable performance increase and less resource contention. Any feedback is welcome.The text was updated successfully, but these errors were encountered: