Computer-based testing (cbt) merupakan sistem ujian berbasis computer yang banyak digunakan untuk meningkatkan efisiensi dan akurasi dalam proses evaluasi pembelajaran. universitas syiah kuala sebelumnya telah mengembangkan aplikasi cbt menggunakan arsitektur backend django dan database mysql. penelitian ini bertujuan untuk menganalisis performa aplikasi cbt setelah migrasi dari mysql ke mongodb serta mengevaluasi transisi backend dari django ke express untuk meningkatkan responsivitas, dan efisiensi dalam menangani permintaan asinkron dengan mengukur metrik seperti waktu respons, throughput, dan skor application performance index (apdex). metodologi yang digunakan mengadaptasi pendekatan waterfall yang mencakup analisis kebutuhan, perancangan sistem, implementasi, pengujian, pengujian lanjutan, dan analisis data. pengujian dilakukan dengan enam pola, yaitu pengujian performa, stress, volume, fungsionalitas, prosedur, dan dokumentasi menggunakan apache jmeter untuk simulasi beban kerja yang mendekati kondisi nyata. hasil awal menunjukkan bahwa dalam kondisi single thread, django-mysql lebih unggul dibandingkan express-mongodb. namun, setelah dilakukan pengujian lanjutan dengan optimalisasi express-mongodb ke kondisi multithread (12 worker), performa express-mongodb meningkat signifikan dan melampaui django-mongodb dalam waktu respons dan throughput. express-mongodb mencatat waktu respons rata-rata 115,62 ms dan throughput 7,92 tps, sedangkan django-mongodb mencatat 163,13 ms dan 3,97 tps. selain itu, pengujian menunjukkan bahwa semua fitur utama aplikasi cbt berjalan sesuai spesifikasi tanpa error pada arsitektur django-mongodb dan express-mongodb. pengujian performa menggunakan apdex menunjukkan bahwa sebelum migrasi, arsitektur django-mysql memiliki skor apdex sebesar 0.993. setelah migrasi ke express-mongodb dengan kondisi masih single-thread, skor apdex turun menjadi 0.947. namun, dengan django-mongodb dan express-mongodb yang diubah menjadi multithread, skor apdex meningkat menjadi 1.000, menunjukkan tingkat kepuasan pengguna yang maksimal terhadap performa sistem. kesimpulannya, kombinasi express-mongodb dengan kondisi multithread memberikan keseimbangan terbaik antara waktu respons, throughput, dan stabilitas, menjadikannya pilihan optimal untuk sistem cbt berskala besar.
Electronic Theses and Dissertation
Universitas Syiah Kuala
SKRIPSI
ANALISIS PERBANDINGAN PERFORMA APLIKASI COMPUTER-BASED-TEST (CBT) DENGAN ARSITEKTUR BACKEND DJANGO-MYSQL DAN EXPRESS-MONGODB. Banda Aceh Fakultas MIPA (S1),2025
Baca Juga : RANCANG BANGUN BACK-END SISTEM PEMESANAN LAPANGAN DIAZ SPORT CENTER BERBASIS WEB (T. Indris Andina, 2026)
Abstract
Computer-Based Testing (CBT) is a computer-based examination system that is widely used to improve efficiency and accuracy in the learning evaluation process. Syiah Kuala University has previously developed a CBT application using the Django backend architecture and MySQL database. This study aims to analyze the performance of the CBT application after migrating from MySQL to MongoDB and evaluating the backend transition from Django to Express to improve responsiveness and efficiency in handling asynchronous requests by measuring metrics such as response time, throughput, and Application Performance Index (Apdex) scores. The methodology used adapts the waterfall approach which includes requirements analysis, system design, implementation, testing, advanced testing, and data analysis. Testing is carried out with six patterns, namely performance, stress, volume, functionality, procedures, and documentation testing using Apache JMeter to simulate workloads that are close to real conditions. Initial results show that in single thread conditions, Django-MySQL is superior to Express-MongoDB. However, after further testing with Express-MongoDB optimization to multithread conditions (12 workers), Express-MongoDB performance increased significantly and surpassed Django-MongoDB in response time and throughput. Express-MongoDB recorded an average response time of 115.62 ms and a throughput of 7.92 TPS, while Django-MongoDB recorded 163.13 ms and 3.97 TPS. In addition, testing showed that all the main features of the CBT application ran according to specifications without errors on the Django-MongoDB and Express-MongoDB architectures. Performance testing using Apdex showed that before migration, the Django-MySQL architecture had an Apdex score of 0.993. After migrating to Express-MongoDB with single-thread conditions, the Apdex score dropped to 0.947. However, with Django-MongoDB and Express-MongoDB changed to multithread, the Apdex score increased to 1,000, indicating the maximum level of user satisfaction with system performance. In conclusion, the combination of Express-MongoDB with multithreaded conditions provides the best balance between response time, throughput, and stability, making it an optimal choice for large-scale CBT systems.