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

Implement Parallel A/AAAA Queries #2

Open
wahern opened this issue Jan 5, 2016 · 0 comments
Open

Implement Parallel A/AAAA Queries #2

wahern opened this issue Jan 5, 2016 · 0 comments

Comments

@wahern
Copy link
Owner

wahern commented Jan 5, 2016

Support parallel A/AAAA queries. Likely implementation includes

  • Send & receive queue as either
    • simple, 2-packet queue integrated into struct dns_socket
    • complex queuing data structure supporting a shared socket among multiple resolvers
      • BUT complicates event polling contract--assumes event loop will wake up all pollers, or requires unique epoll/kqueue/socketpair descriptor per resolver
    • multiple sockets per resolver object
      • BUT complicates event polling contract--requires using epoll/kqueue descriptor to proxy multiple socket descriptors
  • 2 execution stacks per resolver object, instead of 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant