Factorial is a fast-growing HR platform built on a large Ruby monolith, with a GraphQL API at the heart of the product. As the company set its sights on the next stage of scale, it brought in Evil Martians to help with two pieces of infrastructure work.
A faster, friendlier GraphQL layer
Factorial’s GraphQL schema used to be assembled every time the app booted, which made startups slow and everyday debugging frustrating for engineers. Evil Martians joined the platform team to move that work to build time, so the schema is generated once, shipped as plain code, and easy to reason about. The rollout has been incremental and low-risk, and most of the schema already runs through the new pipeline.
Preparing the database for global scale
Factorial is moving toward an architecture where each customer can live in its own isolated environment. That shift required rethinking how records are identified across the platform. Evil Martians are helping migrate the database so every customer, user, and record stays uniquely addressable as Factorial grows into new regions, without disrupting the product people use every day.
