~/talk

Go routines optimization

Talkat Golang UK 2017 · 2017-08-16..08-18· [concurrency]
links:none on file
slides:none on file

Explains a concrete library: a resource manager with polling that implements a Resource interface (ID, Start, Available, GetProgress) and uses a heartbeat milliseconds poll to avoid expensive queries. Uses a buffered channel semaphore to limit concurrent goroutines, example: cap temp directory writes at 100 files, observed ~20,000 failed attempts vs 11 successes when full. Shows runtime inspection (runtime callers, /proc) and a live goroutine/resource graph; approach works and surfaces tuning numbers and bottlenecks.

AI-written summary · about

  1. 0:00Intro
  2. 1:23Workday
  3. 3:48Go routines
  4. 5:59Go maxprocs
  5. 7:15Go scheduler
  6. 10:01Threads
  7. 10:26Context switching
  8. 11:11Runtime latency
  9. 12:49Worker go routines
  10. 13:54Overusing
  11. 14:39Scalability
  12. 14:57Go process
  13. 16:39Horizontal scalability
  14. 17:47Vertical scalability
  15. 20:00Resources
  16. 21:07Limit power
  17. 22:27Dispatcher
  18. 23:13Resource
  19. 29:26Resource Manager
  20. 32:10Resource Visualization
  21. 34:36Runtime Colors
  22. 35:09Visualizations
  23. 36:25Summary
  24. 38:25Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.