All Projects → triggerflow → triggerflow

triggerflow / triggerflow

Licence: Apache-2.0 license
Event-based Orchestration of Serverless Workflows

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to triggerflow

Jazz
Platform to develop and manage serverless applications at an enterprise scale!
Stars: ✭ 254 (+568.42%)
Mutual labels:  serverless-framework, functions-as-a-service
Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (+215.79%)
Mutual labels:  serverless-framework, functions-as-a-service
vhive
vHive: Open-source framework for serverless experimentation
Stars: ✭ 134 (+252.63%)
Mutual labels:  functions-as-a-service, knative
Baker
Orchestrate microservice-based process flows
Stars: ✭ 233 (+513.16%)
Mutual labels:  orchestration, functions-as-a-service
multibranch-action-triggers-plugin
MultiBranch Actions Trigger Plugin
Stars: ✭ 29 (-23.68%)
Mutual labels:  trigger
serverless-swagger-api
Simplifies the process of generating an API Gateway API from a swagger file.
Stars: ✭ 15 (-60.53%)
Mutual labels:  serverless-framework
Stateless-Designer
Visual Studio extension to support visual design of stateless state machines. Support for Visual Studio 2012/2013/2015/2017.
Stars: ✭ 47 (+23.68%)
Mutual labels:  state-machines
serverless-aws-rust-multi
⚡🏗️ template for new aws lambda serverless rust http apps
Stars: ✭ 51 (+34.21%)
Mutual labels:  serverless-framework
serverless-typescript-starter
A Serverless starter that adds TypeScript, serverless-offline, linting, environment variables, and unit test support.
Stars: ✭ 75 (+97.37%)
Mutual labels:  serverless-framework
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (-42.11%)
Mutual labels:  orchestration
Docker-Kubernetes
Basics of Docker and Kubernetes
Stars: ✭ 18 (-52.63%)
Mutual labels:  orchestration
jira-trigger-plugin
Triggers a build when a certain condition is matched in JIRA
Stars: ✭ 112 (+194.74%)
Mutual labels:  trigger
cloudwatch-public-metrics
Expose AWS Cloudwatch Metrics as a public HTML page using AWS Lambda and server-side rendering
Stars: ✭ 27 (-28.95%)
Mutual labels:  serverless-framework
serverless-fission
Use Fission through Serverless Framework https://serverless.com
Stars: ✭ 19 (-50%)
Mutual labels:  serverless-framework
tencent-cam-policy
Easily create an Tencent CAM Policy with Serverless Components
Stars: ✭ 20 (-47.37%)
Mutual labels:  serverless-framework
kubecloud
Kubecloud is a multi-cloud container cloud management platform
Stars: ✭ 48 (+26.32%)
Mutual labels:  orchestration
sdk-java
Temporal Java SDK
Stars: ✭ 117 (+207.89%)
Mutual labels:  orchestration
serverless
BlueNimble is a Hybrid Serverless Platform focusing on developer productivity and application portability. Create and run scalable APIs and applications without coding or by coding less. Focus on application business logic without any knowledge of the underlying microservices architecture.
Stars: ✭ 30 (-21.05%)
Mutual labels:  serverless-framework
depcharge
DepCharge is a tool designed to help orchestrate the execution of commands across many directories at once.
Stars: ✭ 23 (-39.47%)
Mutual labels:  orchestration
lambda-sns-dlq-error-handling
Sample project for showing the ability to publish an SNS topic and trigger a function from the topic. Code is structured to create a timeout/crash so the dead letter queue SNS topic gets published, in turn triggering the error handler function.
Stars: ✭ 31 (-18.42%)
Mutual labels:  serverless-framework

TriggerFlow: Event-based Orchestration of Serverless Workflows

Triggerflow is a scalable, extensible and serverless in design platform for event-based orchestration of serverless workflows.

triggerflow_architecture

Triggerflow follows an Event-Condition-Action architecture with stateful triggers that can aggregate, filter, process and route incoming events from a variety of event sources in a consistent and fault tolerant way.

Thanks to Triggerflow's extensibility provided by its fully programmable trigger condition and action functions, and combining and chaining multiple triggers, we can orchestrate different serverless workflow abstractions such as DAGs (Apache Airflow), State Machines (Amazon Step Functions), and Workflow as Code like (Azure Durable Functions), among other specialized workflows.

Triggerflow has been implemented using Open-Source Cloud Native projects like CloudEvents and KEDA or Knative. When Triggerflow is deployed using KEDA or Knative, the trigger processing service runs only when there are incoming events so that it can be scaled down to zero when it is not used, which results in a pay-per-use serverless model.

You can read more about Triggerflow architecture and features in the Triggerflow: Trigger-based Orchestration of Serverless Workflows article, presented and accepted at the ACM Distributed and Event Based Systems 2020 conference.

Documentation

Installation and deployment

Examples

Triggerflow Client Example

from triggerflow import Triggerflow, CloudEvent, DefaultConditions
from triggerflow.functions import PythonCallable
from triggerflow.eventsources.rabbit import RabbitMQEventSource

# Instantiate Triggerflow client
tf_client = Triggerflow()

# Create a workspace and add a RabbitMQ event source to it
rabbitmq_source = RabbitMQEventSource(amqp_url='amqp://guest:[email protected]/', queue='My-Queue')
tf_client.create_workspace(workspace_name='test', event_source=rabbitmq_source)


def my_action(context, event):
    context['message'] += 'World!'

# Create the trigger activation event 
activation_event = CloudEvent().SetEventType('test.event.type').SetSubject('Test')

# Create a trigger with a custom Python callable action and a Join condition that joins 10 events
tf_client.add_trigger(trigger_id='MyTrigger',
                      event=activation_event,
                      condition=DefaultConditions.JOIN,
                      action=PythonCallable(my_action),
                      context={'message': 'Hello ', 'join': 10})

# Publish 10 activation events, the action will only be executed on the 10th event
for _ in range(10):
    rabbitmq_source.publish_cloudevent(activation_event)

# Retrieve the trigger's context
trg = tf_client.get_trigger('MyTrigger')
print(trg['context']['message'])  # Prints 'Hello World!'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].