Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce Lambda invocations #104

Open
2 tasks
bernard357 opened this issue May 20, 2023 · 0 comments
Open
2 tasks

reduce Lambda invocations #104

bernard357 opened this issue May 20, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bernard357
Copy link
Contributor

What is this?

Here we fine-tune the EventBridge rules to prevent useless invocations

Why is this important?

Since Lambda invocations increase linearly with the number of accounts that SPA manages, it is important to maintain these invocations to a very minimum.

How to implement it?

  • only use events that begin or end transactions to trigger the metering Lambda - other events are useless
  • only use expiration events from DynamoDB to trigger transaction time outs - other DynamoDB events are useless
@bernard357 bernard357 added the good first issue Good for newcomers label May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant