~/talk

I came for the easy concurrency I stayed for the easy composition

Talkat dotGo 2014 · on Friday, 2014-10-10· [go]
slides:none on file

A concrete program is described that checks whether 2 million sites use CloudFlare by NS lookup, implemented as 75 lines of Go, spawning 1000 goroutines and using channels plus sync WaitGroup. The claim: replacing slow xargs/dig pipelines with this Go pipeline drops runtime from ~18 hours to about 1.5 hours. The code generalizes via two interfaces (Factory and Task), is on GitHub, and it actually works.

AI-written summary · about

  1. 0:00Start
  2. 2:04First thought
  3. 3:23Rough Architecture
  4. 3:56Quick type to encapsulate work and results
  5. 4:19Read stdin, stuff down channel
  6. 4:54Read results; write to stdout
  7. 6:12Easy concurrency
  8. 7:49factory and task
  9. 8:37Implement factory
  10. 8:47Implement task
  11. 11:24Starting State
  12. 12:05stdin empty; in closed
  13. 12:24Workers finish terminating
  14. 13:19Conclusion
~/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.