Is Parallel Luau only available on the client?

The benefits of using parallel Luau just entice me to learn more about it and how to use it efficiently. However, I noticed that every tutorial I’ve seen about how to use parallel luau has one thing in common: they all only use local scripts.

Which brings me more curiosity when I stumbled upon this post:
Full Release of Parallel Luau V1 - #147 by Bloxxy213_DVL

Does this mean parallel luau is only effective on the client? If that’s the case, then it would be a bummer since I have ideas on how this would benefit server sides scripts which involve heavy/complex calculations….

No, I use parallel for terrain generation on the server.

Then can you please do a benchmark? Compare the scripts in serial with parallel.

If you need parallel then you’re going to need to write benchmarkable code anyway, so you might as well do it yourself.

Maybe you are running corountines, but parallel luau is 100% client side only, confirmed by a roblox engineer. I switched to unity because of this, and I recommend you too since its way easier to do pretty much anything roblox offers (+ meshes, which you have to simulate using triangles in roblox)

Can you link to their post confirming this so it can be marked as the solution?

There is no way that’s true. I use actors for server-sided NPC code and such a critical caveat would be noted in documentation, not just left as another obscure engine detail. You definitely need to link a source for this, but not only that but try it out for yourself, as that information can be outdated or wrong from the start.

5 Likes

Thank you for replying. However, I wanted to ask, how does Parallel Luau work on the server? On the client, tasks are splitted through the CPU cores, but how does the behind the scenes look like on the server?

Since the servers have CPUs, a simple answer is no.

1 Like

But how? How do servers have CPUs? It’s not like they are using a computer CPU to run the whole thing.

I suggest doing research on what a server actually is. Every server has a CPU, it’s what actually allows anything to run.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.