Comment on The four horsemen behind Postgres outagesparentComments−titanomachy2moIt’s also important to distinguish between an os thread and a userspace thread. The author said “thread” without qualification, so I don’t know which he meant. Userspace threads can be many times lighter than processes.−ubercore2moI think tokio does userspace threads running on a thread per core. At least by default.
Comments
It’s also important to distinguish between an os thread and a userspace thread. The author said “thread” without qualification, so I don’t know which he meant. Userspace threads can be many times lighter than processes.
I think tokio does userspace threads running on a thread per core. At least by default.