Skip to content

Strategy with Cloud Functions? #2

@dakom

Description

@dakom

Does the following approach make sense?

Setup cloud function at /process

  1. First invocation is manual (to start the bot)
  2. Cloud Function calls the List API, and does whatever based on messages
  3. Sends a request to /process after pollingIntervalMillis
  4. Exits
  5. A new CloudFunction will be invoked (goto step 2)

?

This all assumes that pollingIntervalMillis is less than the deadline for a single cloud function invocation, which I believe can be set to 9 minutes max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions