高性能云工作流状态机的原理与实现
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Mechanism and Implementation of High Performance Workflow State Machine Cloud
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    传统工作流程通过设计活动和迁移线等元素来实现流程的基本流转,但随之而来的问题是当流程异常复杂,例如存在多达几十个活动且活动之间需要不断跳转交互的情况下,不仅开发复杂度成倍增加,而且运行时性能也会持续降低.为解决此问题,本文基于有限状态机的原理,结合云计算技术,提出了云工作流状态机,能够充分利用代码逻辑开发的便捷性,简化流程的活动和迁移,最终达到运行时高性能的架构目标.文中详细阐述了工作流状态机的实现原理,运行机制,以及云计算下的状态机服务框架,最后介绍了基于云状态机的业务应用开发方式,并给出容器下的压力测试结果:流程在双节点流转的单步耗时非常短,运行稳定.实践证明,基于容器的云架构在保证可扩展性的同时亦能满足高性能的设计目标.

    Abstract:

    Traditional business processes are usually designed with process elements-activities and transitions. However, when the process is becoming complicated, such as dozens of activities which could jump to each other in one complex workflow, the process modeling is becoming harder, and the system will probably turn to poor performance. In order to solve this problem, this paper presents a system of workflow state machine cloud based on cloud computing and the mechanism of finite state machine, which can simplify the activities and transitions by coding the flow process to achieve high performance, and elaborates the mechanism of the state machine framework in cloud. Finally, the developing method of business application based on the workflow state machine cloud is introduced, and the performance results tested in container are given:the time consuming of one-step flow between activities running in two containers is very short. That means the design based on Docker can achieve high performance as well as maintaining scalability.

    参考文献
    相似文献
    引证文献
引用本文

程旭,张斌,刘一田.高性能云工作流状态机的原理与实现.计算机系统应用,2018,27(9):283-287

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-10-20
  • 最后修改日期:2017-11-14
  • 录用日期:
  • 在线发布日期: 2018-08-17
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号