基于WebSocket的缓存式Web应用框架设计  被引量:1

Design for Cache Web Application Framework Based on the WebSocket

在线阅读下载全文

作  者:宁君[1] 张蓉[2] 梁正安[1] 

机构地区:[1]广西计算中心,广西南宁530022 [2]北京大学南宁附属实验学校,广西南宁530022

出  处:《广西科学院学报》2014年第1期32-34,38,共4页Journal of Guangxi Academy of Sciences

摘  要:【目的】研究WebSocket的特性,设计缓存式的Web应用框架。【方法】分析划出框架各层次的职责,采用Javascript及memcached实现实时的缓存读写机制,对框架开发的系统进行指标测试。【结果】在系统测试中检测缓存的命中率,当用户的操作浏览数据达到一定的比例之后,缓存命中率能够维持在一个较高的水平上。在这种情况下,服务器的响应速度、网络吞吐量等都得到极大的改善。【结论】基于框架开发的系统实时性高、负载低、伸缩性好,降低系统的开发成本与难度。[Objective]The characteristics of WebSocket are studied and a cached Web application framework is designed.[Method] The function of every layer in the framework is analyzed and de-fined. Then indicators of the system developed under the framework are tested by applying a real-time cache read/write mechanism of Javascript and memcached. [Result] When the browed data reached a certain proportion, the cache hit rate could stay in a higher level during the system test, which greatly improved the server’ s respond speed and network throughput. [Conclusion]System developed under the framework shows the characteristics of high real-time control, low load, high scalability, low developing cost and difficulties.

关 键 词:WEB缓存 应用框架 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象