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

Reuse TCP/IP socket connection and pipeline outgoing queries #147

Merged
merged 1 commit into from Aug 11, 2019

Commits on Aug 11, 2019

  1. Reuse TCP/IP socket connection and pipeline outgoing queries

    The TcpTransportExecutor will now keep the TCP/IP socket connection to
    the DNS server open for a short period. Additional queries can reuse the
    same socket connection and pipeline multiple queries over this single
    socket. This avoids creating multiple socket resources for concurrent
    requests and implies the TCP/IP connection overhead only applies once
    instead of for each query. Among others, this helps avoiding excessive
    resources and significantly improves query performance when using
    multiple (concurrent) queries.
    
    This implements RFC 7766 as per https://tools.ietf.org/html/rfc7766
    clue committed Aug 11, 2019
    Copy the full SHA
    44a8c92 View commit details
    Browse the repository at this point in the history