go podcast()

013: Go's concurrency to the rescue


Listen Later

Go's worker queue pattern:

type WorderPool struct {
  queue chan int
}

func (wp *WorkerPool) start() {
  for i := 0; i < 500; i++ {
    go funcIO {
      for id := range wp.queue {
        doSomething(id)
      }
    }()
  }
}

func (wp *WorkerPool) add(id int) {
  wp.queue <- id
}

  • Go 1.20 errors.Join / multiple unwrap error
  • My course: Build SaaS apps in Go


Best way to show support for the pod is by sharing it around and buying my course.

...more
View all episodesView all episodes
Download on the App Store

go podcast()By Dominic St-Pierre

  • 3.6
  • 3.6
  • 3.6
  • 3.6
  • 3.6

3.6

5 ratings


More shows like go podcast()

View all
Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

Risky Business by Patrick Gray

Risky Business

361 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

284 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

265 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

590 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

621 Listeners

Data Engineering Podcast by Tobias Macey

Data Engineering Podcast

140 Listeners

Petit Journal by Petit Journal

Petit Journal

74 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

987 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,879 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Techmeme Ride Home by Brian McCullough

Techmeme Ride Home

941 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

47 Listeners

Cup o' Go by Jonathan Hall & Shay Nehmad

Cup o' Go

16 Listeners

Fallthrough by Fallthrough Media

Fallthrough

10 Listeners