Work

Case study

Rockstar Games, FiveM and RedM

From putting out fires to a solid platform · Lead / Senior Software Engineer

FiveM and RedM let players run their own multiplayer servers for GTA V and Red Dead Redemption 2. The platform is open source: a Rockstar team of four, and growing, works on it alongside contributors from the community.

Where it started

Incidents came in daily or weekly, and many could not be acted on, so they ended up somewhere on the backlog. The team shipped about one regression a week. A good build could take months to reach most players, if it reached them at all. Whole platforms, including the Linux server and RedM, had no automated checks.

How the team worked

How it shipped

What changed

What it made possible

With a stable platform underneath, the team could take on foundational work. One example is a new C# scripting runtime (Mono v2), brought in under a live platform without breaking existing servers' scripts, and later extended to RedM. Calls into the game API became 160× faster on Linux servers and 10× on Windows, events and exports 84× faster, and the overhead of entering and leaving the runtime went from 0.04–0.06 ms to zero.

160×faster game API calls on Linux servers
84×faster events and exports
0 msruntime enter/exit overhead, down from 0.04–0.06 ms

The Mono v2 pull requests on GitHub