I have an application that uses the curl command (actually a php module that calls the libcurl library) to retrieve data from a NetSuite RESTlet.
This morning the performance of that application went down hill in a big way.
However, when I use the Postman REST client, I still get good performance. Even on the first call, it returns in 3 seconds or less. Subsequent calls return in less than a second. The same curl command with the same REST URL with the same parameters executed on multiple servers on different networks in different cities all perform the same - 18 to 20 seconds. I've tried Postman on two different systems on different networks and get excellent performance on both. I even tried curl under cygwin on the same Windows box where Postman runs in 3 seconds. I get 18 seconds.
So I know two things. First, something changed on the NetSuite servers. I don't hold out much hope of an answer from them because I am now desperate and the last time they tubed my RESTlet performance they gave me a multi-week runaround before issuing a denial.
Second, I can tell that Postman is doing something differently from curl (and wget with its completely different codebase). It must set different bits somewhere to get the massively different performance it gets. Since this is an SSL connection, a sniffer doesn't tell me anything of use.
Can anyone suggest anything? I would be very grateful.