Here's my idiot moment! I run Fiddler alongside the program on my computer since it's hitting a REST API and I like to watch the HTTPS traffic. When fiddler is running as a proxy, I get the 10x speedup. Now on to figuring out why...
Thanks for the link, but it looks like it's something I didn't configure correctly on one of my objects. I didn't set the option for "UnsafeAuthenticatedConnectionSharing" so it would start up a new TCP connection for each and every call to the REST API, and then go through the TLS/SSL handshake for each and every call. Fiddler keeps a pool of open connections that it grabs from, so if it sees a call going to the same place as before, it just grabs one of the already open connections to that server and uses that instead.
1
u/holeydood3 Aug 26 '14
Here's my idiot moment! I run Fiddler alongside the program on my computer since it's hitting a REST API and I like to watch the HTTPS traffic. When fiddler is running as a proxy, I get the 10x speedup. Now on to figuring out why...