Đang mở hậu trường...
Chọn đáp án để xem tỉ lệ cộng đồng và giải thích. Câu hỏi được chọn tự động — mọi người cùng làm 1 câu mỗi ngày.
You are building a small Python web service that, for each incoming request, calls three external REST APIs and waits for their responses. Profiling shows the process is idle ~95% of the time, just waiting on network I/O; CPU usage stays under 5%. The service must handle a few thousand concurrent requests on a single small container with limited memory. Which concurrency approach best fits this constraint?