PlanetScale·
Building PlanetScale with Insights Agent
TL;DR
PlanetScale tested Insights Agent on its own Rails API to find database waste, linking query performance data to application code and opening pull requests with fixes. The resulting changes cut feature-flag lookups from 28.7 million to 8.3 million per day, reduced billing-query database time about 14-fold, and brought snapshot queries from seconds to milliseconds. An index recommendation that initially made performance worse also prompted improvements to the agent’s evidence gathering and tests.
Relevant links
Sign in to save links