Comment

Comment by socialist_coder

"When you don't need it"

If you're doing any kind of database / external network calls - won't you gain a huge amount of requests per second?

I ask partly because on one of my projects, we have a fastapi app, but it's not using async, and I have been toying with the idea of converting it to async. It will take some work though because it uses libs that don't support async.

I thought the advantages would be worth it because we hit postgres and/or redis on all requests.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton