title: How do I poll concurrently to another server on receiving multiple long poll requests from javascripts?
body: <p>I need to receive long polling requests from a javascript client and, based on the request message, constantly poll a REST API until <code>true</code> is returned. Is something like <code>eventlet</code> with a green threading model suitable for this? If so what will be the best way to handle it?</p>
  
  <pre><code>Javascript &lt;==long polling ==&gt; Python Server &lt;==simple polling==&gt; REST API
  </code></pre>
  
  <p>There can be a maximum of 200 sessions in parallel from the Javascript client, but in general there will be 3-4 active at a time.</p>