Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Avoiding DNS Lookups for localhost on socket.send #77

@dm03514

Description

@dm03514

Greetings! I recently noticed that nodes udp library does a dns lookup on every socket.send call. It looks like newer versions of node allow callers to specify a custom lookup function on socket creation dgram.createSocket. But older versions don't.

Would it be possible to introduce a change to allow callers to specify a createSocket function as part of the statsd client arguments. This approach was taken in order to enable backwards compatibility with wayyy older versions of node (ie v0.10).

I appreciate your time!

danny

#76

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions