How we made a Ruby method 200x faster
One morning, Campsite was slow. Normally snappy interactions had loading spinners and delayed data.
Our observability tooling let us know it wasn’t just us, and it gave us some hints about what was happening.
An Axiom monitor sent us a “high API request queue time” message via our Campsite integration. Web server processes were fully utilized, and requests were forced to wait.
Fly.io metrics showed HTTP response times were significantly elevated, but didn’t show an increase in traffic.
PlanetSca...
Read more at campsite.com