3 ms·
Need? Of course not. It's always been possible to do the same thing "by hand". But you certainly do need to not have all your threads blocking while external ca
by lmm 13y ago
Need? Of course not. It's always been possible to do the same thing "by hand". But you certainly do need to not have all your threads blocking while external calls happen (although from elsewhere in the thread it sounds like your peak is 500 requests/second/machine? That's not so many, maybe you can afford to make blocking DB calls in the request path), one way or another.
A better question is how many lines of code the async feature saves, compared to the code you would write without it.