Run Requests in Parallel

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

A dashboard loads ten independent widgets. The current code awaits each request one after another, so the page takes the sum of all ten response times. Explain how you'd load them in parallel, what should happen when one request fails or hangs, and how you'd avoid overwhelming the server if there were a thousand requests instead of ten.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →