Building the Data Science Platform with Airflow at Near
summary
Near builds a production data science platform on Airflow (Celery executor) orchestrating PySpark jobs, Spark‑Redis jars, S3, Redis, MySQL metadata, GitHub + Jenkins CI/CD to serve 1.6 billion users and 70 million POIs. Pipelines run in three modes—batch (daily/hourly aggregation and stay‑point extraction), on‑demand (user‑facing 30‑second estimations), and dynamic (campaign DAGs generated from S3 lists). They implement zero‑downtime Redis flips with dumps, face visualization limits when campaign IDs scale to thousands, and report the system running in production while planning Airflow upgrades and dockerized security.
AI-written summary · about
