mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs(deploy): add node cluster mode (#7089)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
This commit is contained in:
parent
9249e5e7a6
commit
fb179caa38
@ -49,6 +49,12 @@ module.exports = {
|
||||
}
|
||||
```
|
||||
|
||||
### Using Cluster Mode
|
||||
|
||||
You can use `NITRO_PRESET=node_cluster` in order to leverage multi-process performance using Node.js [cluster](https://nodejs.org/dist/latest/docs/api/cluster.html) module.
|
||||
|
||||
By default, the workload gets distributed to the workers with the round robin strategy.
|
||||
|
||||
## Learn More
|
||||
|
||||
:ReadMore{link="https://nitro.unjs.io/deploy/node" title="the Nitro documentation for node-server preset"}
|
||||
|
Loading…
Reference in New Issue
Block a user