How would you approach debugging a microservice timing out under heavy load due to database calls?
Last updated
Use distributed tracing to confirm latency sits in the DB span and note the concurrency level where timeouts begin.
Separate causes: slow queries (slow log,
EXPLAINfor missing indexes), connection-pool wait, lock contention, or total replica connections exceeding the DB max.Fix the root cause (indexes, caching, pool sizing, read replicas, batching) rather than raising the timeout, then re-run the same load and verify p99 and errors recover.
- https://www.interviewbit.com/sdet-interview-questions/
- https://www.simplilearn.com/manual-testing-interview-questions-and-answers-article
- https://www.upgrad.com/blog/software-testing-interview-questions-and-answers/
- https://www.careers360.com/courses-certifications/articles/performance-testing-interview-questions-and-answers
- https://www.scribd.com/document/985592250/2026-Interview-Question-Bank-for-Software-Professionals-compressed
- https://jobs.nvidia.com/careers/job/893391405354
- https://www.lockedinai.com/company-details/CRWV
- https://interviewkickstart.com/blogs/companies/amazon-quality-assurance-engineer-interview-process