Implementation of Concurrency Control to Prevent Race Condition in a Web-Based Billiard Table Reservation System

Authors

  • Mohammad Luthfi Hermawan Universitas Muhammadiyah Malang Author
  • Wildan Suharso Universitas Muhammadiyah Malang Author

DOI:

https://doi.org/10.35314/vrnggg84

Keywords:

Concurrency Control, Race Condition, Firebase Transaction, Real-Time Database

Abstract

The development of information technology has driven the digitalization of various services, including web-based billiard table reservation systems. However, web systems that operate in real time are prone to race conditions when multiple users attempt to book the same table simultaneously, potentially leading to double booking. This study aims to implement a Concurrency Control mechanism using the Firebase Transaction feature to prevent such booking conflicts. The research method adopts a Research and Development (R&D) approach with the ADDIE model, which consists of the stages of Analysis, Design, Development, Implementation, and Evaluation. Furthermore, testing was conducted through pre-test and post-test simulations across 10 trials with concurrent users ranging from 2 to 11 individuals. In the pre-test stage, all users were able to successfully book the same resource simultaneously, resulting in 100% double booking across all trials. In the post-test stage, after implementing the Concurrency Control mechanism using Firebase Transaction, only one request was accepted out of the same 10 trials, while all other requests were automatically rejected, resulting in 0% double booking. These findings demonstrate that the applied concurrency control mechanism is effective in maintaining data consistency and preventing race conditions in the web-based billiard table reservation system.

Downloads

Download data is not yet available.

Downloads

Published

30-11-2025

Issue

Section

Articles

How to Cite

Implementation of Concurrency Control to Prevent Race Condition in a Web-Based Billiard Table Reservation System. (2025). INOVTEK Polbeng - Seri Informatika, 10(3), 1971-1981. https://doi.org/10.35314/vrnggg84