Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
How do you limit an async crawler to 50 concurrent HTTP requests?
A
thread::sleep between requests
B
Spawn all requests at once
C
A tokio::sync::Semaphore with 50 permits (or stream.buffer_unordered(50))
D
A std Mutex around the HTTP client