EVALUASI KINERJA ARSITEKTUR WEBSOCKET-REDIS PADA LINGKUNGAN VPS DENGAN INTEGRASI PIPELINE CI/CD
DOI:
https://doi.org/10.46576/djtechno.v7i1.8578Keywords:
CI/CD, Docker, Event Loop, Grafana K6, Node.js, Redis Pub/Sub, WebSocketAbstract
This study evaluates the performance characteristics of a real-time WebSocket and Redis architecture deployed on a resource-constrained Virtual Private Server (1 vCPU, 4 GB RAM) using a GitHub Actions CI/CD pipeline and Docker Compose. Three configurations are tested: C1 as a baseline without Redis pub/sub, C2 with Redis pub/sub enabled, and C3 combining Redis pub/sub with a fully warmed HTTP cache. Load tests using Grafana K6 simulate 500 concurrent virtual users. Results show the server sustains 335 simultaneous WebSocket connections with zero real errors. Redis pub/sub increases average broadcast delivery latency from 23.78 ms to 42.05 ms and introduces a 1.65% spike rate, caused by O(N) broadcast fan-out on the Node.js libuv event loop rather than Redis itself, whose round-trip latency remained sub-millisecond. Redis HTTP caching reduces cache-miss response time by 39.6–51.4%. JMeter’s eu.luminis plugin proved incompatible with wss:// endpoints, returning HTTP 400 for all 902 connections, motivating adoption of Grafana K6. This work contributes quantitative measurement of Redis pub/sub overhead trade-offs in single-core constrained WebSocket architectures with automated CI/CD performance gates
References
Dr. S. Sathya and Ms. S. Swetha, “Real-Time Chat Application with Web Socket for Network Efficiency,” Int. J. Sci. Res. Sci. Technol., vol. 12, no. 4, pp. 830–835, Aug. 2025, doi: 10.32628/IJSRST251362.
L. Fernando and M. M. Engel, “Comparative Performance Benchmarking of WebSocket Libraries on Node.js and Golang,” sinkron, vol. 9, no. 4, pp. 2051–2060, Oct. 2025, doi: 10.33395/sinkron.v9i4.15266.
Friendly, A. P. Sembiring, S. Faza, A. Lukcyhasnita, and R. Destiadi, “Design and Implementation of IOT Connection With Websocket Using PHP,” International Journal of Research in Vocational Studies (IJRVOCAS), vol. 2, no. 4, pp. 94–98, Jan. 2023, doi: 10.53893/ijrvocas.v2i4.173.
H. Sammir and K. Hamdi, “Implementasi Protokol Redis Pub/Sub Menggunakan Python untuk Sistem Monitoring Suhu IoT Secara Real-Time,” 2026. [Online]. Available: http://jurnal.unidha.ac.id/index.php/jiska
A. B. Mali, I. Khan, M. M. K. Dandu, Prof. (Dr) P. Goel, Prof. (Dr. ) A. Jain, and Er. A. Shrivastav, “Designing Real-Time Job Search Platforms with Redis Pub/Sub and Machine Learning Integration,” Journal of Quantum Science and Technology, vol. 1, no. 3, Aug. 2024, doi: 10.63345/jqst.v1i3.115.
L. Shi, “Research and Application of Distributed Cache Based on Redis,” Journal of Software, pp. 1–8, Jan. 2024, doi: 10.17706/jsw.19.1.1-8.
F. Dipraja and A. Rahman, “Penerapan Redis Cluster Meningkatkan Efisiensi Caching Arsitektur Microservices,” Intellect : Indonesian Journal of Learning and Technological Innovation, vol. 4, no. 1, pp. 171–179, Oct. 2025, doi: 10.57255/intellect.v4i1.1445.
Satyadhar Kumar Chintagunta, “Survey of Containerization, Orchestration, and CI/CD Integration on DevOps in Modern Software Development,” International Journal of Current Engineering and Technology, vol. 13, no. 6, pp. 610–618, [Online]. Available: https://ijcet.evegenis.org/index.php/ijcet/article/view/825
M. Sobieraj and D. Kotyński, “Docker Performance Evaluation across Operating Systems,” Applied Sciences, vol. 14, no. 15, p. 6672, Jul. 2024, doi: 10.3390/app14156672.
A. R. Faqih, A. Taufiqurrahman, J. H. Husen, and M. K. Sabariah, “Empirical Analysis of CI/CD Tools Usage in GitHub Actions Workflows,” Journal of Informatics and Web Engineering, vol. 3, no. 2, pp. 251–261, Jun. 2024, doi: 10.33093/jiwe.2024.3.2.18.
P. Rostami Mazrae, T. Mens, M. Golzadeh, and A. Decan, “On the usage, co-usage and migration of CI/CD tools: A qualitative analysis,” Empir. Softw. Eng., vol. 28, no. 2, p. 52, Mar. 2023, doi: 10.1007/s10664-022-10285-5.
M. Pinyagin and A. Sadovykh, “Automating Performance Testing in CI/CD - Tools Evaluation,” 2026, pp. 195–209. doi: 10.1007/978-3-032-05188-2_13.
M. V. Privalov and M. V. Stupina, “Improving web-oriented information systems efficiency using Redis caching mechanisms,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 33, no. 3, p. 1667, Mar. 2024, doi: 10.11591/ijeecs.v33.i3.pp1667-1675.
Nginx Inc, “WebSocket proxying.” Accessed: Apr. 06, 2026. [Online]. Available: https://nginx.org/en/docs/http/websocket.html
Divya Kodi, “Efficient CI/CD Strategies: Integrating Git with automated testing and deployment,” World Journal of Advanced Research and Reviews, vol. 20, no. 2, pp. 1517–1530, Nov. 2023, doi: 10.30574/wjarr.2023.20.2.2363.
Grafana Labs, “WebSockets | Grafana k6 documentation.” Accessed: Apr. 06, 2026. [Online]. Available: https://grafana.com/docs/k6/latest/using-k6/protocols/websockets/
Redis Ltd, “Redis Pub/sub | Docs.” Accessed: Apr. 06, 2026. [Online]. Available: https://redis.io/docs/latest/develop/pubsub/
NodeJs Foundation, “Don’t Block the Event Loop (or the Worker Pool) | Node.js v24.14.1 Documentation.” Accessed: Apr. 06, 2026. [Online]. Available: https://nodejs.org/learn/asynchronous-work/dont-block-the-event-loop
Mb. Hartanto, T. Muhammad Fawa, and D. P. Eko Hendro, “ANALISA KINERJA DATABASE DAN IMPLEMENTASI CACHE REDIS PADA WEB SERVICE LUMEN,” 2023. [Online]. Available: https://lumen.laravel.com/,https://github.com/laravel/lumen,https://laravel.com/docs
G. Swapna, E. Susmitha, N. Satyanandaram, and S. V. Punith Kumar, “Enhancing Microservice Performance: A Hybrid Approach Using Caching and Batching Techniques,” International Research Journal on Advanced Engineering Hub (IRJAEH), vol. 4, no. 02, pp. 766–775, Feb. 2026, doi: 10.47392/IRJAEH.2026.0110.
Downloads
Additional Files
Published
Issue
Section
License
Pernyataan Hak Cipta dan Lisensi
- Hak Cipta atas naskah-naskah karya ilmiah di dalam Jurnal ini dipegang oleh Penulis.
- Penulis menyerahkan hak saat pertama kali mempublikasi Naskah karya ilmiahnya dan secara bersamaan Penulis memberikan izin/lisensi dengan mengacu pada Creative Commons Attribution-ShareAlike 4.0 International License kepada pihak lain untuk menyebarkan karya ilmiahnya tersebut dengan tetap mencantumkan penghargaan bagi penulis dan Djtechno sebagai media Publikasi pertama atas karya tersebut.
- Hal-hal yang berkaitan dengan non-eksklusivitas pendistribusian Jurnal yang menerbitkan karya ilmiah penulis dapat diperjanjikan secara terpisah (contoh: permintaan untuk menempatkan karya yang dimaksud pada perpustakaan suatu institusi atau menerbitkannya sebagai buku) dengan Penulis sebagai salah satu pihak perjanjian dan dengan penghargaan pada Djtechno sebagai media publikasi pertama atas karya dimaksud.
- Penulis dapat dan diharapkan untuk mengumumkan karyanya secara online (misalnya pada Repositori atau pada laman Organisai/Institusinya) sejak sebelum dan selama proses pengumpulan naskah, sebab upaya tersebut dapat meningkatkan pertukaran citasi lebih awal dan dengan cakupan yang lebih luas.



