Could not understand Nakama runtime configuration: js_max_count

  • Nakama 3.15 - Typescript runtime - Docker (Kubernetes).

Could you help me to explain the js_max_count config.
Can I use it to improve my game server performance?


Hey @nghiaht,

That value indicates how many concurrent VMs are preallocated for the JavaScript runtime.
If you’re having performance problems due to a high volume of RPC calls you could try to increase this. You should monitor memory usage and not set this value too high, otherwise the game servers will run out of memory.

1 Like

Thank you very much