title: using Flask and Tornado together?
body: <p>I am a big fan of <strong>Flask</strong> - in part because it is simple and in part because has a lot of <a href="http://flask.pocoo.org/extensions/" rel="noreferrer">extensions</a>.  However, Flask is meant to be used in a WSGI environment, and WSGI is not a non-blocking, so (I believe) it doesn't scale as well as <strong>Tornado</strong> for certain kinds of applications.</p>
  
  <p>Since each one has an URL dispatcher which will call a function, and both will use Python files (in Django you dont launch the python file but in flask or tornado you do) do does it make sense to  have two seperate parts to your website - one part running the non-blocking jobs with Tornado, and the other part written with Flask?</p>
  
  <p>If this is a good idea, how would you go about sharing cookies / sessions between Flask and Tornado? Will I run into issues, since Flask will use it own system and Tornado will use its own system?</p>