Skip to content

Concurrency practice problems in Python

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 23 of 23

Title Difficulty
Accept Any Fetcher You Can Await Medium
Bring Thread Errors Back to the Caller Medium
Build a Blocking Queue with a Condition Medium
Build a Counter That Never Goes Over Its Limit Medium
Build an Owner for Background Tasks Medium
Build a Request ID That Follows Tasks and Threads Medium
Build a Service That Shuts Down in Stages Hard
Build a Typed Async Wrapper for Blocking Calls Medium
Capstone: Build an Async Worker Pool with Retries and Clean Shutdown Hard
Collect Results and Errors from a Thread Pool Easy
Download Pages at the Same Time with asyncio Easy
Download Pages with a Thread Pool Easy
Fetch Many Pages with a TaskGroup Medium
Fix a Counter That Loses Updates Easy
Map Over a Stream with at Most N Calls at Once Hard
Placement 5/6: Cancel an asyncio Task at Each Stage Hard
Process a Stream with a Bounded Queue Medium
Retry Within One Shared Deadline Medium
Run Async Cleanup Without Hiding the Real Error Hard
Run Code in a Subinterpreter and Check the Result Medium
Split an Exception Group Without Losing Its Shape Hard
Write a Pool Map That Reports Every Failure Medium
Write a Sync Wrapper for Async Code Easy