title: Serve concurrent users with Flask and gunicorn
body: <p>I'm using a flask app behind gunicorn server. I would like my app to serve concurrent request. For testing this purpose, I've written a small test:</p>
  
  <pre><code> @app.route('/test', methods=['GET'])
   def get_tasks_test():
       time.sleep(10)
       return jsonify({'test is working'})
  </code></pre>
  
  <p>I start gunicorn with: </p>
  
  <blockquote>
    <p>gunicorn app:app localhost:8000 --reload --worker-connections 100
    --worker-class gevent</p>
  </blockquote>
  
  <p>now i send some concurrent requests simultaneously, and expect the server to respond for all of them in around 10 seconds (because of the sleep i've set)
  however, the server seems to wait 10 seconds between each request, which refutes the concurrency in my opinion.
  Am I right? what should i do to make my server handle concurrency?</p>