Skip to main content
01•CASE STUDY

MezbaanOS

The high-concurrency marquee operations engine modernizing Pakistani banquet logistics.

A purpose-built B2B SaaS platform engineered to eradicate catastrophic double-bookings and revenue leakage across Pakistani wedding venues. Features atomic multi-hall calendar slot locking, dynamic per-head banquet catering matrices (Barat, Walima, Mehndi), and staggered milestone financial ledgers.

ROLE
Lead Full-Stack Architect & Product Designer
TIMELINE
2025 — 2026
INDUSTRY DOMAIN
Pakistani Wedding Hospitality Industry (Banquet & Marquee Venues)
PRIMARY ACCENT
#38bdf8
LIVE INTERACTIVE ARCHITECTURE CONSOLE
MezbaanOS Enterprise
Peak Season • Dec 2026
Friday Night • Barat Confirmed
Chaudhry & Malik Wedding
Guest Count:950 Pax
Token Advance:PKR 500,000 (Cleared)
Saturday Afternoon • WalimaToken Hold
Syed & Bukhari Reception
Guest Count:650 Pax
Menu Tier:Executive Shahi Feast
Concurrency Engine: ActiveNext.js 15 • PostgreSQL
SYSTEM BENCHMARKS

Verified Production Metrics

0.0%
Double-Booking Risk
1,200 Pax
Guest Capacity
< 2.0s
Invoice Generation
99.98%
Operational Uptime
THE CHALLENGE

Problem Statement

Pakistani wedding marquees process millions of PKR per event during high season, yet venue managers relied on fragile physical registers, leading to devastating double-bookings, delayed vendor payments, and manual catering cost miscalculations.

THE ARCHITECTURE

Architectural Solution

Built a multi-tenant Next.js application with atomic database slot-locking, instant per-head catering formulas tailored to traditional cuisine, and an automated milestone ledger that sends payment reminders directly to banquet clients.

ENGINEERING TRADEOFFS

Critical Technical Decisions

DECISION 01

Atomic PostgreSQL Transaction Locks

During peak wedding months (November–February), venue managers simultaneously field inquiries for the same auspicious dates. Row-level locks prevent conflicting reservations before payment verification.

DECISION 02

Dynamic Per-Head Ingredient Calculation

Instead of fixed menu costs, catering formulas automatically calculate raw mutton, chicken, and basmati rice tonnage based on live market pricing and headcount tiers.

DECISION 03

Zero-Latency Client Optimistic Updates

Ensured floor managers using smartphones inside noisy banquet halls experience immediate UI responsiveness when approving hall setup milestones.

CORE DELIVERABLES

Capabilities & Feature Matrix

Dynamic Multi-Hall Booking Calendar with atomic database slot-locking preventing double-bookings during peak wedding seasons.

Pakistani Shaadi Catering Matrix with per-head automatic costing (Barat, Walima, Mehndi feasts).

Automated Milestone Financial Ledger tracking token advance deposits, staggered instalments, and cashflow.

Raw Ingredient Requisition engine calculating mutton, basmati rice, and dry fruit inventory for banquet chefs.

Instant PDF invoice and booking confirmation generator with direct WhatsApp dispatch.

IMPLEMENTED TECHNOLOGIES

Technology Stack

Next.js 15React 19PostgreSQLTailwind CSSMotion

Explore Source Code & Implementation

Inspect commit logs, architecture schemas, and pull requests on GitHub.