pokt-foundation / global-services

Encapsulates all of the global services running to support the portal-api
MIT License
0 stars 1 forks source link

Allow for multiple check on the perform-lambda #16

Closed rem1niscence closed 2 years ago

rem1niscence commented 2 years ago

So on the previous PR (#14) a way was added for checks to run on their own isolated lambda thus avoiding issues on file limits, problem is they're too free and they have a pool of resources that could be used to reduce costs, this PR adds that ability to send N requests to those perform-check lambdas so we can have the same efficiency while reducing costs, a test was made with N = 10 and no degradation was observed, that means the run-application-check service costs 10x less to run while performing the same

image Invocation amount improvement on testing

height[bot] commented 2 years ago

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.