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

job-engine-lite actions where get-context is not implemented, issue a big amount of requests to the api-server #152

Open
cjdcordeiro opened this issue Jan 14, 2021 · 3 comments

Comments

@cjdcordeiro
Copy link

Example:

  • the current nuvlabox_* actions all map to jobs where the nuvlabox, nuvlabox-status, nuvlabox-peripheral, credential, is,...etc. resources are fetched during the job execution. This causes 2 inconvenients:
  1. too many requests made from the edge up to Nuvla in order to retrieve all the resources needed for each job execution
  2. mainly for nuvlabox_* jobs, all the required information for executing the job is already on localhost, running as part of the NBE sw stack, in a Docker volume
@cjdcordeiro
Copy link
Author

ultimately, this is about executing get-context only once, at the beginning of each job, and make all those attributes available to the job execution

@cjdcordeiro
Copy link
Author

@0xbase12 you added this to the epic, so you want to have this fixed before its first release? IMO it isn't a hard requirement, but an optimization that can be done later

@0xbase12
Copy link
Contributor

Ah I didn't get it that the epic is only for what we want for first release. Fill free to remove it from the epic

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

No branches or pull requests

2 participants