Incredibly slow outbound HTTPS requests

49 views
Skip to first unread message

Jeff

unread,
Sep 11, 2015, 8:17:55 PM9/11/15
to nodejs
I am using Node 0.12.2 with Express 4.13.3 as the frontend for a RESTful layer. Calling the API's from cURL/Postman takes ~9ms. However, using Request 2.60.0 to make the call from Node, it takes ~60ms. These are HTTPS calls. Removing HTTPS and using just HTTP brings Node down to ~7ms. Both the curl/Postman calls and the Node.js calls are happening on the same machine in the same environment under no load. I cannot seem to find what's causing Node to be so much slower than everything else. Any help would be greatly appreciated.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages