Change nsHostResolver to dispatch one resolver task per native lookup
Categories
(Core :: Networking, enhancement, P3)
Tracking
()
People
(Reporter: valentin, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
bugherder |
Reporter | ||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
bugherder |
![]() |
||
Updated•7 years ago
|
Reporter | ||
Comment 11•4 years ago
|
||
We do want to do this eventually, but it requires a bigger refactoring of the entire DNS code to be achievable.
Reporter | ||
Comment 12•1 year ago
|
||
Some context:
valentin: there were two issues with the bug. First the patch didn't properly dispatch a task every time it was supposed to, and sometimes DNS lookups would hang. Secondly, the threadpool wasn't exactly great for this, as we want the thread to pick up the request with the highest priority first
jens: Yeah, I assumed there to be some priority handling wanted that you'd need to resemble. Maybe we could have a prioritization wrapper around thread pool with three event queues or some such.
Right now the runnable event's priority can't really be used to express the priority of a DNS requests, especially since it can change while it's waiting in the queue.
Reporter | ||
Comment 13•1 year ago
|
||
Putting this in the backlog for now.
It would be a nice improvement, but not one that is critical right now.
Description
•