~/talk

Customizing Xcom to enhance data sharing between tasks

Talkat Airflow Summit 2021 · 2021-07-08..07-16· [data-engineering]
links:none on file
links:none on file
slides:none on file

Shows concrete code and results for moving large or non-JSON XCom payloads out of the Airflow metadata DB by writing a BaseXCom subclass that implements serialize_value/deserialize_value and a UI-friendly orm method. Demonstrates storing payloads on local disk, Google Cloud Storage and Redis while saving only a key in Postgres, and proves retrieval works end-to-end. Notes pickling is disabled, Redis is memory-bound and can lose data, cloud storage adds latency and cost, and cleanup is handled by a separate maintenance DAG (not lifecycle-tied).

AI-written summary · about

  1. 0:00Introduction to XCom
  2. 2:08XCom Fundamentals
  3. 3:28Airflow 2.0 TaskFlow API
  4. 4:52Limitations of Standard XCom
  5. 6:42Custom XCom Backends
  6. 7:56Local File System Backend
  7. 9:15Code Walkthrough: File Backend
  8. 11:32File Backend Demonstration
  9. 14:07Distributed Deployment Issues
  10. 18:09Cloud Storage Backend Setup
  11. 21:06GCS Backend Demonstration
  12. 23:41Redis Backend Implementation
  13. 26:08Redis Backend Demonstration
  14. 27:43Data Cleanup Strategies
  15. 30:03Maintenance DAG Example
  16. 34:41Future Work and Conclusion
~/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.