Nakama server multiplayer questions

@HashtagGo In this case you shouldn’t use the Go runtime and instead use the Lua runtime support we have in the server. It will guard against poor programming that could cause "index out of range" and other kinds of error that cause a panic in your code. The Lua runtime uses a VM per multiplayer match (and therefore only a single Lua VM instance and its associated goroutine are lost).

The Go runtime is intentionally designed to squeeze maximum performance out of the server. This is much like zero-cost abstractions in languages like C++. As a result you must write high quality code and design your code with the appropriate skill to ensure that you get all the gains out of the system.