ANALISIS PERFORMA REST API PADA NEXT.JS API ROUTES DAN EXPRESS SEBAGAI DASAR PEMILIHAN SERVER-SIDE FRAMEWORK

Rivaldi Agustinus Nugraha Siringoringo, - (2024) ANALISIS PERFORMA REST API PADA NEXT.JS API ROUTES DAN EXPRESS SEBAGAI DASAR PEMILIHAN SERVER-SIDE FRAMEWORK. S1 thesis, Universitas Pendidikan Indonesia.

[img] Text
S_RPL_2004488_Title.pdf

Download (519kB)
[img] Text
S_RPL_2004488_Chapter1.pdf

Download (154kB)
[img] Text
S_RPL_2004488_Chapter2.pdf
Restricted to Staf Perpustakaan

Download (220kB)
[img] Text
S_RPL_2004488_Chapter3.pdf

Download (506kB)
[img] Text
S_RPL_2004488_Chapter4.pdf
Restricted to Staf Perpustakaan

Download (379kB)
[img] Text
S_RPL_2004488_Chapter5.pdf

Download (104kB)
[img] Text
S_RPL_2004488_Appendix.pdf
Restricted to Staf Perpustakaan

Download (326kB)
Official URL: https://repository.upi.edu/

Abstract

Pemilihan framework dalam membangun website dapat mempengaruhi performa dari website. Penelitian sebelumnya telah melakukan perbandingan performa antara framework untuk membantu pengembang aplikasi memilih framework untuk aplikasi mereka. Namun, framework yang diuji pada penelitian terdahulu merupakan server-side framework tidak masuk ke dalam daftar framework terpopuler pada 5 tahun terakhir. Hal ini membuat perlunya penelitian pada framework populer saat ini, yaitu Next.js dan Express. Penelitian ini bertujuan untuk melakukan perbandingan performa implementasi REST API antara framework Next.js dan Express dengan melakukan performance testing pada kedua framework tersebut. Pengujian yang dilakukan dalam penelitian ini adalah load, spike, dan stress testing. Pengujian dilakukan menggunakan JMeter. Pada setiap jenis pengujian, terdapat 5 pengujian yang dilakukan, yaitu pengujian pada endpoint metode permintaan HTTP GET, POST, PUT, DELETE, dan seluruh endpoint. Pengujian dilakukan untuk melihat bagaimana performa framework yang diuji pada sisi response time, throughput, CPU usage, dan memory usage. Hasil pengujian menyatakan bahwa performa implementasi REST API pada Express lebih unggul dibandingkan Next.js pada mayoritas pengujian berdasarkan metrik response time, throughput, CPU usage, dan memory usage. Rata-rata response time Express lebih unggul 434,31ms. Rata-rata throughput Express lebih unggul 10,45 request/second. Rata-rata CPU usage Next.js lebih unggul 0,08%. Rata-rata memory usage Express lebih unggul 1,31%. Berdasarkan hasil pengujian, Express memiliki performa lebih baik pada implementasi REST API pada mayoritas pengujian yang dilakukan. Oleh karena itu, developer dapat memilih Express ketika ingin mengembangkan REST API dengan performa response time, throughput, CPU usage, dan memory usage yang baik. -------------- Framework selection in building website can affect performance of the website. Previous studies have compared the performance between frameworks to help developers choose framework for their applications. However, frameworks tested in previous studies were server-side frameworks that were not included in the list of the most popular frameworks in the last 5 years. This makes it necessary to research popular frameworks today, namely Next.js and Express. This study aims to compare the performance of REST API implementations between the Next.js and Express frameworks by conducting performance testing on both frameworks. The tests conducted in this study were load, spike, and stress testing. Testing was carried out using JMeter. In each test type, there were 5 tests performed, namely testing on the HTTP request method endpoints GET, POST, PUT, DELETE, and all endpoints. Testing was carried out to see how the tested framework performed in terms of response time, throughput, CPU usage, and memory usage. The test results stated that the performance of the REST API implementation on Express was superior to Next.js in majority of tests based on all metrics. The average response time of Express is 434.31ms bigger. Express's average throughput is 10.45 requests/second bigger. Next.js' average CPU usage is 0.08% bigger. Express's average memory usage is 1.31% bigger. Based on the results, Express has better performance in REST API implementation in the majority of tests. Therefore, developers can choose Express when they want to develop REST APIs with good response time, throughput, CPU usage, and memory usage performance.

Item Type: Thesis (S1)
Additional Information: https://scholar.google.com/citations?view_op=new_profile&hl=en ID SINTA Dosen Pembimbing: Mochamad Iqbal Ardimansyah: 6658552 Yulia Retnowati: 6852573
Uncontrolled Keywords: REST API, Pengujian Performa, Next.js, Express, JMeter, Performance Testing, Next.js, Express, JMeter.
Subjects: L Education > L Education (General)
Q Science > QA Mathematics > QA76 Computer software
Divisions: UPI Kampus cibiru > S1 Rekayasa Perangkaat Lunak
Depositing User: Rivaldi Agustinus Nugraha Siringoringo
Date Deposited: 10 Sep 2024 06:45
Last Modified: 10 Sep 2024 06:45
URI: http://repository.upi.edu/id/eprint/121661

Actions (login required)

View Item View Item