期刊文献+

针对高竞争电商负载的事务处理优化原型系统 被引量:3

High contention transaction processing prototype for e-commerce workloads
下载PDF
导出
摘要 现代多核主存数据库在高竞争的负载下仍然不能达到理想的性能.获得高吞吐量的障碍是试图访问相同数据的并发冲突事务.这些事务争用相同的资源,在传统数据库中必须串行执行.促销活动中的电子商务(电商)负载就是这种高冲突的事务.本研究从两个方面对电商负载的事务处理方案进行了优化.首先,由于产品数量有限,许多购买请求不会成功.数据库系统可以通过提前过滤掉无效请求来节省资源、降低锁竞争.其次,大量的写操作针对同一商品,故在写操作之间实现锁共享,再次降低锁竞争.基于此想法本文实现了原型系统Filmer.大量的实验表明,过滤和合并可以提高处理高竞争电商负载的效率. Modern multi-core main-memory databases still cannot achieve ideal performance under high contention. Throughput is considered to be choked by concurrent transactions trying to modify the same data. These transactions contend for the same resources and must be executed serially in a traditional database. Unfortunately, e-commerce workloads often meet with high contentions due to promotions. In this paper, we optimize the transaction processing scheme for high contention e-commerce workloads from two aspects. First, prefiltering is designed to filter invalid modifications to the databases, which can mitigate the contention for locks. Second, if a large number of writes are similar, we propose to do lock sharing among similar writes. We implement a prototype of our proposed system, Filmer, to demonstrate the idea. Extensive experiments have shown that filtering and merging improve efficiency in handling high contention e-commerce workloads.
作者 张舒燕 王清帅 张蓉 ZHANG Shuyan;WANG Qingshuai;ZHANG Rong(School of Data Science and Engineering,East China Normal University,Shanghai 200062,China)
出处 《华东师范大学学报(自然科学版)》 CAS CSCD 北大核心 2020年第5期1-9,共9页 Journal of East China Normal University(Natural Science)
基金 国家重点研发计划(2018YFB1003404)。
关键词 事务处理 并发控制 高竞争 transaction processing concurrency control high contention
  • 相关文献

同被引文献18

引证文献3

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部