Cap the maximum duration that an SQS Message will have its Visibility Window shifted to
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start by locating the SQS message visibility-extension logic and any existing timing tests. Trace how the initial visibility window is doubled, then verify that long-running tasks refresh visibility without exceeding the proposed cap; add or update tests for extended processing and crash recovery behavior.
Written by the indexing model from the issue text.
Description
For a sufficiently long-running task, the initial visibility window (usually 30 seconds, but it's configurable) will keep doubling over the lifetime of the process. After around 7 doublings, we'd be adding an entire hour of visibility to the message - so if something did crash, that could end up taking a full hour to be able to be visible again.
Instead, we should probably cap the amount of time that we'll extend the window by - maybe at around 10 minutes? Then, every 5 minutes or so, we'll expand it out to another 10 minutes, and so on, until the process completes or crashes.
- Dominant language
- PHP
- Stars
- 0
- Forks
- 0
- Avg merge
- 4m
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 grokability/massdriver-server
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
grokability/massdriver-server#38 ·
Maintainers usually reply within 1 day
-
Check for the “down” file before twiddling `.env`Possibly taken @uberbrady claimed this 22 days ago. Open
grokability/massdriver-server#16 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
grokability/massdriver-server#6 ·
Maintainers usually reply within 1 day
All issues in grokability/massdriver-server
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android ChromeOpenneeds-triage Platform(Default)
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
GD decoder discards the finfo media type in mediaTypeByBinary() since 4.4.0Possibly taken @lazerg claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Intervention/image#1556 ·
Maintainers usually reply within 1 day
-
bug No Code Attached Yet
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
joomla/joomla-cms#48730 ·
Maintainers usually reply within 1 day
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day