期刊文献+

线程池技术在考试系统中的应用 被引量:2

Application of Thread Pool Technology in Examination System
下载PDF
导出
摘要 当较大规模客户端并发请求服务器端应用程序时,传统的为每个请求创建线程的解决方法会导致服务器端性能的严重下降甚至死机.通过分析JDK的Executor框架,从工作原理、核心线程池对象、执行策略等方面详细描述了线程池模型,应用到一个三层C/S架构的在线考试系统中,给出了服务端的设计架构和实现代码.通过仿真测试证明了线程池技术在解决较大并发访问方面的稳定性. When large-scale client requests for applications in server concurrently, traditional solutions create a thread for every request, which will lead to a serious decline in server performance and even crash. By analyzing the JDK's Executor framework, the paper described in detail thread pool model from the principle of work, core thread pool object,implementation strategy and other aspects, applied the thread pool to a online examination system of three-layer C/S architecture, and gave the server's design framework and implementation code. Through simulation tests, the stability of the thread pool technical in the process of solving large concurrent access is proved.
出处 《计算机系统应用》 2016年第4期107-111,共5页 Computer Systems & Applications
基金 咸阳师范学院专项科研计划(2012XSYK070)
关键词 线程池 Executor框架 在线考试系统 thread pool Executor framework online examination system
  • 相关文献

参考文献9

二级参考文献35

共引文献81

同被引文献21

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部