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

Refactor Lambda Function to Use lambdaInvoke Instead of HTTP Requests #225

Open
6 of 10 tasks
lakshayman opened this issue Sep 23, 2024 · 0 comments
Open
6 of 10 tasks

Comments

@lakshayman
Copy link
Collaborator

lakshayman commented Sep 23, 2024

Issue Description

The current implementation of the Lambda function utilizes HTTP requests to call other Lambda functions instead of using the more efficient lambdaInvoke method.

Expected Behavior

The function should invoke other Lambda functions directly using the lambdaInvoke method, which would improve performance and reduce latency compared to making HTTP requests.

Current Behavior

Currently, the function makes HTTP POST requests to other Lambda functions, which can lead to increased response times and potential failure scenarios if the HTTP endpoint is not reachable.

Screenshots

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

  1. Deploy the current Lambda function.
  2. Trigger the function and observe the behavior of the profile calling process via HTTP requests.

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Switching from HTTP requests to the lambdaInvoke method will require changes to the code to utilize the AWS SDK for Go to invoke the functions directly.

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant