华东师范大学学报(自然科学版) ›› 2018, Vol. 2018 ›› Issue (3): 88-96.doi: 10.3969/j.issn.1000-5641.2018.03.010

• 计算机科学 • 上一篇    下一篇

基于分布式数据库Cedar的高效工单管理系统设计与实现

潘宇晨1,2, 李宇明1,2, 张春熙1,2, 张蓉1,2, 洪道诚1,2   

  1. 1. 华东师范大学 计算机科学与软件工程学院, 上海 200062;
    2. 华东师范大学 上海高可信计算重点实验室, 上海 200062
  • 收稿日期:2017-06-19 出版日期:2018-05-25 发布日期:2018-05-29
  • 通讯作者: 张蓉,女,教授,研究方向为数据库.E-mail:rzhang@sei.echu.edu.cn E-mail:张蓉,女,教授,研究方向为数据库.E-mail:rzhang@sei.echu.edu.cn
  • 作者简介:潘宇晨,女,硕士研究生,研究方向为数据库.E-mail:295796676@qq.com.
  • 基金资助:
    华东师范大学信息化软件学研究课题(41600-10201-562940/018)

The design and implementation of an efficient order management system based on Cedar

PAN Yu-chen1,2, LI Yu-ming1,2, ZHANG Chun-xi1,2, ZHANG Rong1,2, HONG Dao-cheng1,2   

  1. 1. School of Computer Science and Software Engineering, East China Normal University, Shanghai 200062, China;
    2. Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai 200062, China
  • Received:2017-06-19 Online:2018-05-25 Published:2018-05-29

摘要: 随着互联网发展,企业随之转型,积极开展基于互联网的业务.传统业务系统架构基于集中式数据管理系统如MySQL之上,在封闭使用状态向开放使用状态转换的过程中,逐渐在可用性上暴露出弊端,故而不能很好地支持业务拓展规模化、分布式处理的要求.网络业务的开展对工单系统提出了在支持大数据、高并发、高冲突、高可用下保证处理高效性的新需求.在深入分析当前业务特征的基础上,利用分布式数据库Cedar,基于Netty通信框架,以海尔的工单业务为实例,设计并实现了支持工单存储、派单以及工程师抢单业务的高效、可扩展工单管理系统,详述了系统的可靠性和可扩展实现.经实验表明,该工单系统在保证高吞吐和低延迟的同时具有良好的可扩展性和可用性.

关键词: Cedar, 分布式计算, 工单管理, share-nothing架构

Abstract: With the development of Internet, enterprises are increasingly relying on the Internet for core functionality of their business systems. Legacy business systems which were based on centralized data management platforms, such as MySQL, have shortcomings in usability when the systems are used on the Internet instead of for internal business processes. They are not suitable for supporting new business requirements which require scalability with concurrent transactions and conflict resolution. In this paper,we design and implement a scalable order management system which supports order storage, assigning orders, and order rushes using the distributed Cedar database and Netty communication framework. The characteristics are designed on the basis of an in-depth analysis of current business characteristics. We verify our design on real workload of a Haier system. The experimental results show that the proposed order management system has good scalability, high throughput, and low latency.

Key words: Cedar, distributed computing, order management, share-nothing architecture

中图分类号: