Common causes
- Many small database calls instead of one efficient query
- Missing indexes or unbounded queries
- Blocking calls where async code is needed
- Returning far more data than the response needs
- Slow external calls without timeouts or caching
How to approach it
Add timing and logging, reproduce the problem with realistic data, profile the slow endpoint and fix the largest cost first.
When to get help
If an endpoint slows down under load or the cause is not obvious from logs, a focused performance investigation helps.