Is there a limit to the amount of server resources I can use for my game, or are Roblox servers automatically scalable?
I’m developing a game with a large scope that includes many scripts, most of which run on the server side. Some scripts function as “API” code, utilizing a lot of Bindable Events and Remote Events, which I assume aren’t too CPU intensive. Additionally, there will be hundreds of server scripts managing individual NPCs.
The code I am writing is not relatively unique for any game, although my concern is that the scope of my game might be too complex to run on a Roblox server.
Long answer: The limits depends on how many players are currently logged in. I read somewhere that at the maximum number of players, your game is allocated 9 CPUs. But in order to utilize this, you need to use Parallel LUA. There are also hard limits on memory usage as well. I think the limit is 12GB ram usage, but don’t quote me on that.
Look here for the CPU allocations methodology that Roblox uses.