World Congress 2026 Europe Jul 9, 2026 Session details

Go's Concurrency and Parallelism Inside Containers

Rick Rackow

Stop artificially inflating GOMAXPROCS in your containerized environments. Modern Go automatically adapts to Kubernetes CPU quotas, preventing scheduler thrashing and optimizing parallel execution.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction to Go concurrency and parallelism

How Go differentiates between concurrently dealing with tasks and executing processes in parallel.

#2 about 4 min

Sequential execution versus concurrent execution in Go

A basic code demonstration reveals how an unoptimized Go program processes scheduled tasks sequentially.

#3 about 4 min

Introducing goroutines and the Go scheduler

Implementing a wait group coordinates goroutines to demonstrate single-CPU task concurrency.

#4 about 4 min

Scaling CPU-bound processing with the GOMAXPROCS variable

Enabling parallel execution across multiple CPU cores significantly reduces expected batch processing time.

#5 about 4 min

Performance penalties from excessive hardware thread allocation

Assigning more threads than available hardware cores creates scheduling overhead and slows runtime performance.

#6 about 3 min

Building a Go application inside a Docker container

Writing an optimized multi-stage Dockerfile compiles and packages a compiled Go binary for deployment.

#7 about 7 min

Troubleshooting Docker Desktop resources on macOS environments

Resource limits imposed by underlying Linux virtual machines affect containerized application execution on Mac hardware.

#8 about 4 min

How GOMAXPROCS behaves inside limited container computing environments

Modern Go releases automatically align default execution threads with allocated Linux control group constraints.

#9 about 1 min

Key takeaways on Go container performance optimization

Summarizing how concurrency, parallelism, and allocated runtime CPU limits fundamentally impact Go application behavior.

Matching moments

2:37 min

Configuring Go runtime concurrency with the GOMAXPROCS variable

Pavel Malyarevsky Pavel Malyarevsky · WWC Europe 2026

4:24 min

Leveraging the Go programming language for scalable infrastructure

Natalie Pistunovich · LIVE

3:16 min

Demystifying the mechanics behind container execution routines

Oliver Seitz Oliver Seitz · WWC 2024

7:46 min

Integrating containers to solve serverless execution limitations

Mete Atamel Mete Atamel · WWC 2022

1:59 min

Orchestrating with Kubernetes against Docker and accessing slides

Philipp Krenn · WWC 2022

11:34 min

Answering audience questions on container functionality and local workflows

Rob Richardson · WWC 2021

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Stop Running Mystery Meat in Production

Jeroen van Erp

Technical Advocate @ SUSE

Jeroen van Erp
Open session

World Congress 2026 North America

rm -rf: Horror Stories From Unsandboxed AI Agents (and How Docker Fixes This)

Rishab Kumar

Staff Developer Evangelist @ Twilio

Rishab Kumar
Open session

World Congress 2026 North America

public void saveMoney(AI): The Developer's Guide to Unit Economics

Hrushikesh Pokala

Senior Software Engineer Lead at Equifax

Hrushikesh Pokala
Open session

World Congress 2026 North America

Run your agents in Kubernetes: Build once, deploy anywhere. But really?

Michal Salanci

Senior Systems Engineer at ESET Cybersecurity

Michal Salanci
Open session

World Congress 2026 North America

From Cloud Native to Multi-Cloud Native: Write Once, Deploy Anywhere

Sandeep Pal

Principal Member of Technical Staff at Salesforce

Sandeep Pal
Open session

World Congress 2026 North America

Merging at Scale: From Broken Builds to Green Mainline

Preetam Dwivedi, Manjari Akella

Preetam Dwivedi
Manjari Akella