作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

所属专题: 智能交通专题

• 智能交通专题 • 上一篇    下一篇

轨道交通系统中多客户端连接池动态分配策略

季一木1,2,3,杨罗坤1,柴博周1,朱曈晖1,李文峰4   

  1. (1.南京邮电大学 计算机学院,南京 210023; 2.深圳大学 广东省普及型高性能计算机重点实验室,广东 深圳 518060; 3.南京理工大学 高维信息智能感知与系统教育部重点实验室,南京 210094; 4.江苏省城市轨道交通研究院股份有限公司,南京 211800)
  • 收稿日期:2016-06-12 出版日期:2017-05-15 发布日期:2017-05-15
  • 作者简介:季一木(1978—),男,教授、博士,主研方向为云计算、大数据、移动互联网;杨罗坤,硕士;柴博周、朱曈晖,硕士;李文峰,工程师。
  • 基金资助:

    江苏省自然科学基金青年基金(BK2013876);广东省普及型高性能计算机重点实验室开放基金(SZU-GDPHPCL2014);江苏省城市轨道交通研究院股份有限公司项目(JSUMT-JY-00-1512)。

Dynamic Allocation Strategy for Multi-client Connection Pool in Rail Transit System

JI Yimu  1,2,3,YANG Luokun  1,CHAI Bozhou  1,ZHU Tonghui  1,LI Wenfeng  4   

  1. (1.College of Computer,Nanjing University of Posts and Telecommunications,Nanjing 210023,China; 2.Guangdong Key Laboratory of Popular High Performance Computers,Shenzhen University,Shenzhen,Guangdong 518060,China; 3.Key Laboratory of Intelligent Perception and Systems for High-dimensional Information of Ministry of Education,Nanjing University of Science and Technology,Nanjing 210094,China;4.Jiangsu Urban Rail Transit Research and Design Institute Co.,Ltd.,Nanjing 211800,China)
  • Received:2016-06-12 Online:2017-05-15 Published:2017-05-15

摘要:

针对轨道交通集群调度系统中数据库连接池参数一次性设定后不可修改的问题,设计面向多客户端的数据库连接池动态分配策略。通过使用动态分配算法,根据每个客户端访问频率的不同为当前客户端分配最优连接数,从而达到提高系统资源利用率的目的。实验结果表明,该动态分配策略能够缩短连接池响应时间,提高系统运行效率。

关键词: 数据库连接池, 集群调度系统, 多客户端, 连接复用, 动态分配

Abstract:

In the rail transit clusters dispatch system,the parameters of database connection pool is one-time set and can not be modified.Aiming at this shortage,a dynamic allocation strategy of multi-client database connection pool is designed.It uses a dynamic allocation algorithm to allocate the optimal number of connections according to the different access frequency of each client for current client,so as to achieve the purpose of improving the utilization of system resources.Experimental results show that the dynamic allocation strategy proposed in this paper can shorten the response time of connection pool and improve the efficiency of system.

Key words: database connection pool, clusters dispatch system, multi-client, connection multiplexing, dynamic allocation

中图分类号: