Skip to content

Connection not being reused when sending events #186

@vikasra-seekout

Description

@vikasra-seekout

In Azure, instances of Node need to utilize outbound connections efficiently as there is a hard limit on the number of concurrent outbound ports (https://docs.microsoft.com/en-us/azure/load-balancer/troubleshoot-outbound-connection)

When profiling our use of outbound ports, we notice that mixpanel-node creates a very large number of connections since it is not leveraging connection pooling - this is causing us to exceed our SNAT thresholds and start failing requests. The library doesn't seem to support setting any configuration to override this behavior, any known workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions