How to reduce CPU usage

Hi,
Currently, I’m working on the game https://sigmally.com/
I have a problem with backend optimization on this game.
When I have 10-15 players on the server, CPU usage up to 50%
I use DO hosting:

  • 2 CPU
  • 2 GB ram
  • SSD
    For the backend I use Node.js
    How can I reduce CPU usage? My goal to prepare the server that handles 70 players online

I also have the same problem. For the last 2 weeks. When you find the solution mention me.

1 Like

If you have backend node js. I use php on my website esportsku.com
You must optimize the server side.

  1. Reboot your server
    2 Install Any Driver server needs.
  2. Make some command to minimize prosses logic on your game.

If this step didn’t clear your problem on server side, you must upgrade your CPU, I think 2 CPU it’s too low for this game for many player.

4 GPU and 8 GB ram will be nice for your server side.

  1. Reboot. First step: save your work and restart your PC.
  2. End or Restart Processes. Open the Task Manager (CTRL+SHIFT+ESCAPE).
  3. Update Drivers.
  4. Scan for Malware.
  5. Power Options.
  6. Find Specific Guidance Online.
  7. Reinstalling Windows.

Reboot. First step: save your work and restart your PC .End or Restart Processes. Open the Task Manager (CTRL+SHIFT+ESCAPE).Update Drivers .Scan for Malware .Power Options .Find Specific Guidance Online .Reinstalling Windows .