karsh.vashi / data engineer

Data Engineer · London

Karsh
Vashi.

I build data pipelines and the systems around them. This is where I write up my own projects, with the architecture and the reasoning, and explain the ideas underneath them.

tube league table · TfL feeds to a weekly leagueAWS · dbt · Cloudflare

TfL line status and arrival boards are read every minute by a poller Lambda, which writes every response to S3 raw as gzipped NDJSON. dbt models the raw data on Athena into Iceberg tables, and a quality gate tests the measured numbers before they are built. A weekly publish job exports the league as JSON files to Cloudflare R2, and the site at karshvashi.com/tube/ is built from them as static pages.

  • TfL feeds feeds Poller
  • Poller feeds S3 raw
  • S3 raw feeds dbt
  • dbt feeds Quality gate
  • Quality gate feeds Publish
  • Publish feeds R2
  • R2 feeds Site

Tube League Table: a pipeline that reads TfL's live feeds every minute, models them with dbt on Athena and Iceberg, tests every number against a quality gate, and publishes a weekly league for 20 London rail lines to a static site.

Projects

Selected builds

  • v1dbt · Apache Iceberg · Athena · AWS Lambda · Terraform

    Tube League Table

    A data pipeline that reads TfL's live feeds every minute and turns them into a weekly league for 20 London rail lines, setting what TfL declared beside what its own arrival boards showed.

  • completePython · Kinesis · Firehose · Lambda · Glue (Spark)

    wiki-stream-lake

    A streaming and batch data lake on AWS, fed by the live stream of Wikipedia edits, with four experiments that measure its trade-offs. All infrastructure is Terraform.

  • completedbt · Snowflake · SQL · Airflow · Astronomer Cosmos

    movie-ratings-analytics

    A layered dbt project on Snowflake over the MovieLens 20M dataset, with SCD Type 2 snapshots, incremental models, source freshness, a custom generic test, per-pull-request CI and Airflow orchestration at per-model granularity.

All projects

Say hello