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

YouTube

Pardon the Interruption - Loop Preemption in Go 1.14

Gopher Academy via YouTube

Overview

Explore the significant changes in goroutine preemption for scheduling and garbage collection introduced in Go 1.14 in this 24-minute conference talk from GopherCon 2020. Delve into the challenges posed by "tight loops" in earlier versions of Go, which could lead to mysterious throughput and latency issues, and even scheduler deadlocks. Learn how Go 1.14 implemented a unique "asynchronous preemption" solution that maintains zero overhead for regular execution and requires minimal extra metadata in the binary. Discover how this new approach eliminates difficult-to-diagnose long tail performance and stability issues by enabling goroutines to be interrupted and rescheduled at almost any point, ultimately enhancing the robustness and efficiency of Go programs.

Syllabus

GopherCon 2020: Austin Clements - Pardon the Interruption: Loop Preemption in Go 1.14

Taught by

Gopher Academy

Reviews

Start your review of Pardon the Interruption - Loop Preemption in Go 1.14

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.