~/talk

How and Why We Migrated from Python to Go in Our Main Recommendation Service

TalkinRussianat PyCon Weekend 2022 · 2022-03-25..03-26· [go, machine-learning]
links:none on file
slides:none on file

A team at Avito moved their main recommendation service from Python to Go to fix latency and resource problems caused by adding a second-level CatBoost ranking model on top of first-level ML models. The talk explains their decision process (including Python optimizations attempted first), how they integrated CatBoost with Go to run the model in production, and the resulting improvements in latency, memory, and CPU usage.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Vita recommendations
  3. 2:08Recommendation service architecture
  4. 4:57Python service problems
  5. 6:21CPU tasks pool executor
  6. 9:12Python service profiling
  7. 12:21Shared memory optimization
  8. 13:03Splitting service in two
  9. 14:29Go feature preparation
  10. 17:20Go model integration
  11. 19:03Migration challenges
  12. 21:11When to migrate to Go
  13. 22:17Python optimization tips
  14. 24:01Summary
  15. 24:22Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.