Career

Senior Data Engineer · AI Engineer · Data & AI Architect — 9+ years in industry.

From backend services and PostgreSQL schemas to owning the architecture of a data platform handling 100M+ events a day: its data model, databases, governance and SOC 2 controls, and the AI built into it.

Download the PDF Read the case studies Send a briefing

50 TB processed per day
100M+ events processed daily
99.9% platform uptime sustained
40% lower infrastructure cost

Profile

Senior data engineer and data and AI architect with 9+ years in industry. As Senior Data Engineer at UXCam I own the architecture of a data platform processing 50 TB and 100M+ events a day and lead a team of 5 engineers; I led its move from OLTP to a big data lakehouse, and I design the agentic AI platform built into it, with security, compliance and access to data and internal systems enforced by the platform, not the model. I set the target architecture, choose platforms on measured evidence, design the data model with the governance and SOC 2 controls around it, then lead the build: Kafka, Spark, Iceberg, Hive, Trino, dbt and Airflow on Kubernetes, and the databases underneath. I am open to Senior or Lead Data Engineer, AI Engineer and Data & AI Architect roles, long-term contract or full-time. I work remotely from Kathmandu, Nepal, with teams in the US and Europe.

Experience at a glance

Role Period Scope
Senior Data Engineer, UXCam 2024 – present Leads a team of 5 engineers; platform architecture, reliability, governance and SOC 2; the database layer beneath it; the agentic AI and LLM video-analysis platforms; architecture review
Data Engineer, UXCam 2020 – 2024 Moved analytics from OLTP to a big data lakehouse; rebuilt the Spark processing; led the Kubernetes migration; tuned the multi-engine serving layer
Project Leader and Research Developer, SVCET 2018 – 2019 Led a team of four engineers building a deep NLP dialogue system in TensorFlow
Software Developer Intern, SV Technology 2017 – 2020 Python backend services in Flask and Django, PostgreSQL schema work, reporting, and CI

Senior Data Engineer · UXCam

February 2024 – present

  • Own the architecture, reliability, data quality and governance of a data platform processing 50 TB and 100M+ events a day, with 99.9% uptime, explicit service objectives, monitoring and alerting, incident-ready runbooks, reviewable data contracts, and a named owner for every published table; responsible for meeting the SOC 2 criteria for the data platform and its infrastructure through every audit.
  • Lead a team of 5 engineers on the data platform, mentoring through pairing, code review, and written design feedback; team delivery time improved 30%.
  • Operate the database layer the platform depends on: clustering and replication, backup and recovery, access control, query and index tuning, and upgrade windows across SQL and NoSQL engines.
  • Design and build the agentic AI platform — RAG pipelines, MCP servers, and LangGraph and Google ADK agent workflows with guardrails and evaluation — built into the existing platform. Security, compliance and access control come first: agents reach data and internal systems only through access the platform enforces, and model output lands as typed, provenanced rows rather than a transcript. Analytics delivery 60% faster with 75% less analyst effort, with review and fallback paths kept in place.
  • Designed and built an LLM-based video-analysis platform that watches session recordings and writes a description of each, the basis for in-depth product intelligence.
  • Lead architecture and schema reviews before new stores, pipelines, and agent workflows reach production.

Data Engineer · UXCam

February 2020 – February 2024

  • Led the move from OLTP to a big data lakehouse, which cost less, answered analytical queries faster, scaled with the data and supported deeper analytics than OLTP could: tables in Iceberg, Hive and other formats with partition and schema-evolution rules, and a producer and consumer that queue and run Spark compaction jobs on small files.
  • Rebuilt core Spark/PySpark processing for 50 TB per day, improving processing time by 50%.
  • Administered distributed SQL and NoSQL stores used for serving and product state—modelling, partitioning, replication, and query plans rather than treating the database as a black box.
  • Made backfills and replays safe to re-run: idempotent loads, explicit watermarks for late data, and schema evolution designed in.
  • Reduced p95 query latency by 50% across 100M+ analytical queries per day on Trino, ClickHouse, Citus and TimescaleDB, through performance tuning and query optimisation: partitioning, clustering, and model redesign.
  • Led the migration of the data and database infrastructure to Kubernetes on EKS, Spark clusters included, which lowered cost by 40%, with autoscaling that held under peak load.

Project Leader and Research Developer · SVCET, JNTU Anantapur

November 2018 – March 2019

  • Led a team of 4 engineers to build an intelligent dialogue system with deep NLP: a sequence-to-sequence model of two recurrent neural networks in TensorFlow and Python, trained on movie-dialogue and Twitter corpora, with a Flask web interface for interacting with it. Delivered 2 weeks ahead of schedule.

Software Developer Intern · SV Technology

2017 – 2020

  • Built Python backend services in Flask and Django serving 10K+ users, at 85% test coverage.
  • Designed and maintained PostgreSQL schemas, stored procedures and reporting paths, and set up CI with Jenkins: the start of the move into data engineering.

Selected projects

Selected open source

  • Reference architectures, published in full: data-platform-architecture, a SaaS company leaving Postgres — the current state measured, 18 decision records, a Kimball data model, governance and SOC 2 readiness, a cost model and a proof of concept on Databricks; and ai-platform-architecture, its usage assistant, with tenant isolation, accuracy and cost measured on three models and Genie.
  • spark-sql-kinesis — maintainer of a Kinesis source and sink for Spark 4.2 on AWS SDK v2, published to Maven Central; an idle shard costs one GetRecords call instead of a multi-second floor per batch.
  • evalproof — LLM evaluation as measurement: judge calibration, and CI gates that fail only on drops that are both large and significant (paired McNemar, bootstrap and permutation tests), extended to agents (assertions on the tools they called) and repeated trials (pass@k, flaky cases).
  • governed-agent — a LangGraph and MCP agent whose answers become state only after schema, policy, grounding and, where required, a person.
  • distributed-db-lab — Citus sharding, online rebalance and tenant isolation, measured against TimescaleDB and a replicated ClickHouse cluster.
  • Also data-stack-lab, streaming-platform, realtime-ml, retrieval-bench, dataset-registry and platform-deployments, each with its method and measurements in the repository.
  • Upstream: a report that led Citus to support unnamed constraints on distributed tables, citusdata/citus#4776 (shipped in 11.2); a minimal reproduction and an offered patch for citusdata/citus#7333; an opt-in early-stop option for awslabs/spark-sql-kinesis-connector (in review).

Capability map

  1. Data & AI architecture

    Target architectures and platform selection on criteria fixed in advance; conceptual to physical data modelling; Kimball stars with Type 2 history; Iceberg and Delta, ClickHouse and Citus layouts; open data contracts checked in CI; C4 diagrams and decision records; SOC 2 controls and GDPR erasure designed into the model; AI built into the platform, with tenant isolation outside the model, a semantic layer and a release gate; cost models over 36 months. Evidence: a reference architecture and its AI stage; the decision guide.

  2. Data platforms

    Batch and streaming ingestion, Spark/PySpark processing, Airflow orchestration, Iceberg, Hive and dbt modelling, Kubernetes capacity, contracts, lineage, and cost. Databricks: a production classifier rebuilt on a lakehouse, a proof of concept on Unity Catalog under OpenTofu, and AI/BI Genie evaluated against three models. Evidence: production platform case study; exactly-once streaming, measured.

  3. AI engineering

    Production agents on LangGraph, LangChain, Google ADK and MCP tool servers: prompt and structured-output design, bounded tools, retrieval, evaluation before rollout, typed output, and a fallback path that fails honestly. Built into the platform already running. Evidence: governed AI case study; governed-agent and evalproof, measured in public.

  4. Database lifecycle

    PostgreSQL, ClickHouse, Trino, Citus, TimescaleDB, Redis, MongoDB, and MySQL/MariaDB across modelling, HA, replication, backup and PITR, upgrades, access control, and query performance. Evidence: Citus sharding and rebalance lab; measured failover lab.

The stack

The stack

Tiers are self-assessed and deliberately conservative. Tier 1 means sustained production use; Tier 2 means meaningful delivery on a narrower surface; Tier 3 marks working knowledge from evaluation, prototyping, or lab work.

Technologies I have operated, debugged, and reviewed as part of long-lived systems.

  • Python since 2017

    Backend services, data platforms, automation, and AI tooling

  • SQL since 2017

    Transactional, analytical, and reliability work — PostgreSQL tutorial

  • Apache Spark / PySpark since 2020

    Batch and streaming data processing, including the Spark 4 migration — Spark 4 upgrade, S3A committers

  • Amazon Kinesis + Structured Streaming since 2023

    Streaming ingestion; maintainer of an open-source Spark 4 connector — connector case study

  • Apache Kafka since 2020

    Event-driven and streaming systems

  • Apache Airflow since 2020

    Workflow orchestration, replay, and recovery design

  • Apache Iceberg since 2022

    Table evolution, maintenance, and data modelling — compaction and rollback, measured

  • dbt since 2021

    Transformation contracts, testing, and documentation

  • PostgreSQL since 2017

    Application schemas, replication, HA, backup, and upgrades — failover lab

  • ClickHouse since 2021

    Analytical modelling and operational practice

  • Trino since 2021

    Federated SQL and query modelling — Trino on Iceberg via Polaris

  • Kubernetes since 2022

    Container orchestration and data workloads

  • LangGraph / LangChain since 2024

    Production agent orchestration and tool use — agent case study

  • Google ADK since 2024

    Agent applications on an OSS framework, integrated into product workflows — agent case study

  • MCP since 2024

    Tool servers and apps integrated into existing systems — agent case study

  • Prometheus + Grafana since 2021

    Service and data-reliability signals — Reliability lab

Used to deliver real systems, with less breadth or duration than Tier 1.

Agentic systems
CrewAI · FastMCP · Milvus · MLflow · Pydantic · Claude Code · Cursor · Codex
Data platform
Databricks + Unity Catalog · Hive Metastore (3.1 → 4.x) · Scala (Spark) · Debezium / CDC · Delta Lake
Applied ML & evaluation
OCR (RapidOCR / PaddleOCR, ONNX Runtime) · Sentence embeddings · UMAP / HDBSCAN · Quantification
Databases
Redis · MongoDB · Citus · TimescaleDB · pgvector · MySQL / MariaDB · Patroni / pgBackRest
Product & infra
FastAPI · Flask / Django · Celery · Next.js · Docker · Ansible · Terraform · GitHub Actions · Helm

Evaluated, prototyped, or run in a lab; listed to show where the depth stops.

Apache Flink · Apache Beam · Prefect · LlamaIndex · AutoGen · Haystack · Semantic Kernel · DSPy · OpenAI Agents SDK · Pinecone · Qdrant · OpenSearch · Feast · LightGBM · Argo CD / Argo Rollouts · Kyverno · CloudNativePG · OpenTelemetry · Go · Chroma · FAISS · Weaviate · ScyllaDB · MariaDB + Galera · SolrCloud · Elasticsearch · Apache Druid · Snowflake · BigQuery · Amazon Redshift · DuckDB · Hadoop · Apache Hive · Java · Azure Synapse · Azure Data Factory · Power BI · Tableau · Looker · Superset · Metabase · PyTorch · Polars · PyArrow · Jenkins · LangSmith · Langfuse · Opik · Datadog

Education and languages

Bachelor of Technology, Computer Science and Engineering — JNTU Anantapur (SVCET, an autonomous affiliated college), India, 2015–2019.

English: C1 · Nepali: native

Contact

Kathmandu, Nepal · remote, with US and EU teams

contact@basantbhattarai.com.np · LinkedIn · GitHub