~/talk

Supercharging ML Pipelines with Go

Talkat GopherCon 2025 · 2025-08-26..08-28· [go, machine-learning]
links:none on file
slides:none on file

A Go-based service initializes shared memory shims and packs four tensor types (int64, float32, int8) into batched layouts with checksums, handing them to a Python ranking model via the Trident inference server. The pipeline writes ~40 million records (~4 GB) to memory-mapped files in about 50 seconds, enabling end-to-end cohort generation in roughly 10–15 minutes instead of hours; implementation includes worker pools, channels, and simple mmap copy/cleanup routines.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32ML platform overview
  3. 1:51Individual recommendations
  4. 2:25Ranking challenge
  5. 3:24Designing the solution
  6. 4:41Implementing shared memory
  7. 6:48Infrastructure setup
  8. 7:15Data contract definition
  9. 7:59Batching for performance
  10. 8:54Writing data to SHM
  11. 9:40System performance
  12. 10:21End-to-end workflow
  13. 12:33Conclusion and results
~/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.