Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Enhancement : parallel register call to NerdGraph #3

Open
wellsiau-aws opened this issue Mar 26, 2021 · 2 comments
Open

Enhancement : parallel register call to NerdGraph #3

wellsiau-aws opened this issue Mar 26, 2021 · 2 comments

Comments

@wellsiau-aws
Copy link
Contributor

Summary

Currently the solution made call to newrelic_registration in serial fashion. This feature enhancement is to handle multiple registration call simultaneously and removing the dependency from Lambda timeout.

Desired Behaviour

Determine the throttle threshold from NerdGraph and parallelize the registration call, potentially by recursively calling the register Lambda separately (async).

Possible Solution

Add Lambda handler to receive recursive async call for newrelic_registration, handle retries for each parallel call separately, possibly using queue to handle throttle limit from NerdGraph.

Additional context

For use-case of handling large amount of onboarding, instead of increasing the Lambda timeout, split the individual call in parallel.

@rohitkaul83
Copy link
Contributor

I think we need to add another issue to invoke "create stack instances" in parallel from the stack set lambda when a large list of existing accounts is passed at launch.

davmayd pushed a commit that referenced this issue Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants