Comment by Yokohiii
2 days ago
I mean single threaded + sync.
Sync options are useful. If everything is on the net probably less so. But if you have a couple of 1ms io ops that you want to get done asap, it's better to get them done asap.
2 days ago
I mean single threaded + sync.
Sync options are useful. If everything is on the net probably less so. But if you have a couple of 1ms io ops that you want to get done asap, it's better to get them done asap.
> But if you have a couple of 1ms io ops that you want to get done asap, it's better to get them done asap.
and async prevents this how?
my statement was in response to "fs.readSync shouldn't exist". that is how.
if it didn't exist, the async version would still exist, which you could use to get it done asap
1 reply →