Sohail Rasheed's Work | ContraWork by Sohail Rasheed
Sohail Rasheed

Sohail Rasheed

Full-Stack & SaaS Engineer | Next.js & TypeScript

    1
    Followers
Followed by GALLERY L
Cover image for Platform Rescue is an enterprise
Platform Rescue is an enterprise performance modernization project transforming bloated, slow legacy WordPress/Divi websites into headless, sub-second Next.js 15 architectures. The Problem: The legacy production site was throttled by 42 unoptimized third-party plugins, bloated DOM hierarchy (>4,200 nodes), and a 6.8s Mobile LCP score, killing conversion rates and hurting SEO rankings. The Solution & Architecture: Headless Migration: Migrated frontend to Next.js 15 App Router with Tailwind CSS while decoupling the CMS via high-speed GraphQL/REST endpoints. Sub-Second Core Web Vitals: Implemented aggressive image optimization, zero-layout-shift (CLS) component architecture, and Edge Caching via Vercel Edge Network. Infrastructure Cost Reduction: Replaced heavy PHP server instances with serverless static generation (SSG/ISR), drastically reducing hosting bills. Key Metrics & Impact: Mobile LCP slashed from 6.8s down to 0.72s (Sub-Second Load). Perfect 100/100 Google Lighthouse Core Web Vitals score. 68% drop in cloud infrastructure and compute costs.
1
0
57
Cover image for Overview
TravelOS ERP is a high-concurrency
Overview TravelOS ERP is a high-concurrency fleet management and seat reservation engine engineered for intercity tour and transit operators to handle real-time dispatch, route synchronization, and instant ticketing. The Problem During peak booking windows and flash sales, simultaneous customer checkouts frequently triggered double-booking race conditions. Additionally, high database lock contention degraded dispatch dashboard performance and caused live manifest sync failures across remote driver terminals. The Solution & Architecture Distributed Concurrency Control: Implemented atomic seat reservation locks using Redis Mutex with strict TTL expiration, eliminating 100% of double-booking races under concurrent load. Real-Time Passenger Manifest Sync: Architected bi-directional WebSocket pipelines to instantly synchronize seat statuses, passenger check-ins, and driver dispatch states with sub-35ms latency. Relational Data Integrity: Designed normalized PostgreSQL schemas with Prisma ORM and multi-tenant isolation, ensuring seamless handling of routes, vehicle maintenance logs, and financial reconciliations. Key Impact & Metrics 0% Double-Booking Incidents under 1,000+ simultaneous checkout requests. < 35ms Lock Sync Latency across passenger and operator terminals. 100,000+ Manifest Records processed daily with sub-second query execution.
0
42
Cover image for Overview
DocuMind AI is an enterprise-grade
Overview DocuMind AI is an enterprise-grade multimodal document intelligence platform designed to extract, analyze, and synthesize critical insights from messy unstructured PDFs, financial statements, and legal agreements in real time. The Problem Traditional OCR and text extractors lose contextual hierarchy, choke on multi-column tables/scans, and induce heavy latency—often freezing the UI while large documents are processed. Moreover, sending raw full documents to LLMs causes expensive token overhead and hallucinations. The Solution & Architecture Multimodal Ingestion Pipeline: Streamed document parsing using Claude 3.5 & Gemini Multimodal models for rapid vision-level layout extraction and risk identification. Dynamic Context Compaction: Built intelligent chunking and token-budget pruning algorithms, reducing LLM API token consumption by 42% while eliminating hallucinated clauses. Sub-Second Streaming UI: Implemented Next.js 15 Server-Sent Events (SSE) streaming with a dual-pane responsive viewer (original document on the left, interactive citation breakdown and risk matrix on the right) with zero main-thread lag. Key Impact & Metrics 99.2% Accuracy in extracting high-risk contractual clauses and numerical tables. < 1.2s Time-to-First-Token (TTFT) on 50+ page PDF documents. 40%+ Cost Reduction via aggressive prompt caching and token pruning.
2
0
61
Cover image for Engineered PulseMetrics: An enterprise-grade B2B
Engineered PulseMetrics: An enterprise-grade B2B Subscription Analytics platform built with Next.js 14 App Router, TypeScript, and PostgreSQL. Key Architectural Highlights: • Real-time webhook ingestion engine syncing Stripe subscriptions with zero dropped events and idempotent execution. • Complex cohort retention and MRR churn aggregation pipelines running in sub-second query latency. • Minimalist, high-density dashboard UI with Tailwind CSS achieving sub-1.1s LCP and 99/100 Core Web Vitals. Live Production Demo: https://pulsemetrics-demo.vercel.app (https://pulsemetrics-demo.vercel.app)Tech Stack: Next.js 14, TypeScript, Tailwind CSS, Prisma, PostgreSQL, Stripe API
0
37