Fix a Slow Endpoint with AI

Medium · AI-Assisted Coding · about 45 minutes

Asked at Meta, Shopify, Coinbase.

An API endpoint that builds a customer's order history takes several seconds for large accounts. You have the service code, a seeded database, a load script and an AI assistant. Make it fast without changing its output, and show the improvement with numbers.

Related guides