Ruta de aprendizaje

Concurrencia en Go

Goroutines, canales, select, Mutex, worker pools y context.

6 lecciones · 6 retos

  1. Lección 1 reto Goroutines and WaitGroup Start lightweight threads with go and wait for them with sync.WaitGroup.
  2. Lección 1 reto Channels Send values between goroutines with channels, buffered and unbuffered.
  3. Lección 1 reto Select and Timeouts Wait on several channels at once and stop waiting after a timeout.
  4. Lección 1 reto Mutex: Protecting Shared Data Let several goroutines change one value safely with sync.Mutex.
  5. Lección 1 reto Worker Pool Share a queue of jobs between a fixed number of goroutines.
  6. Lección 1 reto Context: Cancellation and Deadlines Stop work that takes too long or is no longer needed with context.