Skip to content

Choosing between Lambda functions and activities

Gurmit Teotia edited this page Jan 2, 2020 · 4 revisions

This document is a work in progress:

Features Lambda functions Activities
Access to specialized hardware In Lambda function you can't access specialized hardware (e.g. GPU) In self hosted activities you can have access to specialized hardware
Cancel the running task Not available You can cancel a running activity
Timeout the running task Available, you can configure the Lambda function to finish within a specific period Available
Scalability Available, out of the box You have to put the efforts to start/stop additional workers
Human approvals Available, Guflow provides intuitive signal API to support human approvals Available
Choice of programming languages You can write the Lambda functions in good number of programming languages Guflow provides you rich APIs to develop the activities. Hence your first option will be .NET.
Cost* Likely to be low because you will pay only for the time when Lambda functions are executing Likely to be more because your worker machines(docker or EC2) will be up and running even when there is no active workflow

*You should evaluate cost in your case independently.

Clone this wiki locally