扩展 n8n(Scaling n8n)#
当大规模运行 n8n,例如用户、工作流或执行次数较多时,你需要更改 n8n 配置以确保良好的性能。
🌐 When running n8n at scale, with a large number of users, workflows, or executions, you need to change your n8n configuration to ensure good performance.
n8n 可以根据你的需求在不同的 [mode](/hosting/scaling/queue-mode.md)中运行。“queue”模式提供了最佳的可扩展性。有关配置细节,请参阅[队列模式](/hosting/scaling/queue-mode.md)。
🌐 n8n can run in different modes depending on your needs. The queue mode provides the best scalability. Refer to Queue mode for configuration details.
你可以配置数据保存和修剪以提高数据库性能。有关详细信息,请参阅执行数据。
🌐 You can configure data saving and pruning to improve database performance. Refer to Execution data for details.