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

Connection not being reused when sending events #186

Open
vikasra-seekout opened this issue May 25, 2021 · 0 comments
Open

Connection not being reused when sending events #186

vikasra-seekout opened this issue May 25, 2021 · 0 comments

Comments

@vikasra-seekout
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant