News for hackers. Stuff that matters.
Re:Why choose async/await over threads? by fennecfoxy on Wednesday March 27, 2024 @06:47AM (#39837469)
Backend JS does whatever the hecky you _want_ it to do.

The Cluster module has been around for a long time: https://nodejs.org/api/cluster.html

Tbf a lot of the time you're running it in a container and you allocate 1 vcpu there, only downside is maybe a little extra memory overhead. And for most lambdas I think they're suited to being single threaded (imo).

There are no comments on this comment yet.