Q: When to use Parallel vs Async?
✅ Answer:
"Parallel is used for CPU-bound operations where computation is heavy,
whereas async/await is used for I/O-bound operations where the system waits for external resources like APIs or databases."
👉 Bangla:
"CPU heavy কাজ হলে Parallel, আর external wait থাকলে Async/Await ব্যবহার করি।"
| Feature | Parallel | Async/Await |
|---|---|---|
| Type | CPU-bound | I/O-bound |
| Thread | Multiple threads | Non-blocking |
| Performance | Fast for heavy computation | Efficient for waiting |
| Use Case | Data processing | API/DB/File |