RocketChat - How to Install RocketChat Server with Multiple Instances per Host

Опубликовано: 09 Август 2026
на канале: Happy Ghost
224
2

RocketChat - How to Install RocketChat Server with Multiple Instances per Host

📌 RocketChat tutorials :

👉 RocketChat - How to Install and Configure RocketChat Server latest version on Ubuntu 22.04 | 20.04 | 19.04 | 18.04 LTS :    • RocketChat - How to Install and Configure ...  

👉 RocketChat - How to Install RocketChat Server using Snap in Ubuntu | Debian :    • RocketChat - How to Install RocketChat Ser...  

👉 RocketChat - How to Install RocketChat Server using Snap on CentOS | AlmaLinux | RockyLinux:    • RocketChat - How to Install RocketChat Ser...  

👉 RocketChat - Install and Configure Nginx as Reverse Proxy for RocketChat on Ubuntu 22.04 20.04 18.04 LTS :    • RocketChat - Install and Configure Nginx a...  

👉 RocketChat - How to Create Local Account on RocketChat server :    • Video  

👉 RocketChat - Install and Configure Nginx SSL Reverse Proxy for RocketChat on Ubuntu :

👉 RocketChat - How to Disable/Enable Two Factor Authentication in RocketChat Server :    • Video  

👉 RocketChat - How to integrate Active Directory to sync Users on RocketChat Server :    • RocketChat - How to Integrate Active Direc...  

👉 RocketChat - How to Download and Install RocketChat Client on Windows :    • RocketChat - How to Download and Install R...  

👉 RocketChat - How to Install RocketChat Server with Multiple Instances per Host:    • RocketChat - How to Install RocketChat Ser...  

👉 RocketChat - How to Install RocketChat Client on Ubuntu : updating

👉 RocketChat - How to Install RocketChat Client on Android : updating

You may find that Rocket.Chat slows down once you have a lot of concurrent users. When this sluggishness begins, you will likely see Rocket.Chat node process approaching 100% CPU (even if the host CPU load is low). This is due to the single-threaded nature of Node.js applications; they can’t take advantage of multiple cores natively.

While its possible to scale out by adding more servers (and this is recommended for HA purposes), you can achieve better utilization of your existing hardware by running multiple instances of the Rocket.Chat application (Node.js/Meteor app) on your current host(s). Of course, you only want to do this if you’re already running on a multi-core machine. A reasonable rule-of-thumb may be to run N-1 Rocket.Chat instances, where N=num_cores.

Running multiple instances of Rocket.Chat on a single host requires a reverse proxy in front of your application. This tutorial assumes that you’ve already followed the tutorial for Running behind a Nginx SSL Reverse Proxy.