title: how to manage requests in a queue to a Flask server?
body: <p>I am working on building a simple Flask server which is going to provide a compilation service to a small group of people. </p>
  
  <p>One can connect to the server using a url, enter his function code to a <code>&lt;/textarea&gt;</code> and then hit a "<code>submit</code>" button that is going to compile the code in the background and then display it on another <code>&lt;/textarea&gt;</code> on the same page.
  Each such compilation request might take few minutes, so I was thinking that I will need some queue to store those users' requests in case some users are making requests simultaneously. 
  What is the best way to do that? Should I create a <code>Lib/Queue</code> and manage everything manually, the queueing the callback afterwards and so forth? </p>
  
  <p>I assume there is some know methodology for queueing such requests made to a server which is simply don't know. I don't think i need to re-invent the wheel here.</p>