Improve and measure service performance
TikTokSoftware Engineer · Technical ScreenLast updated
This question evaluates performance engineering and observability skills—specifically SLIs/SLOs definition, instrumentation and profiling, load-testing, bottleneck identification, and optimization trade-offs for stateless HTTP microservices.
How would you assess and improve a service’s performance under high load? Define the key SLIs/SLOs you would set (e.g., latency percentiles, throughput, error rate), describe how you would instrument and profile the system, outline a load-testing plan, identify likely bottlenecks (CPU, I/O, database, cache, network), and propose concrete optimizations with trade-offs.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.