faizan

Hi, I'm Faizan

Backend & Applied AI Systems Engineer

I build web products and reliable backend systems. At FutureBlink, I work on high-volume email pipelines, database performance, remote MCP servers, and voice AI agents. I care about clean architecture, handling worker crashes properly, and shipping code that holds up under load.

Work Experience

FutureBlink logo

FutureBlink

June 2024 - Present

Software Engineer

Built a three-stage batch-claiming mechanism in MongoDB for using bounded candidate pre-fetching, conditional updates with worker claim IDs, and stale-lease recovery to coordinate horizontally scaled workers and prevent concurrent duplicate claims.
Resolved API bottlenecks by replacing N+1 query loops with batched database lookups, restructuring compound MongoDB indexes around Equality-Sort-Range (ESR) rules, and caching frequent reads with TTL eviction, improving response times by up to 90% and handling 5x the request throughput under load.
Built a remote Model Context Protocol (MCP) server using OAuth 2.0 token validation and role-based tool authorization, enabling external AI clients and support agents to execute approved CRM actions with least-privilege access.
Reworked the email reply tracking pipeline from slow IMAP polling to OAuth push webhooks and RabbitMQ. Flushed consumer micro-batches whenever the count threshold was reached or the time window expired, paired with idempotent database upserts, bringing reply detection latency down from 2.5 hours to 30 seconds while smoothing database write load.
Built a multi-tenant voice agent for Shopify merchants using Vapi and Twilio for streaming audio, paired with Pinecone for catalog search isolated by merchant namespaces. Optimized streaming response latency while strictly scoping vector search to authenticated store catalogs.
TypeScript
Node.js
MongoDB
RabbitMQ
Model Context Protocol (MCP)
PostgreSQL
Redis
Pinecone
LangChain
Vapi
Twilio
Express
Next.js
Docker

Case Studies

Distributed Systems
2.5h → 30s

Event-Driven Email Sync Architecture

Replaced high-overhead IMAP polling with an event-driven webhook pipeline using RabbitMQ and consumer micro-batching, cutting reply detection latency from 2.5 hours to 30 seconds.

Core Architectural Patterns

  • Flushed event micro-batches whenever the count threshold was reached or the time window expired, balancing write efficiency against latency.
  • Deterministic idempotency keys (message ID + thread ID) with bulk upserts to prevent duplicate writes during worker crashes.
  • Manual acknowledgments after database commits paired with idempotent bulk upserts to handle safe message redelivery during worker crashes.
RabbitMQ
Webhooks
MongoDB
AI Infrastructure
OAuth 2.0 + RBAC

OAuth-Secured Model Context Protocol (MCP) Server

Built a remote MCP server with OAuth 2.0 token verification and role-based tool scoping, allowing external AI clients and internal agents to safely interact with live CRM state.

Core Architectural Patterns

  • Transport-level OAuth 2.0 token validation with scope claims, preventing cross-tenant access and unauthorized tool calls.
  • Strict input validation with Zod schemas on every tool parameter to block malformed or malicious payloads.
  • Audience validation and least-privilege tool discovery mapping customer roles directly to executable endpoints.
TypeScript
MCP
OAuth 2.0
Zod
Applied AI & Voice
Tenant Isolated

Multi-Tenant E-Commerce Voice RAG Agent

Built a conversational voice support agent for Shopify merchants using low-latency streaming telephony and namespace-isolated vector search for real-time customer inquiries.

Core Architectural Patterns

  • Pinecone namespace isolation deriving query scope directly from authenticated merchant identity.
  • Decoupled streaming audio path (Vapi/Twilio WebSockets) from asynchronous catalog sync to minimize voice response latency.
  • Webhook-driven vector upsert and cache invalidation pipeline keeping product inventory and store policies in sync.
Vapi
Twilio
Pinecone
LangChain

Projects

Quiz Master

Quiz Master

Multiplayer trivia platform with real-time room state synchronization over WebSockets. Handles room lifecycles, live score broadcasts, and reconnection state in Node.js, with AI question generation piped from Gemini API and cached in PostgreSQL.

WebSockets
Express
PostgreSQL
Prisma
Gemini API
React
Wings In Progress

Wings In Progress

Flight training logbook built for student pilots. Features MongoDB aggregation pipelines to calculate flight hour totals and cross-country requirements, with validated input schemas and authenticated session handling in Next.js.

Next.js
TypeScript
MongoDB
Mongoose
NextAuth.js
Zod

Skills

Backend & Distributed Systems

Node.js

Microservices

RabbitMQ

Distributed Locking

REST APIs

WebSockets

OAuth 2.0

Stripe

AI & Agent Infrastructure

Model Context Protocol (MCP)

RAG

LangChain

Pinecone

Vapi

Twilio

Google Gemini API

Databases & Languages

TypeScript

Python

C++

MongoDB

PostgreSQL

Redis

Frameworks & DevOps

Express

Next.js

Django

Prisma

Mongoose

React

Docker

Git

Let's build something great!

I'm always open to discussing backend reliability, early-stage engineering challenges, or interesting startup roles. Feel free to reach out to connect or discuss your team's problems.