Getting to Go: The Journey of Go's Garbage Collector
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
In a 2018 ISMM keynote published on go.dev, Rick Hudson traces how Go's non-moving, concurrent tri-color collector cut stop-the-world pauses by three orders of magnitude between 2015 and 2017, from roughly 300-400 ms to under a millisecond on a Twitter production server. The 2018 goal is 500 microseconds per cycle. He also explains why a request-oriented collector (30-50% compiler slowdowns) and a generational collector (write-barrier cost, escape analysis) were dropped. The figures are Go team measurements from one server and a benchmark corpus.