News for hackers. Stuff that matters.
Re:Benchmarking Codswallop: Node.js vs. PHP by STRML on Wednesday November 13, 2013 @05:55AM (#6724411)
You're close, but the rub is, every single http request uses the same agent (globalAgent), unless specifically passed an individual http agent or "{agent: false}" in configuration. So it is effectively a global connection pool. This has caused all kinds of performance issues in production applications. It can be easily shut off but it is easy to miss in the docs. The default of 5 has met its demise in 0.11 - the new default is Infinity.

There are no comments on this comment yet.