摘要
在基于B/S或C/S架构的多层应用系统设计中,往往存在大量的TCP/IP客户连接和数据库信息存取操作。决定系统性能优劣的两个重要因素,一是如何快速建立数据库连接;二是如何避免出现死连接。在对数据库连接池技术和死连接产生原因进行分析的基础上,设计并实现带心跳功能的连接池。
A large number of TCP/IP client connections and access operations of database information often exist in the design of multi-application system based on B/S or C/S architecture. The two most important factors that determine the system performance is how to establish the database connection rapidly, and the other one is how to avoid the appearance of dead joints. Designs and realizes a connection pool with heartbeat function, according to the analysis of the connection pool technology and the cause of the dead joints.
出处
《现代计算机》
2015年第2期65-69,共5页
Modern Computer
关键词
心跳包
数据库
连接池
Heartbeat
Database
Connection Pool