{
  "projects": [
    {
      "id": "payment-intelligence-platform",
      "title": "Payment Intelligence Platform",
      "subtitle": "Streaming payment analytics with a deterministic fast path and a governed LLM layer",
      "description": "Real-time payment analytics on Kafka, Spark Structured Streaming and ClickHouse, served by FastAPI and a Next.js interface. Simple questions are answered instantly by a semantic router with no LLM. Harder questions go to an LLM that can only call governed API tools and never writes SQL. Complete and tested locally on simulated data; hosting is the remaining step.",
      "tags": [
        "Kafka",
        "Spark",
        "AI",
        "Hosting soon"
      ],
      "featured": true,
      "visibility": "tbd",
      "stats": {
        "records": "8",
        "quality": "5",
        "runtime": "3"
      },
      "statLabels": [
        "Tier 1 intents",
        "Tier 2 tools",
        "Spark jobs"
      ],
      "features": [
        "Tier 1: semantic router answers 8 fixed question types with no LLM",
        "Tier 2: LLM orchestrates 5 governed API tools, never generates SQL",
        "Three Spark Structured Streaming jobs (summary, risk, pipeline health)",
        "ClickHouse ReplacingMergeTree with FINAL enforced by unit tests",
        "Server-issued HttpOnly session, identity upgrade in place, session id rotation",
        "Provider orchestrator with circuit breaker and automatic failover"
      ],
      "techStack": [
        "Apache Kafka",
        "Spark Structured Streaming",
        "ClickHouse",
        "FastAPI",
        "Next.js",
        "Python",
        "TypeScript",
        "Docker Compose",
        "Prometheus",
        "Grafana",
        "sentence-transformers"
      ],
      "walkthrough": {
        "diagram": "pipeline",
        "short": {
          "summary": "A payment event stream flows through Kafka and three Spark jobs into ClickHouse. A FastAPI layer serves governed endpoints. On top sits a question interface with two paths: a deterministic router that answers common questions instantly with no LLM, and an LLM reasoning layer that can only call those same governed endpoints, never write SQL. It is complete and tested locally on simulated data, and hosting is the remaining step."
        },
        "steps": [
          {
            "title": "Simulated payment events enter Kafka",
            "text": "An event simulator produces schema-checked payment events (default 10 per second across 50 merchants). A webhook receiver for PayPal Sandbox exists too, with HMAC signature verification. Events are keyed by merchant so each merchant stays on one partition."
          },
          {
            "title": "Three Spark jobs build the data products",
            "text": "Separate Spark Structured Streaming jobs compute merchant payment summaries in 1-minute windows, risk signals in 5-minute windows against a historical baseline, and pipeline health snapshots. Delivery is at-least-once, with watermarks for late events and checkpoints for crash recovery."
          },
          {
            "title": "ClickHouse stores and deduplicates",
            "text": "Results land in ReplacingMergeTree tables, so a repeated write of the same window is harmless. The price is that every read must use FINAL to see deduplicated rows, so a unit test enforces it on the query layer."
          },
          {
            "title": "FastAPI serves governed endpoints",
            "text": "The API owns the business definitions. Queries are kept in a dedicated query layer with typed parameters, and a service layer sits above them. Dashboards and the question interface both go through the same services."
          },
          {
            "title": "Tier 1: the deterministic fast path",
            "text": "A semantic router embeds the question with a small sentence-transformer model and compares it with 8 governed intents. Above the confidence threshold it calls the matching service directly, with no LLM involved. Below it, the question falls through to Tier 2."
          },
          {
            "title": "Tier 2: governed LLM reasoning",
            "text": "For questions that need several steps, an LLM chooses among 5 tools that wrap the same services. It never writes SQL and never touches the database. The loop is bounded by a tool-call ceiling and a token limit, tool results are truncated, and the system abstains when it cannot answer. A provider orchestrator with a circuit breaker fails over between providers, and it works with any LLM provider."
          },
          {
            "title": "Sessions and secrets",
            "text": "Visitors get a server-issued session carried in an HttpOnly cookie. Guest or Google identity upgrades the same session, and the internal session id rotates on logout. The internal API key never reaches the browser: dashboard data is fetched server-side."
          },
          {
            "title": "Status",
            "text": "Feature-complete and tested locally, about 95% done. Both the fast path and the LLM reasoning path work end to end. Hosting is the remaining step, so there is no public URL yet. The data is simulated."
          }
        ]
      }
    },
    {
      "id": "delta-lake-pipeline",
      "title": "Delta Lake Payment Gateway Pipeline",
      "subtitle": "Production-grade lakehouse with Bronze→Silver→Gold architecture",
      "description": "Production-ready data pipeline processing 15,000 daily payment gateway transactions using Delta Lake lakehouse architecture on Google Cloud Platform. Implements 3-tier data quality validation, late-arriving data handling, and full audit trail.",
      "tags": ["GCP", "Delta Lake", "Pipeline", "2025"],
      "featured": true,
      "github": "https://github.com/mohamedkashifuddin/delta-lake-gcp-implementation",
      "stats": {
        "records": "89,800",
        "quality": "96.67%",
        "runtime": "8-10 min"
      },
      "features": [
        "3-Tier Data Quality Framework (block, flag, fix)",
        "Composite audit key (transaction_id, updated_at)",
        "Late-arriving data handling (3+ days)",
        "Incremental, backfill, and full refresh loads",
        "Airflow orchestration with ephemeral clusters",
        "85% cost savings through lifecycle management"
      ],
      "techStack": ["Delta Lake 2.4", "GCP Dataproc", "PySpark", "Apache Airflow", "Cloud SQL", "BigQuery", "Cloud KMS", "Python", "SQL"]
    },
    {
      "id": "delta-lake-setup",
      "title": "Production-Ready Delta Lake Setup on GCP",
      "subtitle": "Automated deployment with external Hive metastore",
      "description": "Automated deployment of Delta Lake 2.0 on GCP with Cloud SQL MySQL as external Hive metastore. Ensures metadata persistence across ephemeral clusters and enables BigQuery BigLake external tables.",
      "tags": ["GCP", "Delta Lake", "2025"],
      "featured": false,
      "github": "https://github.com/mohamedkashifuddin/delta-lake-gcp-setup",
      "stats": {
        "records": "20+ tables",
        "quality": "100%",
        "runtime": "30 min setup"
      },
      "features": [
        "External Hive Metastore (Cloud SQL MySQL)",
        "Automated job sequencing",
        "20+ Delta tables (Bronze, Silver, Gold, Archive)",
        "BigQuery BigLake integration",
        "KMS-encrypted credentials",
        "Schema validation utilities"
      ],
      "techStack": ["Delta Lake", "Dataproc", "Cloud SQL", "GCS", "BigQuery", "Cloud KMS", "Bash", "PySpark"]
    },
    {
      "id": "payment-gateway-dw",
      "title": "Payment Gateway Data Warehouse",
      "subtitle": "Dimensional warehouse using Medallion Architecture",
      "description": "Dimensional data warehouse on BigQuery using Medallion Architecture and Kimball star schema. Includes SCD Type 2 and multiple incremental load strategies.",
      "tags": ["GCP", "BigQuery", "2025"],
      "featured": false,
      "github": "https://github.com/mohamedkashifuddin/payment-gateway-dw",
      "stats": {
        "records": "45,000",
        "quality": "100%",
        "runtime": "6 dimensions"
      },
      "features": [
        "1 fact table + 6 dimensions",
        "SCD Type 2 with effective dating",
        "4 incremental strategies",
        "SQL pitfalls documented",
        "Watermark-driven MERGE",
        "Cloud Workflows automation"
      ],
      "techStack": ["BigQuery", "GCP", "SQL", "dbt", "Cloud Workflows", "PySpark", "Dataproc"]
    },
    {
      "id": "gcp-ecommerce-pipeline",
      "title": "GCP E-commerce Data Pipeline",
      "subtitle": "End-to-end batch pipeline with medallion architecture",
      "description": "End-to-end batch pipeline on GCP using medallion architecture with simulated e-commerce data. Integrates Cloud Functions, Dataproc, BigQuery, and orchestration via Airflow.",
      "tags": ["GCP", "Pipeline", "2024"],
      "featured": false,
      "github": "https://github.com/mohamedkashifuddin/gcp-ecommerce-data-pipeline",
      "stats": {
        "records": "Simulated",
        "quality": "99%",
        "runtime": "End-to-end"
      },
      "features": [
        "Raw data via Cloud Functions",
        "Bronze/Silver via Dataproc PySpark",
        "Gold via BigQuery + dbt",
        "Airflow orchestration",
        "BI with Metabase"
      ],
      "techStack": ["GCP", "GCS", "Dataproc", "BigQuery", "Cloud Functions", "Composer", "PySpark", "dbt", "Airflow", "Metabase"]
    },
    {
      "id": "multi-cloud-migration",
      "title": "Multi-Cloud Data Workload Transition",
      "subtitle": "Large-scale migration with zero data loss",
      "description": "Large-scale migration of enterprise data workloads across Azure and GCP with zero data loss. Implemented near-zero downtime strategies and comprehensive validation.",
      "tags": ["Azure", "GCP", "Migration"],
      "featured": false,
      "github": "",
      "stats": {
        "records": "Zero loss",
        "quality": "100%",
        "runtime": "Minimal downtime"
      },
      "features": [
        "Near-zero downtime",
        "Cross-cloud performance validation",
        "Rollback and risk mitigation strategies"
      ],
      "techStack": ["Azure", "GCP", "SQL", "ETL tools", "Python"]
    },
    {
      "id": "snowflake-azure-pipeline",
      "title": "Snowflake & Azure Data Pipeline",
      "subtitle": "Scalable pipelines with performance optimization",
      "description": "Scalable data pipelines from Azure Blob Storage into Snowflake with performance optimization, cost reduction, and data quality frameworks.",
      "tags": ["Azure", "Snowflake"],
      "featured": false,
      "github": "",
      "stats": {
        "records": "30% cost ↓",
        "quality": "99.9%",
        "runtime": "40% faster"
      },
      "features": [
        "New ETL pipeline design",
        "Query and cost optimization",
        "Data quality frameworks"
      ],
      "techStack": ["Snowflake", "Azure", "Databricks", "PySpark", "SQL", "Python"]
    },
    {
      "id": "automated-operations",
      "title": "Automated Operational Optimization",
      "subtitle": "Automation of operational data tasks",
      "description": "Automation of operational data tasks to reduce manual effort and improve stability. Implemented monitoring, alerting, and 50+ automated workflows.",
      "tags": ["Automation"],
      "featured": false,
      "github": "",
      "stats": {
        "records": "50+ tasks",
        "quality": "10% ↓ manual",
        "runtime": "2x faster"
      },
      "features": [
        "50+ tasks automated",
        "10% reduction in manual work",
        "Monitoring and alerting systems"
      ],
      "techStack": ["Python", "Shell scripting", "Automation frameworks", "Monitoring tools"]
    }
  ]
}