From: Chatterjee, S. <Sri...@co...> - 2023-11-17 03:53:17
|
Hi all! I’m very new to this mailing group. We use the dnsjava library at work for our traffic routers. I was wondering what the point of synchronizing methods like `allRRsets`, `oneRRSet`, `lookup` and `exactName` is. Could we possibly use a ReEntrantReadWriter 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. Looking forward to hearing from the community. Thanks, Srijeet |