首页 | 本学科首页   官方微博 | 高级检索  
     

一种多线程并发环境下的对象缓存模型
引用本文:高正光,李启炎.一种多线程并发环境下的对象缓存模型[J].计算机工程,2005,31(22):104-106.
作者姓名:高正光  李启炎
作者单位:同济大学CAD研究中心,上海,200092
摘    要:提出了一种“多线程并发环境下的对象缓存模型”,针对多线程并发环境下,大量请求对象造成的开销过大的问题,在对象池设计模式的基础上,设计实现了多线程并发环境下的对象缓存模型。实验测试表明,该模型能极大地提高服务器程序的性能。

关 键 词:对象池  设计模式  复用  多线程
文章编号:1000-3428(2005)22-0104-03
收稿时间:2004-09-20
修稿时间:2004-09-20

An Object Pool Model in Multi-thread Concurrency Environment
GAO Zhengguang,LI Qiyan.An Object Pool Model in Multi-thread Concurrency Environment[J].Computer Engineering,2005,31(22):104-106.
Authors:GAO Zhengguang  LI Qiyan
Affiliation:CAD Research Center of Tongji University, Shanghai 200092
Abstract:An object pool model for multi-thread is proposed. Aimed to solve the problem that it costs too much to apply object during the multi-thread environment, on the basis of object pool design pattern, an object pool model for multi-thread is designed and implemented. According to the test result, the performance of server program can be highly increased by using the model.
Keywords:Object pool  Design pattern  Reuse  Multi-thread
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号