Perbandingan Performa Implementasi Aplikasi Berbasis Arsitektur Monolith Dan Serverless Microservices Pada Sistem Flash Sale

Andatu, Dortheis (2024) Perbandingan Performa Implementasi Aplikasi Berbasis Arsitektur Monolith Dan Serverless Microservices Pada Sistem Flash Sale. Other thesis, Institut Teknologi Sepuluh Nopember.

[thumbnail of 05211940007003-Undergraduate_Thesis.pdf] Text
05211940007003-Undergraduate_Thesis.pdf - Accepted Version
Restricted to Repository staff only until 1 October 2026.

Download (4MB) | Request a copy

Abstract

Perkembangan teknologi informasi telah membawa transformasi signifikan di berbagai
sektor industri, khususnya dalam bisnis e-commerce. Sejak pandemi COVID-19, sektor ini
mengalami pertumbuhan eksponensial, menyebabkan lonjakan permintaan, terutama saat event
seperti flash sale, yang menimbulkan kebutuhan mendesak untuk meningkatkan performa dan
skalabilitas aplikasi e-commerce.

Dalam penelitian ini, arsitektur microservices dieksplorasi dan diimplementasikan meng-
gunakan kerangka kerja FastAPI yang di-deploy pada platform serverless Cloud Run. Pen-
dekatan ini dipilih untuk mengatasi hambatan performa yang sering terjadi selama periode

flash sale melalui potensi skalabilitas arsitektur microservices. Sebagai perbandingan, arsitektur
monolith juga dievaluasi, yang diimplementasikan dengan kerangka kerja Django dan di-deploy
pada infrastruktur Compute Engine yang dikelola sendiri.
Hasil penelitian menunjukkan bahwa aplikasi berbasis monolith memiliki kinerja yang
memadai pada beban rendah hingga sedang, tetapi mengalami penurunan signifikan selama
flash sale, dengan waktu respons meningkat hingga 620 ms dan tingkat kesalahan mencapai
3.9%. Sebaliknya, aplikasi berbasis serverless microservices mampu menangani lonjakan trafik
dengan lebih efisien, menunjukkan waktu respons yang lebih stabil, sekitar 610 ms, dan tingkat
kesalahan yang lebih rendah, sekitar 3.4%. Selain itu, arsitektur serverless microservices lebih

efisien dalam penggunaan sumber daya, dengan penggunaan CPU dan memori yang lebih ren-
dah. Namun, dari segi biaya, arsitektur serverless microservices memerlukan biaya lebih tinggi

sebesar USD 110.43 per bulan dibandingkan dengan monolith yang hanya USD 17.19 per bulan.
Meskipun lebih mahal, serverless microservices menawarkan penyesuaian kapasitas otomatis
dan kemudahan pengelolaan yang lebih baik.
==========================================================
The development of information technology has brought significant transformation to var-
ious industry sectors, particularly in the e-commerce business. Since the COVID-19 pandemic,

this sector has experienced exponential growth, causing a surge in demand, especially during
events like flash sales, creating an urgent need to enhance the performance and scalability of
e-commerce applications.
In this study, the microservices architecture was explored and implemented using the
FastAPI framework deployed on the serverless platform Cloud Run. This approach was chosen

to address performance bottlenecks that often occur during flash sales through the scalabil-
ity potential of the microservices architecture. For comparison, the monolithic architecture

was also evaluated, implemented with the Django framework and deployed on a self-managed
Compute Engine infrastructure.
The results show that monolithic applications perform adequately under low to moderate
loads but suffer significant performance degradation during flash sales, with response times
increasing up to 620 ms and error rates reaching 3.9%. Conversely, serverless microservices
applications handle traffic spikes more efficiently, showing more stable response times, around

610 ms, and lower error rates, around 3.4%. Additionally, the serverless microservices ar-
chitecture is more resource-efficient, with lower CPU and memory usage. However, in terms

of cost, the serverless microservices architecture requires higher expenses at USD 110.43 per

month compared to the monolithic architecture, which costs only USD 17.19 per month. De-
spite being more expensive, serverless microservices offer automatic capacity adjustment and

better ease of management.

Item Type: Thesis (Other)
Uncontrolled Keywords: microservices, serverless computing, performance, e-commerce, flash sale
Subjects: T Technology > T Technology (General) > T58.5 Information technology. IT--Auditing
Divisions: Faculty of Intelligent Electrical and Informatics Technology (ELECTICS) > Information System > 57201-(S1) Undergraduate Thesis
Depositing User: Dortheis Andatu
Date Deposited: 12 Aug 2024 02:48
Last Modified: 12 Aug 2024 02:48
URI: http://repository.its.ac.id/id/eprint/112436

Actions (login required)

View Item View Item