Skip to content

Feature: Tasks Index #10

Description

@javibravo

When the AWS Lambda function runs it reads all the task definitions (yml files) in the directory (tasks) and evaluate the cron expression for each of them. While the number of task grows performance will be affected negatively.

Proposal:

  1. When uploading the tasks to S3 create a file indexing tasks files by cron expression. In this way the AWS Lambda function will read the index file, evaluate different cron expressions only once and will read only the files with the tasks that must be executed.
    Example:
*/30 * * * *:
    - my_task_definition_1.yml
    - my_task_definition_2.yml
0 * * * *:
    - my_task_definiiton_3.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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