计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2009年
24期
78-80
,共3页
罗作民%朱燕%张静颐%李兵
囉作民%硃燕%張靜頤%李兵
라작민%주연%장정이%리병
数据清除%Session对象%Servlet过滤器%存储域
數據清除%Session對象%Servlet過濾器%存儲域
수거청제%Session대상%Servlet과려기%존저역
data eliminating%Session object%Servlet filter%storage area
针对某电信业务中多个业务操作切换产生大量Session数据不能被及时清除而导致系统性能瓶颈的问题,设计和实现一个基于Servlet过滤器的Session数据清除器,由管理器和过滤器构成.管理器创建对象存储域、保存业务Session数据对象副本,过滤器检查对象存储域、清除垃圾Session数据.通过压力测试验证该Session数据清除器的有效性,将其运用于实际环境中,也取得了较好的效果.
針對某電信業務中多箇業務操作切換產生大量Session數據不能被及時清除而導緻繫統性能瓶頸的問題,設計和實現一箇基于Servlet過濾器的Session數據清除器,由管理器和過濾器構成.管理器創建對象存儲域、保存業務Session數據對象副本,過濾器檢查對象存儲域、清除垃圾Session數據.通過壓力測試驗證該Session數據清除器的有效性,將其運用于實際環境中,也取得瞭較好的效果.
침대모전신업무중다개업무조작절환산생대량Session수거불능피급시청제이도치계통성능병경적문제,설계화실현일개기우Servlet과려기적Session수거청제기,유관리기화과려기구성.관리기창건대상존저역、보존업무Session수거대상부본,과려기검사대상존저역、청제랄급Session수거.통과압력측시험증해Session수거청제기적유효성,장기운용우실제배경중,야취득료교호적효과.
Aiming at the problem that the system performance bottle-neck caused by a large number of Session data failing to be eliminated in time occurred in the telecom business switching among a number of operations, this paper designs and realizes a Session eliminator based on Servlet filter, which is composed of the Session manager and Session filter. The Session manager can create an object storage area and save the copy of the business Session object. The Session filter is used to check the object storage area and eliminate the rubbish Session data. The validity of this method is proved by pressure test. The method is used in actual environment and achieves success.