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

Store should boot faster [SPIKE] #645

Closed
cmwylie19 opened this issue Mar 12, 2024 · 0 comments · Fixed by #648
Closed

Store should boot faster [SPIKE] #645

cmwylie19 opened this issue Mar 12, 2024 · 0 comments · Fixed by #648
Labels
enhancement New feature or request

Comments

@cmwylie19
Copy link
Collaborator

cmwylie19 commented Mar 12, 2024

Is your feature request related to a problem? Please describe.

Pepr pods are taking too long to be ready. We need to boot the store faster. This is intentionally vague because a spike needs to be done to see how to achieve this.

After chatting with team:

  • Make configurable
  • Remove Math.random to a constant
  • Make loop for setupWatch
  • Make sure there is good logging

Describe the solution you'd like

  • Given a fresh Pepr pod is deployed
  • When it is time to boot the store
  • Then it is done in the fastest way possible

Describe alternatives you've considered

(optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@cmwylie19 cmwylie19 added the enhancement New feature or request label Mar 12, 2024
cmwylie19 added a commit that referenced this issue Mar 13, 2024
## Description

Reduces start time by 66.6% by creating the store faster.

## Related Issue

Fixes #645 
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/pepr/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

Signed-off-by: Case Wylie <cmwylie19@defenseunicorns.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant