Font Size: a A A

The Design And Implementation Of Async Workflow Framework

Posted on:2019-06-23Degree:MasterType:Thesis
Country:ChinaCandidate:Y FuFull Text:PDF
GTID:2518305447976959Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Workflow,as an important abstracting and modeling tool for domain specific business scenarios or business rules,is widely used in today's companies.Through abstraction and modeling,workflow technologies can make complex business process much easier,so that it can be understood and then executed by computers.Nowadays,with the rapid development of Internet technology and the increasing complexity of business process,the requirements for workflow modeling and execution efficiency have also become much higher.The Async Workflow Framework,subject of this thesis,proposed a brand new solution for business workflow execution engine.Different from previous execution engines mainly based on synchronous approaches,this async framework is purely based on asynchronous call and callback.In this way,specific business logic will no longer block its caller thread,resulting in less system resource overhead and better performance.Meanwhile,as a generic workflow execution engine,this framework can also be integrated into various business processes requiring high performance.Async Workflow Framework is implemented mainly using the Java programming language.By leveraging some non-blocking algorithms such as CAS,lock-free queues in the Executor Module and Scheduler Module,this framework can achieve high system throughput with low overhead.Besides,by integrating the LnP(Load and Performance)Module with Cl,benchmark reports can be sent to developers in time and this is helpful to locate performance related issues early and ensure high project quality during development.Currently,Async Workflow Framework has already been integrated into the core compute service system in company,and is ready for live release.Simulation testing has shown a 40 percent throughput improvement with this framework.
Keywords/Search Tags:async, workflow, lock-free queue, high performance
PDF Full Text Request
Related items