3 ms·
Is async truly useful when using fastapi? I remember seeing metrics suggesting that's not really the case.
by ramraj07 6y ago
Is async truly useful when using fastapi? I remember seeing metrics suggesting that's not really the case.
- buffalobuffalo 6y agoNot the OP, but I've built stuff with fastapi/asyncio. The biggest advantage IMO is the simplicity of the syntax. For example, if you are trying to send two outgoing requests in parallel, it's basically one line. Try doing that with python threading.