Queues, Fairness, and The Go Scheduler
Offered By: Gopher Academy via YouTube
Course Description
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
Related Courses
GO Programming for Everyone: Part 2University of California, Santa Cruz via Coursera Mastering Multithreading with Go
Edureka via Coursera Go for Absolute Beginners - Full Stack Payment Application Tutorial
freeCodeCamp Concurrency in Go
University of California, Irvine via Coursera gophercises
Independent