I recently architected and built VedaAI Assessment Creator, a personal project designed to transf...I recently architected and built VedaAI Assessment Creator, a personal project designed to transf...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
I recently architected and built VedaAI Assessment Creator, a personal project designed to transform unstructured notes and files (PDFs, DOCX) into highly structured, curriculum-aligned exam papers. Building enterprise-grade applications at scale requires looking beyond simply making API calls. For this build, I wanted to focus entirely on non-blocking architectures and deterministic AI outputs. Here is a breakdown of the technical decisions: Asynchronous Workers: Instead of blocking the main HTTP thread during heavy file parsing and AI inference, I implemented a distributed task queue using BullMQ and Upstash Serverless Redis. The Express API responds in under 100ms, while background workers handle the heavy lifting. Deterministic AI: I opted for Groq (Llama-3.3-70b) utilizing its JSON mode. The sub-500ms inference time and guaranteed schema compliance eliminated the need for complex post-processing validation. Real-Time Synchronization: A WebSocket setup broadcasts job completion events, updating the Next.js frontend instantly without relying on inefficient polling. Database & State: MongoDB Atlas handles ACID transactions for complex document updates, while Zustand manages lightweight, atomic state slices on the frontend. I also built in granular question regeneration—allowing users to re-run isolated inference calls for single questions without replacing the entire paper—and print-ready A4 PDF exports. Designing this kind of scalable infrastructure directly supports my ongoing deep dive into advanced AI and machine learning systems. You can check out the Live Link here: https://lnkd.in/geAXUtHC . I would love to hear how others are handling asynchronous AI tasks in production!
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started