Tales of Go Runtime Scheduler, Ankur Anand @SPACE-dc8ed
Tales of Go Runtime Scheduler, Ankur Anand  @SPACE-dc8ed
Uploaded November 2020 | Updated November 2026, 1 day ago
GoWayFest 4.0, Online – July 11-12, 2020

Tales of Go Runtime Scheduler, Ankur Anand

Concurrency in Go is technical wizardry hidden beneath abstractions & seems like magic. In this talk, I will dive inside those abstraction layers through visual diagrams to help the audience, understand how Go concurrency magic is implemented, which helps to interpret the scheduler trace information.

Go gives users a very convenient means for writing modern concurrent software in forms of Goroutines and channels and often looks like the solution to improve our application as we do more concurrency. But how do our Go programs run these goroutines efficiently? that almost looks like magic because a bad usage of the goroutines could decrease the performance as we do more concurrency, which means more concurrency problems.

In this talk, I will take a look inside of the Go scheduler to uncover those magic pieces one by one incrementally. I will look into what goroutine aka user-level thread is, and what is the possible ways of multiplexing N goroutines on M system threads, How it affects the Go runtime scheduler and how does Go runtime scheduler solves those problems efficiently. I will also take a closer look at some specific aspects like blocking channels and blocking system call handling. By the end of this, everyone will have an overview of the main components of the Go runtime scheduler and its overall operation. which lay’s the foundation that can help to interpret the scheduler trace information from a Go program.

Slides - drive.google.com/file/d/1xca4yYjpyZaIBKUFFNj6N8YSI8r66e3j/view?usp=sharing
Tales of Go Runtime Scheduler, Ankur Anandf(by) 2020: An Introduction to Recursion Schemes, Oli MakhasoevaDylan Beattie, Theres No Such Thing as Plain Text [EN]Gismart Spring MeetupPyConBY 2020: Ronan Lamy - Pythonic doesnt mean slow!f(by) 2020: Scala 2 to Scala 3 Transition, Darja Jovanovicf(by) 2020: Introduction to type-proofs in Kotlin, Imran SettubaReverse Engineering iOS Screen Mirroring with Golang, Daniel PaulusIrina Scurtu, Forget about HTTP [EN]Efficient web apps with Spring Boot 2, Stéphane NicollAdopting a reactive mindse, Donny WalsThe power of Camera APIs and OpenGL all together, Suneet Agrawal
SPACE |

Tales of Go Runtime Scheduler, Ankur Anand

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER