Restructuring the Online English Learning Platform Reaches 10,000 CCU Using MongoDB Atlas & AWS

EDTECH INFRASTRUCTURE CONGESTION POINTS AND OPERATIONAL CRISIS

DUDI Software's partner is an English language training center with a network of thousands of students nationwide. To meet the demand for distance learning, the center implemented an online learning platform combined with IELTS/TOEIC certificate practice tests. However, as the scale expanded, the outdated technology system began to reveal critical weaknesses, directly threatening the quality of teaching and brand reputation.

The old system was built on a single physical server and used a traditional SQL database. Serious problems arose daily, including:

  • Widespread system crashes: Whenever the center holds a regular mock exam, if the number of concurrent users (CCU) exceeds 800, the system immediately becomes overloaded. Exams are interrupted, scores are not saved, causing great outrage from students.
  • Bulky data architecture: Lessons, video lectures, and student assignment history are massive amounts of unstructured data. Cramming them into rigid SQL tables results in slow query speeds. A single course page can load in over 6 seconds.
  • Manual registration process: Students registering for courses must manually transfer payment and then send the receipt to the consultant. The academic affairs department spends a lot of time verifying the information before they can grant access to the class, reducing the conversion rate of new customers.

CLOUD RESTRUCTURING AND DATABASE OPTIMIZATION STRATEGIES

The engineering team at DUDI Software recognized that continuing to patch things up on the old platform was no longer feasible. We proceeded to completely rebuild the system using a microservices architecture, while also applying the most modern development tools to minimize deployment time. In particular, DUDI's programming team leveraged the power of the Trae IDE, integrated with the Claude 3.5 Sonnet model, to automate the restructuring of old code flows to the Clean Architecture standard, ensuring that all code is streamlined and free of technical debt.

  1. Data migration to MongoDB Atlas: The problem of slow query speeds was completely solved by migrating the entire storage system to the MongoDB Atlas NoSQL database cluster. MongoDB's flexible architecture allows for the storage of massive volumes of multimedia assignment formats, audiovisual histories, and personalized learning progress for each student with near-instantaneous access speeds, despite the ever-growing data size.
  2. Deploying AWS & Docker Cloud Infrastructure: To permanently eliminate website crashes during mock exams, DUDI Software packaged the entire system into containers using Docker and uploaded them to the Amazon Web Services (AWS) cloud platform. The system is configured with an auto-scaling mechanism. When the number of students accessing the mock exam surges, AWS automatically allocates additional server resources to handle the load, and automatically scales down when the exam ends to save costs for the business.
  3. Automated registration using dynamic VietQR gateway: The manual registration process is completely replaced. The system automatically generates a unique VietQR code for each course package. When a student scans the code to pay, the Webhook is sent to the server within 3 seconds. The system immediately activates the account and sends an email notification granting access to the course completely automatically, freeing up 100% of the workload for the teaching staff.

BREAKING THE LIMITS OF PERFORMANCE AND ACHIEVE COMPLETE AUTOMATION

Just six weeks after migrating to the new infrastructure, the English language training platform has recorded outstanding operational results:

  • Handles 10,000 concurrent users smoothly: The largest mock exam of the year, with 10,000 participants, ran smoothly without any lag. Website crashes and exam data loss were completely eliminated.
  • Page load speeds meet Core Web Vitals standards: Learning page response times are reduced from 6 seconds to an average of 0.9 seconds, providing a smooth and seamless video lecture viewing experience.
  • A 45% increase in new student enrollments: The automated payment experience and instant class placement helped the center score highly in terms of professionalism, boosting the conversion rate of online learning packages.

With DUDI Software providing 100% of the full source code and detailed technical documentation, the center has complete control over its EdTech platform, confidently expanding its teaching activities nationwide without technological barriers.