Ali Wahaj
Open to backend and AI roles

Ali Wahaj

Backend engineer. I make slow systems fast and expensive ones cheap.

Python services on AWS Lambda, SQLAlchemy, Redis and SQS for a serverless U.S. platform at LinkedMatrix. Before that, SQL Server and healthcare EDI at CureMD. On my own time, retrieval-augmented AI.

API response time

−70%

High-volume endpoints, 20 s → 6 s

SQLAlchemy N+1 removal

Mapbox API calls

100K+

a month, cut to near zero

Reusable distance records

Now

Backend Software Engineer, LinkedMatrix

Serverless on AWS Lambda, since April 2025

Based in Pakistan

--:--

local time · remote, Lahore or Islamabad

Work

Two projects I can walk through end to end. Both open source.

Django API · 2026

Fuel Route Optimizer

Plans where a truck with a 500-mile range should refuel between any two U.S. places, how many gallons to buy at each stop, and the trip's total cost.

Dallas Houston One9 #1248, Wilmer · mile 16 · $2.756/gal
238.7 miroute
23.89 galbought
$65.84total fuel
First request1,410 ms
Cached1.2 ms
Python 3.12DjangoRedisKD-tree searchDynamic programming
View the code

The kind of stack I run

Live simulation. Turn the cache off to see the database take the load.

Average response
… ms
From cache
…
DB queries in flight
…
Cache hitDatabase readQueued to SQS

RAG backend · in progress

Football Intelligence Platform

Answers football analysts' tactical questions from real documents, like the 2025 UEFA Champions League technical report, and shows the passages behind every answer.

  1. Load PDFs
  2. Chunk, 3 strategies
  3. Embed in ChromaDB
  4. Retrieve with scores
  5. Answer with sources

Now: building the evaluation baseline. Next: hybrid retrieval and reranking, guardrails, memory, an MCP interface and agents.

PythonFastAPIChromaDBOpenAI APIToken cost tracking
View the code

Messaging cost

−50%

Number validation and no repeat texts to unresponsive numbers

Tax-processing cost

−30%

Migrated from TaxJar to TaxCloud, same compliance workflow

Django · Celery

Task API with background jobs

Celery workers, Docker Compose, GitHub Actions and pre-commit linting.

FastAPI

FastAPI starter kit

An API with a separate worker process, Docker Compose and lint hooks.

Microservices

Doctor appointments

Separate doctors and appointments services, MongoDB and CI workflows.

Information retrieval

Pyserini and Anserini

My forks of the Waterloo IR toolkits for sparse and dense retrieval.

Experience

Two years of backend work for U.S. operations and enterprise healthcare.

Timeline

  1. Backend Software Engineer · LinkedMatrix

    Apr 2025 – now · serverless laundry-care platform

    • Endpoints 70% faster (20 s → 6 s) by removing SQLAlchemy N+1 queries.
    • 100K+ monthly Mapbox calls to near zero with 3-month distance records.
    • Redis caching, about 50% faster on selected workflows.
    • Heavy reports and image jobs moved to AWS SQS with reliable retries.
    • TaxJar to TaxCloud, about 30% cheaper; RDS MySQL 8.0 → 8.4 and Keycloak 20 → 25 upgrades.
  2. Associate Software Engineer · CureMD

    Jul 2024 – Mar 2025 · healthcare EDI: eligibility, ERA, claims

    • Stored procedures from 8 s to under 1 s.
    • Large-volume retrieval from 17 s to under 3.5 s.
    • Verification tools saving about 8 hours of manual checks a week.
  3. Machine Learning Intern · TechnoColab

    May – Jun 2023 · remote

    • Retail sales EDA, feature engineering and model comparison.

Toolbox

Backend
PythonFastAPIDjangoAWS LambdaServerlessSQLAlchemy
Cloud
AWS SQSRDSTerraformDockerKubernetesGitHub Actions
Data
MySQLSQL ServerMongoDBRedis
AI
RAGLangChainChromaDBVector search
Also
TypeScriptReactAngularC++

Education

BS Computer Science, FAST-NUCES Islamabad

2020 – 2024 · software engineering

3.35 / 4 CGPA

Certifications

Machine Learning Specialization

DeepLearning.AI · Dec 2024

Azure Fundamentals (AZ-900)

Microsoft · Dec 2023

Contact

Let's build something fast.

I'm looking for Python backend and AI engineering roles, remote or in Lahore and Islamabad. Email reaches me fastest.