4 ms·
Will my response time go from the 300ms it takes without asyncio to something "more performant", like 50ms If you have to do 1000 queries it could, since could
by ma2rten 10y ago
Will my response time go from the 300ms it takes without asyncio to something "more performant", like 50ms
If you have to do 1000 queries it could, since could async will make it feasible to do them parallel. If it's a single query, maybe async would make it feasible to shard the database.
- manquer 10y agoyou usually see this pattern in ORMs with n+1 querys . If a single request requires 1000 db queries it is better to be optimising the query