Skip to main content

Engineering Scalable Platforms

Deep dives into advanced systems, operational logic, and the architecture behind production-grade platform ventures.

Reimagining E-Commerce: The Arrivals Cave Analytics Engine
Problem

Launching a seasonal Panjabi collection in Bangladesh from zero audience required an incredibly aggressive, highly optimized digital strategy. Paid acquisition was mandatory, but client-side tracking pixels were losing 30-40% of conversion data to iOS 14+ ad-blockers, destroying ROAS predictability while advanced CRO UX features were simultaneously crippling Core Web Vitals.

Solution

Architected a high-velocity, conversion-optimized storefront engine executing entirely on the Edge using Next.js 16 and Supabase. Implemented Server-to-Server Meta Conversions API (CAPI) via Server Actions with SHA-256 cryptographic hashing to perfectly deduplicate events and bypass browsers. Engineered a programmatic Google Merchant XML generation script dividing distinct SKUs dynamically.

Attribution Win: +30%Lighthouse: 95+CRO Features: 7+
Eid 2026 Launch
Gaari: Architecting Bangladesh's First Multi-Service Travel Platform
Problem

Building Bangladesh's first comprehensive car rental and travel platform required solving multiple complex challenges simultaneously. The platform needed to handle three distinct service types (Car Rental, Travel Packages, Activities) with different booking parameters, pricing models, and availability constraints. The core challenge was creating a unified booking system that could manage real-time availability across hundreds of vehicles and services while preventing double bookings during high-traffic periods. Additionally, the system needed to support dynamic pricing algorithms that adjust based on demand, duration, and seasonality—all while maintaining sub-second response times for search queries. Payment integration presented another layer of complexity, requiring seamless integration with both Stripe (international) and Bkash (local) payment gateways, each with different webhook structures and security requirements. The geographic services component needed to support 500+ landmarks and provide route optimization for travel planning.

Solution

I architected a unified booking engine using Next.js 14's App Router with Server Components for optimal performance. The solution involved three core layers: **State Management Layer**: Created a centralized booking state manager using React Context API and custom hooks that handles multi-step booking flows, cross-service availability checks, and real-time price calculations. **Real-Time Availability Layer**: Implemented Supabase Realtime subscriptions with PostgreSQL triggers to maintain live availability counts. The system uses optimistic UI updates with backend confirmation to handle race conditions when multiple users book simultaneously. **Dynamic Pricing Engine**: Built a server-side pricing calculator that considers base rates, duration multipliers, seasonal demand factors, promotional discounts, and last-minute booking premiums. All calculations are cached in Redis for performance. For payment integration, I created a unified abstraction layer that handles both Stripe and Bkash webhooks with idempotency checks to prevent duplicate charges. The geographic services component uses geocoding APIs with route optimization algorithms.

Components: 80+API Endpoints: 110+Database Tables: 20+
2023 - Present
Scaling News for 170 Million Bengali Speakers
Problem

InshortBD aimed to fundamentally disrupt digital news delivery for 170M+ Bengali speakers. The platform had to gracefullly withstand violent, localized traffic explosions synonymous with breaking political news without succumbing to gateway timeouts, all while maintaining an utterly frictionless, rich-text experience for non-technical journalists.

Solution

Abandoned legacy monolithic architectures for a Cloud-Native Media Pipeline intrinsically married to a Zero-Production-Escape CI/CD Culture. Built a headless Tiptap CMS with custom slash commands. Bypassed the server nodes entirely for media by engineering cryptographic AWS S3 presigned URL streams directly from the browser. Automated the QA with Playwright to instantly simulate journalist workflows on Vercel preview environments.

CI/CD Regressions: 0%Time-to-Publish: -40%Audience Target: 170M+
2026 - Present
Leads and Sales CRM: The Operating System for High-Velocity Growth
Problem

Fragmented data silos. Sales reps were wasting 30% of their day switching context between dialers, email, spreadsheets, and legacy CRM interfaces that were slow and unintuitive.

Solution

A vertically integrated command center. We unified the ingestion pipeline (leads) with the execution layer (calls/notes) in a single high-performance interface. Leveraging Supabase Realtime for instant collision detection and Optimistic UI for zero-latency interactions.

Response Time: 3x FasterAdmin Overhead: -40%Pipeline Vis: 100%
3 Months
Bespoke Portfolio Architecture: Performance and Polish
Problem

A high-level Operations Executive required a digital presence transcending a basic static CV. The portfolio needed profound aesthetic polish (animations, complex layouts) mixed with unapologetic technical perfection (100/100 Lighthouse) to act as an industry thought-leadership engine.

Solution

Orchestrated a deterministic motion architecture utilizing Framer Motion entirely synchronized to the window scroll loop to eliminate Cumulative Layout Shifts (CLS). Built a customized Markdown AST Compilation Pipeline (Unified/Remark) capable of ingesting case studies dynamically and generating beautiful Open Graph `@vercel/og` telemetry on the fly.

Performance: 100/100First Paint: <0.8sUX Render: Zero CLS
2026
The Trail: Engineering a Custom CMS and News Delivery Platform
Problem

Building a production-ready news platform required creating a custom CMS from scratch that could handle high traffic, provide rich editorial tools, and deliver content at lightning speed. The challenge wasn't just building a news site—it was creating a comprehensive content management system that non-technical editors could use effectively while maintaining performance standards. The platform needed to support advanced content filtering (Latest, Most Popular, Trending, Hot), category-based navigation, trending algorithms based on view counts, breaking news banner systems, and a multi-stage content workflow (Draft → Review → Approved → Published). Additionally, the system required custom analytics to track article performance, SEO optimization with structured data, newsletter functionality, and comment moderation capabilities. With 30+ database tables and complex relationships, the database architecture needed careful design to maintain query performance as content volume grew. The system also needed to handle Docker deployment with Nginx reverse proxy for production scalability.

Solution

I built a custom CMS using Next.js 14+ with Tiptap rich text editor, providing a modern editing experience with real-time collaboration support. The content workflow system implements role-based permissions ensuring content quality before publication. The advanced filtering system uses a sophisticated algorithm that considers view counts (weighted by recency), time on page, social shares, and comment engagement to determine trending and popular content. The database architecture uses normalized structure with strategic indexing on frequently queried fields and PostgreSQL full-text search for article discovery. For analytics, I created a custom dashboard tracking article views, popular categories, reader engagement metrics, traffic sources, and peak reading times with data visualization using Recharts. SEO implementation includes Schema.org markup, dynamic sitemap generation, RSS feed, and proper meta tags with Open Graph and Twitter Cards. Performance optimization leveraged Next.js Server Components for zero-client JavaScript, Next.js Image component with Cloudinary, multi-layer caching (CDN, Redis, database), route-based code splitting, and database query optimization with connection pooling.

Components: 150+API Endpoints: 25+Database Tables: 30+
2024 - Present
Eradicating Database Bottlenecks in The Trailheadline
Problem

The Trailheadline faced the fundamental dilemma of news aggregators: serving massive volumes of updating, information-dense content while ranking relevance algorithmically in real-time. Traditional ORM setups executing 'Trending' queries triggered massive N+1 database bottlenecks, instantly leading to 504 Gateway errors during traffic surges.

Solution

Restructured the 30-table PostgreSQL database utilizing deep relational JOINs and JSONB aggregations inside Supabase. Built a proprietary 'Gravity/Velocity' algorithmic ranking engine running asynchronously via backend CRON jobs to pre-calculate 'hot_score' integers. Implemented a 4-Layer SEO framework (SXO/AIO) dynamically injecting JSON-LD Knowledge Graph payloads.

Lighthouse UX: 95+SQL Latency: ~40msDiscovery: Programmatic SEO
2024 - 2025
Yagacalls: 4-Layer SEO Domination for a 3,500+ Investor Platform
Problem

Yagacalls needed to establish strong organic visibility to serve its growing community of 3,500+ investors effectively. The platform required ranking for trading signal keywords, market analysis terms, financial education content, and platform-specific searches. Traditional SEO approaches weren't sufficient—we needed a comprehensive framework that could compete with established financial platforms. The challenge involved implementing a 4-layer SEO framework (SXO, AIO, GEO, AEO) while maintaining platform performance and user experience. The system needed to support AI-powered content generation, structured data markup for answer engines, geographic optimization for local searches, and comprehensive technical SEO implementation. Additionally, the custom CMS needed built-in SEO features, performance monitoring for Core Web Vitals, and analytics integration to track SEO effectiveness. The platform also required content optimization for voice search and featured snippets.

Solution

I implemented a comprehensive 4-layer SEO framework: **Layer 1 - SXO (Search Experience Optimization)**: Optimized on-page elements with semantic HTML, proper heading hierarchy, alt text for images, internal linking strategy, and breadcrumb navigation. Implemented technical SEO with page speed optimization, mobile responsiveness, SSL certificate, XML sitemap, and robots.txt optimization. **Layer 2 - AIO (AI Optimization)**: Leveraged AI for content generation, automated meta descriptions, keyword optimization suggestions, and content gap analysis. Implemented AI chatbot for user queries and personalized content recommendations. **Layer 3 - GEO (Geographic Optimization)**: Targeted location-specific searches with Google My Business optimization, location-based content, regional keyword targeting, and local backlink strategy. **Layer 4 - AEO (Answer Engine Optimization)**: Optimized for answer engines with FAQ schema markup, HowTo schema for tutorials, Article schema for blog posts, and Review schema for testimonials. Implemented answer-first content structure with bullet points, clear concise answers, and question-based headings. The implementation included comprehensive structured data markup, performance monitoring for Core Web Vitals, and analytics integration tracking organic traffic growth and keyword rankings.

Components: 15+API Endpoints: 5+Pages: 50+
2024 - Present