Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

When to Use Threads - Understanding IO Blocking, CPU Intensive, and High Volume Tasks

Hussein Nasser via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn when and why to implement threading in software applications through this comprehensive 30-minute technical video. Explore three key scenarios where threading proves beneficial: IO blocking tasks for efficient disk operations, CPU-intensive processes to prevent main thread starvation, and handling large volumes of small tasks for improved throughput. Discover practical examples including logging operations, file I/O handling, and connection acceptance in high-traffic scenarios. Master the fundamentals of thread implementation while understanding associated challenges and situations where threading may not be the optimal solution.

Syllabus

Intro
What are threads?
IO blocking Tasks
CPU Intensive Tasks
Large volume of small tasks

Taught by

Hussein Nasser

Reviews

Start your review of When to Use Threads - Understanding IO Blocking, CPU Intensive, and High Volume Tasks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.