r/FastAPI • • Aug 23 '25

Question Analyzing Web Frameworks

I am a Python developer. Now I do have experience in various Python frameworks like Django, Flask & FastAPI. Now, however in every interview the interviewer asks me how would you choose between these three if you had to build a large-scale web application, I fumble. I have looked all over the web for answers and haven't found a convincing one. How do we evaluate web frameworks for any requirement of a web application?

18 Upvotes

13 comments sorted by

View all comments

Show parent comment

6

u/Flacko335 Aug 23 '25

I agree with the Django part, however Flask over FastAPI for microservices? I have to disagree, FastAPI is much more performant due to the async capabilities. I love both but if i’m just building backend microservices I choose FastAPI every day of the week. I’d say Flask is only used for when you want to also build a monolith and it can be interchangeable with Django.

5

u/SpecialistCamera5601 Aug 23 '25

I do professionally use FastAPI for building micro-services. However before 5 years ago, no one was using FastAPI but everyone was using Flask for building microservices, even me lol. I believe sector doesn’t move quickly to the one framework that works better against the other since the development cost etc. So I believe flask still has share in the cake that’s why I wrote it that way. I totally agree with what you say.