points | by baq 2 years ago ago
2 comments
That is of course a huge overhead, compared to how other languages solve the problem.
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).
That is of course a huge overhead, compared to how other languages solve the problem.
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).