Synchronization Techniques for Multi-threaded Web Server: A Comparative Study

Hussah Albinali, Maha Alharbi, Randah Alharbi, M. Aljabri
{"title":"Synchronization Techniques for Multi-threaded Web Server: A Comparative Study","authors":"Hussah Albinali, Maha Alharbi, Randah Alharbi, M. Aljabri","doi":"10.1109/CICN56167.2022.10008307","DOIUrl":null,"url":null,"abstract":"With the exponential growth and advancement of the internet and network technologies, the number of active internet users is expected to exceed 5 billion worldwide by 2025. As a result, designing high performance multi-threaded web server capable of concurrently handling thousands of incoming requests per second is in high demand. To achieve this goal, it is essential for the multi-threaded web server to utilize synchronization algorithm to coordinate the simultaneous use of resources by clients; avoid data inconsistency and still provide timely responses. The aim of this study is to compare and evaluate the performance of different traditional and modern synchronization algorithms adopted by multi-threaded web servers. An empirical experiment is conducted that simulates a file synchronization problem in distributed systems to evaluate how the performance of a multi-threaded web server is affected by those synchronization algorithms. Mutex locks, Spinlocks, Semaphore, and WebR2sync are evaluated, and the performance of each synchronization algorithm is measured using three performance metrics: Synchronization Time, Failure Rate, and Scalability. Results show that Semaphore has the fastest synchronization time, WebR2sync has the lowest failure rate, and Mutex excels at scalability. Such findings help with the decision of which synchronization algorithms to utilize for multi-threaded web servers based on the requirements.","PeriodicalId":287589,"journal":{"name":"2022 14th International Conference on Computational Intelligence and Communication Networks (CICN)","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 14th International Conference on Computational Intelligence and Communication Networks (CICN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CICN56167.2022.10008307","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

With the exponential growth and advancement of the internet and network technologies, the number of active internet users is expected to exceed 5 billion worldwide by 2025. As a result, designing high performance multi-threaded web server capable of concurrently handling thousands of incoming requests per second is in high demand. To achieve this goal, it is essential for the multi-threaded web server to utilize synchronization algorithm to coordinate the simultaneous use of resources by clients; avoid data inconsistency and still provide timely responses. The aim of this study is to compare and evaluate the performance of different traditional and modern synchronization algorithms adopted by multi-threaded web servers. An empirical experiment is conducted that simulates a file synchronization problem in distributed systems to evaluate how the performance of a multi-threaded web server is affected by those synchronization algorithms. Mutex locks, Spinlocks, Semaphore, and WebR2sync are evaluated, and the performance of each synchronization algorithm is measured using three performance metrics: Synchronization Time, Failure Rate, and Scalability. Results show that Semaphore has the fastest synchronization time, WebR2sync has the lowest failure rate, and Mutex excels at scalability. Such findings help with the decision of which synchronization algorithms to utilize for multi-threaded web servers based on the requirements.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多线程Web服务器同步技术的比较研究
随着互联网和网络技术的指数级增长和进步,到2025年,全球活跃互联网用户数量预计将超过50亿。因此,设计能够同时处理每秒数千个传入请求的高性能多线程web服务器的需求很高。为了实现这一目标,多线程web服务器必须利用同步算法来协调客户端同时使用资源;避免数据不一致,同时提供及时的响应。本研究的目的是比较和评估多线程web服务器采用的不同传统和现代同步算法的性能。通过模拟分布式系统中的文件同步问题,进行了一个经验实验,以评估这些同步算法如何影响多线程web服务器的性能。对互斥锁、自旋锁、信号量和WebR2sync进行了评估,并使用三个性能指标来衡量每种同步算法的性能:同步时间、故障率和可伸缩性。结果表明,Semaphore具有最快的同步时间,WebR2sync具有最低的故障率,Mutex具有出色的可扩展性。这些发现有助于根据需求决定多线程web服务器使用哪种同步算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Prediction of Downhole Pressure while Tripping A Parallelized Genetic Algorithms approach to Community Energy Systems Planning Application of Artificial Neural Network to Estimate Students Performance in Scholastic Assessment Test A New Intelligent System for Evaluating and Assisting Students in Laboratory Learning Management System Performance Evaluation of Machine Learning Models on Apache Spark: An Empirical Study
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1