Consider different retention strategy for invocation outputs, particularly `Blob`s
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend, performance
Research direction
Start by locating where action invocation outputs are stored and where the default 5-minute retention is configured; the issue names invocation outputs and Blob but no files or tests. Read the invocation and blob storage code plus any retention-related tests to understand the current lifecycle. Done looks like a proposed retention strategy that limits memory use for large Blob outputs while preserving access for the documented retention window.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Currently, action outputs are retained for a default 5 minutes. If those outputs are large, this can become a serious drain on resources.
Describe the solution you'd like
Better management of resources, resulting in less memory usage
Describe alternatives you've considered
Synchronous actions (a single post request and a response including the result) wouldn't need to be retained at all. However, they are not currently implemented and won't always be suitable.
Additional context
The OpenFlexure Microscope server needs to be quite careful with memory management on a Pi.
- Dominant language
- Python
- Stars
- 10
- Forks
- 4
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from labthings/labthings-fastapi
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
labthings/labthings-fastapi#438 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
labthings/labthings-fastapi#435 ·
Maintainers usually reply within 3 days
-
Consider atomic JSON writesMay be free again @ashiishe2-oss claimed this 26 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
labthings/labthings-fastapi#412 · 3 comments ·
Maintainers usually reply within 3 days
-
drop-python-version
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
labthings/labthings-fastapi#354 · 2 comments ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
labthings/labthings-fastapi#312 · 1 comment ·
Maintainers usually reply within 3 days
All issues in labthings/labthings-fastapi
Similar issues
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getcommunityone/open-navigator#1658 ·
Maintainers usually reply within 1 day
-
review-panel severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kristovatlas/coin-accounting#636 ·
Maintainers usually reply within 1 day