Artifacts Associated With Ticket 316edadc2411d1b5
Ticket change [74018adb03] (rid 40872) by js on 2022-11-27 17:45:29:
- icomment:
Currently, `OFHostAddressResolver` queries the DNS server every time. However, this means no caching is performed when performing multiple connections to the same host. Look at the returned TTL and keep it in a cache for that long.
- login: "js"
- milestone initialized to: "1.0"
- mimetype: "text/x-markdown"
- priority initialized to: "Medium"
- severity initialized to: "Important"
- status initialized to: "Open"
- title initialized to: "Add a cache in OFHostAddressResolver"
- type initialized to: "Feature_Request"
- icomment:
Ticket change [c92fe9eba5] (rid 40874) by js on 2022-11-28 22:15:17:
- icomment:
Actually, it probably makes more sense to add the cache in `OFDNSResolver`, as there is very little reason for any kind of DNS query to be repeated if the TTL hasn't expired yet. This cache probably makes most sense to be per-instance, even though that means there is no reuse between threads. But the added locking on every lookup is probably worse than just doing one lookup per thread.
- login: "js"
- mimetype: "text/x-markdown"
- resolution changed to: "Open"
- title changed to: "Add a cache in OFDNSResolver"
- icomment:
Ticket change [ac9c40eb73] (rid 42318) by js on 2023-07-15 14:39:00:
- icomment:
This is not causing any problems and purely a performance optimization, so really shouldn't block 1.0.
- login: "js"
- milestone changed to: "none"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [911cb9ad04] (rid 43442) by js on 2023-12-29 16:30:06:
- icomment:
Implemented by [](252f11c431578d91) and [](219aa9cf659c2a6d).
- login: "js"
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Fixed"
- icomment:
Ticket change [377a0f9faf] (rid 44367) by js on 2024-01-14 13:33:42:
- login: "js"
- milestone changed to: "1.1"
- mimetype: "text/x-markdown"