~/talk

How to spend ¾ of your yearly budget in 3 weeks: a PySpark cautionary tale

Talkat PyData NYC 2018 · 2018-10-11..10-12· [python]
links:none on file
slides:none on file

A recommendation engine built with PySpark on Databricks reads orders then 1000x larger member pageviews from Snowflake and S3 and runs cosine similarity across a huge sparse matrix and accidentally spends three quarters of a team budget in three weeks. The job exhibits intermittent Snowflake JDBC connector rereads that hit an unexposed 60-minute S3 temp timeout, cache calls materialize unexpectedly, and default partitions blow up; fixes: monitor credits, test small, repartition (~256MB), write intermediates to S3, and push vendors on hidden timeouts.

AI-written summary · about

  1. 0:00PySpark cautionary tale intro
  2. 1:25Problem and product approach
  3. 4:58Switching to pageviews data
  4. 7:47Unlimited budget spending
  5. 9:57Six PySpark lessons learned
  6. 16:48JDBC connector pitfalls
  7. 18:33S3 token expiration cause
  8. 23:48Key suggestions recap
  9. 24:56Q&A
~/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.