Currency: USD ($)
Customer Sign In →
Software Engineering ✦ Editor's Pick

Multi-Tenant Category Partitioning and Test Scheduling on Laravel: The eProstuti Blueprint

An in-depth software engineering case study detailing how SOFT IT TECHNOLOGIES built a high-concurrency, exam-ready LMS for eProstuti on Laravel.

SO
SOFT IT Tech Chronicle Editorial Board
Published Oct 13, 2026 &b000000TuesdayTuesday; 02:24 AM
8 min read 5,122 views
Share Story
Multi-Tenant Category Partitioning and Test Scheduling on Laravel: The eProstuti Blueprint
Custom Laravel LMS architecture and live exam engine engineered for eProstuti.

In the rapidly accelerating digital education sector of Bangladesh, coaching institutions, admission centers, and professional academies face a unique software engineering challenge: extreme peak concurrency. When thousands of students compete in high-stakes model tests or enroll in limited-seat batches, standard e-learning platforms frequently experience database crashes, dropped payments, and compromised exams. This technical case study explores how SOFT IT TECHNOLOGIES architected, optimized, and deployed an enterprise-grade Learning Management System (LMS) and live examination infrastructure for eProstuti using modern Laravel and PHP 8.

1. The Architectural Challenge: The Anatomy of an 8:00 PM Traffic Spike

eProstuti has established itself as an authoritative leader in Multi-Category Competitive Exams: BCS, Govt Banks, Non-Cadre, Medical & Varsity. However, as their active student body expanded nationwide, legacy systems proved incapable of supporting high-velocity demands:

During national competitive tests, student traffic does not build up gradually. Within 120 seconds of an exam opening, tens of thousands of applicants authenticate, establish websocket connections, download question payloads, and begin synchronized countdowns. When the test expires, thousands of JSON answer payloads hit the server concurrently. On standard WordPress/PHP setups, this causes immediate thread exhaustion, MySQL lock timeouts (`SQLSTATE[HY000]: Lock wait timeout exceeded`), and corrupted grade submissions.

Core Engineering Objectives Delivered for eProstuti
  • Sub-150ms Average API Response Time: Maintained under sustained concurrent test submission bursts.
  • Zero Payment Friction: Idempotent webhook listeners for bKash and Nagad ensuring automated batch activation without manual operator intervention.
  • Dynamic Anti-Piracy Watermarking: Automatic real-time stamping of applicant credentials across all distributed PDFs and lecture notes.
  • Tamper-Proof Time Enforcement: Server-verified timestamps eliminating local device clock manipulation.
  • Automated SMS & WhatsApp Notification Rails: Instant delivery of marks cards, percentiles, and batch schedules via background queues.

2. The Laravel & PHP 8 Technology Stack

Rather than relying on heavy third-party frameworks, our software architects selected Laravel 10 for its expressive syntax, bulletproof queue orchestration, native Redis integration, and strict type safety in PHP 8.

Key Technical Stack Components:

  • Framework: Laravel 10 LTS with strict typing and customized service providers.
  • Runtime: PHP 8.2+ with OPcache JIT compilation enabled for compute-intensive scoring calculations.
  • Primary Database: MySQL 8 with InnoDB engine, tuned composite B-tree indexes, and optimized buffer pools.
  • In-Memory Cache & Queues: Redis 7 Cluster managing user sessions, live test responses, and asynchronous worker queues.
  • Frontend Interactivity: Tailwind CSS combined with lightweight Alpine.js and Livewire components, ensuring instantaneous mobile responsiveness with zero heavy bundle overhead.

3. Decoupled Ingestion Pipeline: Eliminating Database Write Locks

To solve the simultaneous test submission problem, we decoupled candidate response collection from persistent MySQL storage. When an examinee submits an answer or finishes a test, their payload is not written directly to relational tables. Instead:

  1. The request hits a lightweight controller that validates the signed session token and pushes the raw answer payload into a Redis List with sub-10ms latency.
  2. The student immediately receives an HTTP 200 confirmation and is transitioned to a live evaluation screen.
  3. Dedicated background queue workers consume the Redis lists in micro-batches of 250 records, executing transactional bulk inserts into MySQL without triggering table-level locks.
  4. Negative marking deductions and percentile rankings are calculated in-memory and cached, allowing students to inspect their detailed performance breakdown instantly.

4. Zero-Friction MFS Payment Automation: bKash & Nagad Integration

In Bangladesh, over 95% of e-learning transactions occur via mobile financial services. Previous manual processes created significant customer dissatisfaction. Our engineering team implemented a zero-friction payment architecture:

When a student clicks 'Enroll Now', the platform generates a unique cryptographic payment session with bKash/Nagad checkout APIs. Upon payment completion, the gateway dispatches an asynchronous server-to-server webhook. Our webhook handler verifies the cryptographic payload signature, checks idempotency keys to prevent duplicate billing, credits the invoice, enrolls the student into their batch, and triggers a confirmation SMSβ€”all within 800 milliseconds.

5. Digital Rights Management: Dynamic PDF Anti-Piracy Watermarking

A persistent problem for eProstuti was the unauthorized sharing of proprietary course notes in Telegram and Facebook groups. We engineered a dynamic PDF watermarking pipeline directly into Laravel's stream response:

When an enrolled student accesses a lecture note, the server dynamically overlays a semi-transparent, diagonal watermark across every page. The watermark contains the student's full name, phone number, and a unique tracking hash. Because the watermark is generated in-memory during stream dispatch using FPDI, no permanent modified files pollute server storage, and generation latency averages under 320ms per document.

6. Production Load Test Telemetry & Real-World Results

Metric Parameter Legacy Platform SOFT IT Custom Laravel LMS
Simultaneous Live Examinees Crashed at ~1,800 users 25,000+ without degradation
Average Test Submission Latency 3,400ms – 8,200ms 85ms – 120ms
Course Enrollment Activation 2 – 6 hours (Manual verification) Instantaneous (< 1 second)
Course Note Piracy Incidents Frequent leaks in student groups Virtually Eliminated (98% drop)
Exam Result Publication Speed 12 – 24 hours Real-time (Instant Merit List)

7. Conclusion & Future Engineering Milestones

The custom LMS deployment for eProstuti demonstrates that when modern frameworks like Laravel are paired with thoughtful concurrency patternsβ€”such as Redis memory buffering, asynchronous queue workers, and automated payment webhooksβ€”educational platforms can scale smoothly to handle nationwide traffic spikes.

To explore the live production platform, visit https://eprostuti.com/. If your educational institution or academy is seeking a custom, high-concurrency LMS engineered without licensing limits, explore our LMS Engineering Services or schedule a discovery session with our software architecture team.

Taxonomy: #Laravel #LMS Architecture #EdTech #Redis Caching #Exam Engine #bKash API #High Concurrency Laravel EdTech LMS PHP 8 MySQL Redis Exam Engine bKash API High Concurrency Dynamic PDF Watermark
SO
SOFT IT Tech Chronicle Editorial Board
Technology Correspondent • SOFT IT Publishing

Investigating foundational machine learning architectures, cloud computing security, enterprise software engineering, and emerging hardware innovations.

Related Tech Coverage

View Newsroom →