My attempt at maximizing server performance (Updated)

[Continuation of this post]

Using my new chunk system I made, I got the performance to be even better!

Here is me, as a client, testing out the chunk system. Notice everything that is in view.

https://gyazo.com/53fb0af5ab417999dc94ec6e0500a6ff

Here is all that the server sees:

https://gyazo.com/37ea94436a5b755e36b64e0b00b76f91

The server used to run at a constant 70 Lua threads, but now I got that down to 61 threads!

Cool right?

3 Likes

I do not see how this is relevant to the server side and why you would ever need that many threads?

Those threads are performance stats on the server. Essentially all of them are internal roblox threads such as calculating physics and other things.

If you read up on my linked post, it should make a little more sense.

From my experience, chunk loading can slow things down (ik, sad right LOL) so make sure to always double check the speed difference and try using streaming enabled

(Or have everything on the client side and have the server just tell the client manually when a change is made if that works for your game)

  • btw in my use cases all the parts were anchored so it might be different for you
1 Like

That’s what I am doing. It’s all run on the client. None of the map will actually change except for vehicles and players, which are being accounted for with scripting.

1 Like

Any insight on how this was made?