DiamondLightSource / DiamondLightSource/heliotrapi
Jobs should have persistance - create a DB
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Jobs should persist even if the API crashes for some reason. Info about the job, and any details should be included. Basically the AnalysisRequest and AnalysisResponse
Could create a PVC and add a DB there, or just put a DB on the filesystem
Related:
https://github.com/DiamondLightSource/heliotrapi/issues/36
Contributor guide
Research direction
Start by reviewing how AnalysisRequest and AnalysisResponse are currently handled, then read related issue #36. Define what job information and details must survive an API crash and choose between filesystem storage and a database backed by a PVC. Done means jobs and their analysis data persist and remain available after the API restarts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100