Mobility Lakehouse
A batch and streaming lakehouse for ride-hailing trip data, delivered to a commercial client under NDA. The public open source version is built on the NYC TLC high-volume for-hire dataset from 2024 onward.
- Bronze, silver and gold layers in PySpark and Delta Lake on Databricks. Each month is overwritten as a unit, so any rerun gives the same result.
- Quality rules written from profiling real months: negative fares or driver pay go to a quarantine table with the reason attached; pickups logged before the request are kept and counted as warnings.
- A streaming path with Redpanda and Spark Structured Streaming that handles late-arriving events, and a FastAPI service that serves the gold layer.
- Thirteen architecture decision records explain every trade-off for the next engineer.
- Databricks
- PySpark
- Delta Lake
- Redpanda
- Spark Streaming
- FastAPI
- Python 3.12
- uv
Batch
Streaming
13 ADRs / idempotent monthly overwrite / Apache-2.0