Controle de Concorrência e Consistência Transacional em Vendas Síncronas com Estoque Limitado: uma Avaliação Experimental
Year: 2026
Type: dissertation
Abstract: Live commerce is characterized as a sales modality based on synchronous interaction, in which multiple users may act simultaneously on shared resources, such as limited stock items. Although concurrency control mechanisms are widely discussed in transactional systems, experimental demonstrations that isolate the effect of these mechanisms in synchronous sales operations involving a single-unit stock item are still limited. In this context, this study aims to experimentally evaluate how the presence or absence of concurrency control mechanisms affects transactional consistency in simultaneous operations on a shared resource with limited availability. To this end, a prototype was developed specifically for this research as an experimental instrument, in which multiple simultaneous requests competed for an item with an initial stock equal to 1. Ten rounds were conducted for each scenario, with ten simultaneous requests competing for the same item. Requests occurred simultaneously during real-time synchronous operations. The methodology consisted of comparing two scenarios: one without formal concurrency control mechanisms (Scenario A) and another with transactional control based on isolation and locking access to the shared resource (Scenario B). The analysis considered metrics related to system consistency, including exclusivity violation, operation ordering, concurrent reads of the initial state, and final state integrity. The results showed that, in the B scenario, exclusivity violations occurred in 100% of the executions, with an average of 4.7 operations successfully completed per round on a resource with single-unit availability. In contrast, in the B scenario, only one operation was completed per execution, preserving the integrity of the final state and eliminating the violations observed in the scenario without control. In the experimental scenario evaluated, the results indicate that formal concurrency control mechanisms decisively contribute to preserving transactional consistency in simultaneous operations on resources with limited availability. In real-time sales systems, this preservation is especially relevant to prevent duplicate sales, stock inconsistencies, and critical operational failures.
Author: Souza, Felipe Ferreira
Institution: Universidade Federal de Santa Catarina
Language: Portuguese
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7213573168
