###
计算机系统应用英文版:2018,27(9):283-287
←前一篇   |   后一篇→
本文二维码信息
码上扫一扫!
高性能云工作流状态机的原理与实现
(南瑞集团有限公司(国网电力科学研究院有限公司), 南京 210003)
Mechanism and Implementation of High Performance Workflow State Machine Cloud
(NARI Group Corporation(State Grid Electric Power Research Institute), Nanjing 210003, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1667次   下载 2332
Received:October 20, 2017    Revised:November 14, 2017
中文摘要: 传统工作流程通过设计活动和迁移线等元素来实现流程的基本流转,但随之而来的问题是当流程异常复杂,例如存在多达几十个活动且活动之间需要不断跳转交互的情况下,不仅开发复杂度成倍增加,而且运行时性能也会持续降低.为解决此问题,本文基于有限状态机的原理,结合云计算技术,提出了云工作流状态机,能够充分利用代码逻辑开发的便捷性,简化流程的活动和迁移,最终达到运行时高性能的架构目标.文中详细阐述了工作流状态机的实现原理,运行机制,以及云计算下的状态机服务框架,最后介绍了基于云状态机的业务应用开发方式,并给出容器下的压力测试结果:流程在双节点流转的单步耗时非常短,运行稳定.实践证明,基于容器的云架构在保证可扩展性的同时亦能满足高性能的设计目标.
中文关键词: 工作流  状态机  云计算  容器
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
CHENG Xu,ZHANG Bin,LIU Yi-Tian.Mechanism and Implementation of High Performance Workflow State Machine Cloud.COMPUTER SYSTEMS APPLICATIONS,2018,27(9):283-287