NGIT Edu – High-Concurrency Examination & Typing Engine
Eliminating keystroke lag and platform crashes for thousands of government exam aspirants across India.
National Genius Institute
Technical Architect & Engine Developer
2023 - 2024
Executive Architectural Summary
NGIT Edu is an established educational and certification institute preparing aspirants for competitive examinations requiring rigorous typing and computer literacy standards (such as Allahabad High Court ARO/RO, UP Police Computer Operator, SSC CHSL, and NIELIT CCC/O-Level). Prior to the architectural overhaul, peak test cycles with hundreds of concurrent users caused keystroke buffering delays, inaccurate WPM scoring, and server timeouts on legacy PHP infrastructure. Devraj Singh Tomar was brought in to architect a modern, sub-millisecond typing evaluation engine and server-rendered curriculum portal.
The Operational Challenge & Technical Bottlenecks
Government typing examinations demand strict adherence to keystroke accuracy, backspace penalties, and font specificities (Mangal Remington Gail, Kruti Dev 010, and standard English QWERTY). Legacy desktop software was cumbersome to deploy on student hardware, while existing web alternatives suffered from noticeable keystroke event latency, inaccurate words-per-minute (WPM) calculations, and server crashes during sudden traffic surges when mock tests were published.
Unacceptable 80ms-150ms input lag on browser textareas causing student typing errors.
Server-side evaluation models creating severe database thread locks under 500+ concurrent test takers.
Complex font mapping glitches when rendering bilingual Hindi (Mangal Unicode vs Kruti Dev ASCII) test passages.
Loss of test progress during intermittent student network dropouts.
“Generic off-the-shelf LMS platforms and WordPress plugins were built for static multiple-choice quizzes, completely lacking the low-level DOM event capture, raw keystroke telemetry, and offline event queues required for high-stakes speed typing evaluations.”
Strategic Architectural Decisions & Execution
Engineered a distributed client-side evaluation engine built on Next.js and TypeScript, decoupling real-time keystroke processing from network roundtrips. All keystroke timing, error calculations, backspace accounting, and WPM velocity are computed locally inside an in-memory state machine and synced atomically at the conclusion of the test session.
Key Architectural Innovations
- Sub-millisecond client-side keyboard event listener bypassing standard textarea overhead.
- Edge-cached passage banks with instant randomized test generation.
- Dual Hindi font engine supporting both legacy Remington Gail / Mangal Unicode and Kruti Dev 010 mapping.
- Atomic test submission payload with cryptographic tamper detection against client-side score modification.
Strategic Technical Decisions
- Adopted Next.js App Router for SSG/ISR static documentation and dynamic Edge API routes for mock evaluations.
- Stored question passages at the CDN edge to guarantee sub-100ms first contentful paint (FCP).
- Implemented local Web Storage state buffering so candidates can complete tests even during brief ISP disconnections.
Devraj's Strategic Role & Personal Ownership
Official Designation: Technical Architect & Engine Developer
Devraj Singh Tomar served as the Technical Architect & Lead Engine Developer, directly owning the typing engine's core mathematical logic, client-side event architecture, and cloud deployment pipeline.
What I Directly Engineered & Delivered
- Designed the core JavaScript/TypeScript typing engine algorithm with zero-lag keystroke evaluation.
- Engineered the Hindi transliteration and font-swapping renderer for Mangal and Kruti Dev passages.
- Architected serverless API endpoints on Next.js to verify and persist completed candidate test results.
- Configured technical SEO metadata and structured schemas for high-intent search queries across Uttar Pradesh.
Scope & Collaboration Boundaries
- Devraj personally authored the typing engine algorithms and frontend state machine.
- Collaborated with NGIT faculty on official exam grading rules and passage validation.
- Institute faculty provided subject matter materials, syllabus data, and question banks.
System Architecture & Technology Stack
Frontend & UI
Next.js 14 App Router, TypeScript, Tailwind CSS, Framer Motion for UI reactivity.
Backend & Runtimes
Next.js Edge API Route Handlers, Node.js serverless execution on Vercel.
Data & Caching Layer
Vercel Edge Network caching for test passages; IndexedDB/LocalState for real-time exam telemetry.
Security & Hardening
Strict anti-paste mechanisms, client tampering checksum verification, rate-limited test submission endpoints.
Cloud Infrastructure & Edge Delivery
Vercel Global Edge Network, Cloudflare DNS with automatic DDoS protection and SSL.
Core Features & Functional Capabilities
Sub-Millisecond Real-Time Typing Engine
Tracks instantaneous gross speed, net speed, accuracy percentage, and backspace counts with zero input lag on any modern browser.
Bilingual Exam Simulation
Full support for English QWERTY, Hindi Mangal (InScript & Remington Gail), and Kruti Dev 010 with accurate character code mapping.
Offline-Resilient Test Session
Exams run entirely in-browser memory once loaded; temporary network drops do not interrupt timer or invalidate candidate scores.
Instant Diagnostic Analytics
Detailed error breakdown highlighting finger placement mistakes, character substitution errors, and speed consistency charts.
Quantifiable Metrics & Qualitative Impact
Perceived lag eliminated entirely via client-side state machine
Maintained continuous operation during major government exam announcement surges
Increase in monthly active students completing online mock tests
Long-Term Organizational Impact
- Instituted as the primary digital evaluation benchmark for students preparing for UP High Court and Police exams.
- Completely eliminated student complaints regarding software freezing during timed speed tests.
- Significantly reduced teacher grading workload by automating real-time scorecards and performance summaries.
Experience the Production Platform
Inspect the responsive ergonomics, sub-second latency, and verified features live in production.
Launch National Genius InstituteRelated Case Studies
IDPS Pratapgarh
Modern school digital platform driving parent trust, academic transparency, and online admissions growth.
Divya Jap
A digital Jap Mala and collective mantra meditation ecosystem engineered for deep spiritual practice.
T&S Lex Ink Legal
High-security digital portal engineered for elite corporate litigation, dispute resolution, and legal compliance.
Divya Jap – Local-First Vedic Sadhana & Chanting Platform
Have a Complex Platform to Build or Scale?
I turn ambiguous business objectives into resilient, high-performance digital products. Let's evaluate your technical bottlenecks and build solutions that last.