Research on high performance web service construction method based on JavaScript asynchronous programming technique

JavaScript 计算机科学 异步通信 Web服务 Web应用程序 程序设计语言 低调的JavaScript 软件工程 万维网 富Internet应用程序 计算机网络
作者
Jingjing Luo,Bo Zhou,Yan Zheng,Wenxuan Pan
出处
期刊:Applied mathematics and nonlinear sciences [De Gruyter]
卷期号:9 (1) 被引量:1
标识
DOI:10.2478/amns-2024-2811
摘要

Abstract In the face of massive concurrent user access in the era of big data, how to build high-performance web services has become one of the difficulties to be solved by network applications. This paper utilizes Node.js architecture to fully utilize the event-based programming and non-blocking I/O characteristics of JavaScript language to improve the CPU utilization of the web service side. It also proposes the strategy of predicting user-accessed resources for cache replacement through a Gaussian mixture model to further optimize the performance of high-concurrency web services. The performance of the high concurrency web framework constructed using Node.js technology plays excellent, the performance of multi-threaded Node.js is better than single-threaded, and compared with Apache architecture, the average response time, request-response rate, and data throughput test of Node.js architecture in high concurrency scenarios is more advantageous than Apache architecture. The Gaussian mixture clustering model is effective in dealing with data with high-dimensional features, and the average accuracy of the four clustering processes of each algorithm is, in descending order, GMM (79.67%), BIRCH (78.09%), and K-means (77.52%). In addition, the cache replacement strategy based on Gaussian Mixture Model is more effective, with an accuracy rate of nearly 80% and a byte hit rate of nearly 45% when the cache capacity reaches 214KB, which are both higher than the traditional cache replacement strategy with the same cache capacity.

科研通智能强力驱动
Strongly Powered by AbleSci AI

祝大家在新的一年里科研腾飞
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
eleven完成签到,获得积分10
刚刚
沈醒会完成签到,获得积分10
1秒前
8秒前
彭于晏应助浮生采纳,获得50
8秒前
思源应助科研通管家采纳,获得10
10秒前
丘比特应助科研通管家采纳,获得10
10秒前
Wind应助科研通管家采纳,获得10
10秒前
10秒前
11秒前
顺心的皓轩完成签到 ,获得积分10
13秒前
陈飞帆发布了新的文献求助30
13秒前
洋洋得意发布了新的文献求助10
14秒前
Yashyi发布了新的文献求助10
16秒前
18秒前
研友_8R3XdL完成签到 ,获得积分10
20秒前
Katyusha完成签到 ,获得积分10
23秒前
英姑应助疯狂的皮卡丘采纳,获得10
24秒前
24秒前
顾矜应助机灵的以蓝采纳,获得10
25秒前
洋洋得意完成签到,获得积分10
25秒前
kafm完成签到,获得积分10
26秒前
大陆发布了新的文献求助10
27秒前
大个应助神勇小笼包采纳,获得10
28秒前
竺兰舞完成签到,获得积分10
29秒前
妮妮发布了新的文献求助10
30秒前
自然馈赠发布了新的文献求助10
31秒前
渐变映射发布了新的文献求助10
33秒前
33秒前
丁小二完成签到 ,获得积分10
34秒前
35秒前
浮生发布了新的文献求助50
37秒前
37秒前
星辰大海应助机灵的雁蓉采纳,获得10
37秒前
xuebinxu完成签到 ,获得积分10
38秒前
Kakoala完成签到,获得积分10
42秒前
43秒前
Ares完成签到,获得积分10
45秒前
46秒前
50秒前
51秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea de guyane 2500
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
Driving under the influence: Epidemiology, etiology, prevention, policy, and treatment 500
生活在欺瞒的年代:傅树介政治斗争回忆录 260
A History of Rice in China 200
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5873931
求助须知:如何正确求助?哪些是违规求助? 6503237
关于积分的说明 15672911
捐赠科研通 4991578
什么是DOI,文献DOI怎么找? 2690689
邀请新用户注册赠送积分活动 1633251
关于科研通互助平台的介绍 1590920