Implementation of concurrency control mechanisms to enhance the performance of multi-threaded applications

Concurrency control is a crucial aspect of multi-threaded application development, directly impacting performance and resource utilization.This research project investigates the impact of various concurrency control mechanisms on the performance of multi-threaded applications, specifically focusing on mutexes, semaphores, and lock-free data structures implemented using queues. Conducted in a Python environment within Google Colab, the study aims to assess performance metrics such as execution time, cpu usage, and memory usage. Each mechanism’s performance was evaluated through repeated trials, and the results were aggregated and averaged to ensure reliability. By systematically evaluating these concurrency control mechanisms, the project seeks to understand how each approach affects the efficiency of applications in a multi-threaded context. The findings reveal that the queue mechanism provides the fastest execution time, the semaphore mechanism, on the other hand, exhibited the lowest CPU usage, and the mutex mechanism offered a balanced performance in both speed and CPU efficiency. Memory usage was similar in mutex and semaphore, but queue differed significantly from the other two. These results show that the choice of concurrency control mechanism should be guided by the specific requirements of the application, considering factors such as workload nature and system architecture.

Authors

Publication Details

Journal
Scholarly review .
Published
2024-10-16
DOI
https://doi.org/10.70121/001c.124877
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Implementation of concurrency control mechanisms to enhance the performance of multi-threaded applications

Ishanavi Jain
Scholarly review .
Parallel Computing and Optimization Techniques
article

Implementation of concurrency control mechanisms to enhance the performance of multi-threaded applications

Ishanavi Jain
article en

Abstract

Concurrency control is a crucial aspect of multi-threaded application development, directly impacting performance and resource utilization.This research project investigates the impact of various concurrency control mechanisms on the performance of multi-threaded applications, specifically focusing on mutexes, semaphores, and lock-free data structures implemented using queues. Conducted in a Python environment within Google Colab, the study aims to assess performance metrics such as execution time, cpu usage, and memory usage. Each mechanism’s performance was evaluated through repeated trials, and the results were aggregated and averaged to ensure reliability. By systematically evaluating these concurrency control mechanisms, the project seeks to understand how each approach affects the efficiency of applications in a multi-threaded context. The findings reveal that the queue mechanism provides the fastest execution time, the semaphore mechanism, on the other hand, exhibited the lowest CPU usage, and the mutex mechanism offered a balanced performance in both speed and CPU efficiency. Memory usage was similar in mutex and semaphore, but queue differed significantly from the other two. These results show that the choice of concurrency control mechanism should be guided by the specific requirements of the application, considering factors such as workload nature and system architecture.

Scholarly review .Vol. SR Online: Showcase(Equinox 2024)
Decent work and economic growth
Openalex Percentile: Top 82%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Implementation of concurrency control mechanisms to enhance the performance of multi-threaded applications — Ishanavi Jain · Scholarly review . (2024) | TGRS Research Map | TGRS