• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:张 晖.基于多数据库的商户清分负载均衡分片算法研究[J].软件工程,2021,24(11):7-10.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于多数据库的商户清分负载均衡分片算法研究
张 晖
(银联商务股份有限公司,上海 201203)
hz-job@163.com
摘 要: 在商户清分批处理作业中,应用程序的高并发数和单机设备的资源利用率总是有一定上限,数据库本身的处理能力和通讯带宽也对批处理作业有一定的约束。根据清分数据商户原子性特征,设计了一种负载均衡的分片算法,实现清分批处理任务在多应用、多数据库间分布式、高并发协同完成,集群节点还可以线性扩展。通过实验测试,对比使用该算法前后的负载均衡性能,分片算法能够在保证商户原子性的情况下有效均衡清分流水,显著提高清分服务器集群的并发读写性能,从而证明了该算法的有效性。
关键词: 分布式;高并发;商户原子性;清分
中图分类号: TP312    文献标识码: A
Research on Load Balancing Partition Algorithm of Merchant Sorting based on Multi-database
ZHANG Hui
(China UnionPay Merchant Services Co ., Ltd., Shanghai 201203, China)
hz-job@163.com
Abstract: In the merchant sorting batch tasks, high concurrency of applications and resource utilization of single equipment always have a certain upper limit. Processing capacity and communication bandwidth of the database also have certain constraints on batch jobs. According to the atomicity of merchant sorting data, this paper proposes to design a load balancing partition algorithm to realize the distributed and high-concurrency collaborative completion of sorting batch processing tasks among multiple applications and databases. The cluster nodes can also be linearly expanded. Experimental test is made by comparing the load balancing performance before and after using the algorithm. Results verify that the proposed partition algorithm can effectively balance the sorting pipeline under the condition of ensuring the atomicity of merchants, and significantly improve the concurrent read-write performance of the sorting server cluster, which proves its effectiveness.
Keywords: distributed; high concurrency; merchant atomicity; sorting


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫