3 ms·
Backend JS just spins up another container and/or lambda and if it's too slow and requires multiple CPUs in a single deployment, oh well, too bad.
by baq 3y ago
Backend JS just spins up another container and/or lambda and if it's too slow and requires multiple CPUs in a single deployment, oh well, too bad.
- zelphirkalt 3y agoThat is of course a huge overhead, compared to how other languages solve the problem.
- fennecfoxy 3y agoBackend 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 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).