Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
Interview Prep
›
Module 6 · Concurrency, OS, ML Interview Topics
›
OS: process vs thread vs coroutine
quiz
96 / 104
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** 10k concurrent IO-bound connections? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** 10k concurrent IO-bound connections? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
10k OS processes — copy-on-write fork is cheap and process isolation prevents one bad request from poisoning the others.
B
Coroutines (asyncio) — single thread, sub-µs switches, scales to 100k+ connections in one process.
C
10k OS threads — modern kernels schedule millions of threads with negligible context-switch cost on Linux 6.x.
D
One thread with a manual `for` loop polling the connection list — round-robin polling beats coroutine schedulers below 100k.
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…