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

YouTube

Queues, Fairness, and The Go Scheduler

Gopher Academy via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the inner workings of the Go scheduler in this 47-minute conference talk from GopherCon 2021. Dive deep into how Go scales millions of Goroutines across system threads, ensuring fairness and efficiency. Uncover the mystery behind the hardcoded value of 61 in the scheduler and learn to leverage schedtrace for valuable insights. Gain practical knowledge on using runtime APIs to influence scheduler behavior, understand concepts like global run queues, distributed run queues, and fairness in scheduling. Examine real-world applications through demos and case studies, including the netpolar and Lock OS Thread debugging. Perfect for Go developers seeking to optimize their understanding and usage of Go's concurrent programming model.

Syllabus

Introduction
Disclaimer
User Space Scheduling
Global Run Queue
Fairness
Distributed run queues
Go max prox
Fairness in scheduling
The netpolar
Demo
Prime
Prime Graph
Handoff
Scheduling
Runtime APIs
Lock OS Thread
Lock OS Thread Debugging
Lock OS Case Study
Conclusion

Taught by

Gopher Academy

Reviews

Start your review of Queues, Fairness, and The Go Scheduler

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.