title: How to make quick http requests ? (Java)
body: <p>I made an application that serves as an autobuyer. Making it as fast as possible is crucial to get to the item faster than anyone else. I am using an infinite loop (i.e. for(;;)) to make continuous http requests and then parsing the JSON result.</p>
  
  <p>Does anyone know how to make multiple simultaneous requests ? Mine currently does about 3 requests a second.
  Also is java not appropriate for this sort of application ? Should I consider using another language maybe ?</p>
  
  <p>Thank you very muuuch ! </p>
  
  <p>Edit: I use a search function like</p>
  
  <pre><code>for(;;){
  search(323213, 67);
  search(376753, 89);
  }
  
  public void search(int itemID, int maxPrice) {
  
  // sets the http request with the need cookies and headers
  // processes the json. If (itemId==x&amp;&amp;maxPrice&gt;y) ==&gt; call buy method
  
  }
  </code></pre>