Nearsighted Paramecium Multiverse
Wondering what’s next for npm?Check out our public roadmap! »

@huksley/workflow-es
TypeScript icon, indicating that this package has built-in type declarations

2.3.7 • Public • Published

Workflow ES

Build Status

Workflow ES is a workflow / saga library for Node.js (or modern browsers). It supports pluggable persistence and concurrency providers to allow for multi-node clusters.

Installing

Install the core npm package "workflow-es"

npm install workflow-es --save

Guides

Persistence

Since workflows are typically long running processes, they will need to be persisted to storage between steps. There are several persistence providers available as seperate npm packages.

  • Memory Persistence Provider (Default provider, for demo and testing purposes)
  • MongoDB
  • (more to come soon...)

Multi-node clusters

By default, the WorkflowHost service will run as a single node using the built-in queue and locking providers for a single node configuration. Should you wish to run a multi-node cluster, you will need to configure an external queueing mechanism and a distributed lock manager to co-ordinate the cluster. These are the providers that are currently available.

Queue Providers

  • SingleNodeQueueProvider (Default built-in provider)
  • Azure
  • Redis

Distributed lock managers

Authors

  • Daniel Gerlag - Initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Keywords

Install

npm i @huksley/workflow-es

DownloadsWeekly Downloads

2

Version

2.3.7

License

MIT

Unpacked Size

461 kB

Total Files

316

Last publish

Collaborators

  • avatar