@jcims posted a new topic, subject "One-shot mode for node-red?". It read:

   Hi all,
    
    Thinking of some serverless use cases for node-red and am curious if anyone is running it to execute a single flow from content passed in and then exit. Basically a lambda-type use of the product?

To which @dceejay (dceejay) replied

    Search this forum for "lambda"

@knolleary (Nick O'Leary) replied

    The main issue with that model is the startup time of Node-RED is many seconds and that really isn't suitable for a serverless type environment.

To which @jcims replied

    @dceejay Welp, i probably should have done that to start with, thanks.
    
    @knolleary Ah, ok. I only have used it in docker and it's hard to see how quickly the startup completes.

@system (system) replied

    This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


{'source': 'discourse', 'url': 'https://discourse.nodered.org/t/one-shot-mode-for-node-red/25977', 'title': 'One-shot mode for node-red?', 'views': 591, 'has_accepted_answer': False, 'word_count': 121, 'like_count': 0, 'reply_count': 1, 'participant_count': 3, 'posts': 5, 'tags': '', 'author': '@jcims', 'participants': "@jcims, @dceejay (dceejay), @knolleary (Nick O'Leary), @system (system)", 'image_url': [None], 'created_at': '2020-05-03T06:37:09.719Z', 'last_posted_at': '2020-07-02T16:06:09.130Z'}