arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06074cs.DC
收藏

Web性能中服务器端缓存的实验分析

Experimental Analysis of Server-Side Caching for Web Performance

Allenhouse Business School(艾伦豪斯商学院)

Mohammad Umar, Bharat Tripathi

AI总结:

本文通过实验分析了服务器端缓存对Web性能的影响,发现内存缓存能显著减少响应时间,适用于小型Web应用。

摘要:

Web应用的性能是用户体验和系统可扩展性的重要方面。在改善Web应用性能的不同技术中,缓存已被广泛使用。尽管缓存已被广泛研究用于Web性能优化文献中,但缺乏实验工作探讨小型Web应用中简单内存缓存的效果。本文通过实验比较两种服务器端Web应用配置的性能:一种没有缓存,另一种使用内存缓存和固定时间-存活时间。性能评估使用了轻量级Web服务器框架,通过在相同环境条件下重复HTTP请求测量响应时间。结果表明,缓存请求的响应时间显著减少,本文的发现为简单服务器端缓存在提高Web应用性能方面的有效性提供了有价值的见解,使其适用于教育环境和小型Web应用,其中简单性和可重复性至关重要。

英文摘要:

Performance in web applications is a key aspect of user experience and system scalability. Among the different techniques used to improve web application performance, caching has been widely used. While caching has been widely explored in web performance optimization literature, there is a lack of experimental work that explores the effect of simple inmemory caching in small-scale web applications. This paper fills this research gap by experimentally comparing the performance of two server-side web application configurations: one without caching and another with in-memory caching and a fixed time-tolive. The performance evaluation was conducted using a lightweight web server framework, and response times were measured using repeated HTTP requests under identical environmental conditions. The results show a significant reduction in response time for cached requests, and the findings of this paper provide valuable insights into the effectiveness of simple server-side caching in improving web application performance making it suitable for educational environments and small-scale web applications where simplicity and reproducibility are critical.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑