From 400ms to 12ms: Optimizing a Hot Path in a Rails API

There’s a particular kind of dread that comes from staring at a Datadog trace and seeing a single endpoint colored almost entirely red. Not…