title: Connection timeout and socket timeout advice
body: <p>I'm currently doing some research into connection and socket timeout settings but I'm fairly new to this stuff.</p>
  
  <p>As a stab in the dark we are thinking of adding 40 seconds as a connection and sockettimeout when we run json over http calls to another server.</p>
  
  <pre><code>    httpConnectionManagerParams.setConnectionTimeout(40000);
      httpConnectionManagerParams.setSoTimeout(40000);
  </code></pre>
  
  <p>But really I don't know about how to understand what the ideal settings or best practices to use are. I would appreciate it if someone could give me some pointers on what to consider when or tips on how to come up with a good gestimate on these settings.</p>
  
  <p>The sort of advice I'm looking for is something like ... 40 seconds is far too long because it might cause another issue.... or ... the higher you set this value the more chance you have of causing another isssue... or 40 seconds is not to high at all... or to work out an ideal figure multiply Y by T</p>
  
  <p>thanks</p>
  
  <hr>
  
  <h2>EDIT</h2>
  
  <p>Adding firebug trace of server call.
  <img src="https://i.stack.imgur.com/Cn3WU.png" alt="enter image description here"></p>