Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
And is it really necessary?
I was wondering somehow...
Compared aiohttp, quart (async clone of Flask), Flask (on which the sale is running now) and raw golang. On a real architecture of its own, with several queries to the database (postgres).
Results: golang covers everyone, but the difference is not amazing. factor of. Interestingly, Flask is not that far behind. This is not surprising, because the main brake is the base.
And then I looked even more carefully, and realized: for me, it’s generally more important not to issue the same page 100500 times, which is easily solved by the cache, but the minimum time to form one page. And here is a joke: Flask from asynchronous frames generally goes head to head, as if sometimes it doesn’t overtake!
Well, it’s completely ridiculous: while I was tinkering with sources, I figured out how to implement a small architectural tuning. And everything has accelerated almost 10 times on the old code = no need to rewrite anything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question