Re:Macro-Benchmark with Django, Flask and AsyncIO
by bohinjc on Wednesday February 25, 2015 @10:59AM
(#9107341)
AFAIK Flask does not aim for performance first, it aims for developer productivity and code readability first. The whole thread-local thing is a good example of those trade-offs.
I'm not saying it's the best choice (nor the worse), just that it's a choice and it has consequences. At some point you need to make compromises, depending on your goal.
I'm not saying it's the best choice (nor the worse), just that it's a choice and it has consequences. At some point you need to make compromises, depending on your goal.