摘要
为了提高疾控中心进行大规模数据交换的处理效率,基于线程池与消息中间件技术设计并实现了一个数据交换处理模型,该模型在调用数据接口并记录接口反馈信息的基础上自动构造数据交换任务,使用消息中间件快速保存反馈信息,使用线程池并通过合理设置线程池的参数实现了数据交换任务的并发控制.仿真实验结果表明,相对于传统的数据交换处理方式,该模型在保证数据交换稳定性的同时极大提高了数据交换任务的处理效率.
For the processing efficiency of large-scale data exchange in Centers for Disease Control and Prevention(CDC), a processing model of data exchange was designed and implemented based on thread pool and message-oriented middleware technology. The model automatically created data exchange tasks on the basis of calling data interfaces and recording the feedback information of interface. The message-oriented middleware was used to save the feedback information quickly and the thread pool with reasonable parameters was used to realize the concurrency control of data exchange tasks. Simulation results show that, compared with the traditional data exchange method, the model can greatly improve the processing efficiency while ensuring the stability.
作者
刘潇
LIU Xiao(Department of Public Health Information,Jiangsu Provincial Center for Disease Control and Prevention,Nanjing 210009,China)
出处
《计算机系统应用》
2022年第6期376-380,共5页
Computer Systems & Applications
关键词
数据交换
线程池
消息中间件
并发控制
data exchange
thread pool
message-oriented middleware
concurrency control