Infotech: Journal of Technology Information
Vol 12, No 2 (2026): NOVEMBER

Perbandingan Performa REST API Laravel FrankenPHP dan Next.js Menggunakan Load Testing K6 pada Lingkungan Docker Terbatas

Rafli Ilham Aditia (Universitas Muhammadiyah Prof. Dr. Hamka)
Mia Kamayani Sulaeman (Universitas Muhammadiyah Prof. Dr. Hamka)



Article Info

Publish Date
23 Nov 2026

Abstract

This study evaluates the performance of Representational State Transfer (REST) APIs built with Laravel FrankenPHP and Next.js inside a resource-limited Docker container (1 vCPU and 1000 MB RAM). A quantitative load test with up to 500 virtual users was run in K6 across eight operational scenarios, measuring response time, throughput, resource utilisation, and error rate. Next.js reached a throughput of 33.57 RPS, but its peak memory rose to 770 MB (77% of capacity) and its error rate was 3.4%, exceeding the 1% tolerance. Laravel FrankenPHP reached 31.48 RPS with a peak memory of 210 MB (21% of capacity) and an error rate of 0.6%, which satisfies the criterion. Both frameworks exceeded the 95th and 99th percentile response-time thresholds at peak load. In conclusion, under the tested container and resource configuration, the persistent worker-pool runtime of FrankenPHP offers better memory efficiency and operational reliability than Next.js, although both suffer severe queuing at 500 virtual users.

Copyrights © 2026






Journal Info

Abbrev

infoteh

Publisher

Subject

Computer Science & IT

Description

Jurnal Infotech adalah jurnal ilmiah yang berisi hasil penelitian yang ditulis oleh dosen, peneliti dan praktisi. Jurnal ini diharapkan untuk mengembangkan penelitian dan memberikan kontribusi yang berarti untuk meningkatkan sumber daya penelitian di bidang Teknologi Informasi dan Ilmu Komputer. ...