Page MenuHomePhabricator

Performance: Investigate HTTP client connection pooling and HTTP pipelining
Closed, DeclinedPublic

Description

Our API connections are currently using the request library due to bugs in earlier versions of the native http module. We should investigate if those are fixed in 0.8 or 0.10, and then see if we can use a pool of persistent connections per worker. That should hopefully speed things up a bit by removing some latency, and give us control over the maximum concurrency we are requesting per worker.

See also:
http://nodejs.org/api/http.html#http_class_http_agent


Version: unspecified
Severity: normal

Details

Reference
bz51272