Digitizing the Internal Training System (Corporate LMS) - Solving the Problem of Loading Tens of Thousands of Personnel

DISCRETE TRAINING SYSTEMS AND SERVER CRASHES ERUPTED

DUDI Software's client is a retail corporation with a nationwide network of hundreds of stores and a constantly fluctuating workforce of 15,000 employees. Each month, the corporation has to organize dozens of internal training courses on business processes, workplace safety, and sales skills.

The company's outdated Learning Management System (LMS) revealed extremely serious infrastructure flaws: Firstly, the video lecture viewing experience was disastrous. Due to the server's lack of content compression and distribution mechanisms, high-quality (Full HD) training videos would freeze and lag immediately when approximately 500 employees accessed them simultaneously. Many employees were forced to download the entire video file, several gigabytes in size, to their personal computers, leading to the risk of leaking proprietary internal documents to competitors. Secondly, network congestion was a disaster during exams. On the scheduled end-of-month exam day, when 3,000 employees logged into the system to take a timed multiple-choice test, the database experienced a "deadlock." Hundreds of unfinished exams were crashed without saving results, and the HR department was overwhelmed with technical complaints and had to manually re-grade everything using Excel.

DISTRIBUTED CLOUD ARCHITECTURE AND PROFESSIONAL VIDEO STREAMING TECHNOLOGY

The engineering team at DUDI Software completely rebuilt the LMS platform, applying a technology ecosystem from Node.js, React, and a distributed cloud computing infrastructure:

  1. Adaptive Bitrate Streaming (HLS) technology: We completely eliminate storing videos on conventional web servers. The entire lecture library is transferred to a cloud storage system (AWS S3) and automatically encoded using the HLS protocol. When an employee opens a video, the system doesn't download the entire file but cuts the video into thousands of small 3-second chunks. Depending on the strength of the employee's 4G or Wi-Fi network, the system will automatically lower or increase the resolution (from 360p to 1080p) in real time without interrupting the lesson. These videos are all digitally signed (signed URLs), making them impossible to download illegally using external software (download protection).
  2. Exam Load Handling Architecture Using Message Queue: To address the system crash issue when 3,000 people submit exams simultaneously, we redesigned the data flow. Instead of forcing the main database server (PostgreSQL) to process thousands of submission requests immediately, all multiple-choice answer data is pushed into an intermediate queue (Redis Pub/Sub). The server system calmly "picks" each exam from the queue for grading and sequential storage, ensuring the server never exceeds 60% CPU capacity, even during peak hours.
  3. Automating the certification process and HR dashboard: Building a dedicated management module for managers. As soon as an employee watches 100% of the video (with fast-forwarding enabled) and passes the required exam, the software automatically generates a digital certificate in PDF format and updates it directly to the employee's profile on the company's ERP system.

SMOOTH OPERATION OF 15,000 EMPLOYEES AND ABSOLUTE DATA SECURITY

After four months of implementation and application, the new LMS system has completely transformed the training landscape of the corporation:

  • Enduring Zero-Downtime: Successfully achieved in a nationwide assessment with over 6,500 personnel taking the online test simultaneously. The system processed submissions smoothly, with server response times under 200 milliseconds, and no test errors or connection issues.
  • Save 85% on network bandwidth: The application of the HLS protocol minimizes the burden on the company's internal network bandwidth, allowing employees to view content smoothly even on low-configuration personal mobile devices.

Freeing up administrative resources: Automating 100% of the attendance, exam grading, and certificate issuance processes saves the training department over 300 hours of manual work per month, allowing them to focus on researching and developing high-quality new lectures.