Comments (6)
Job attributes are documented here:
https://github.com/contribsys/faktory/wiki/The-Job-Payload
but we could definitely improve the docs around Faktory's job retry/error process.
- retry only applies to explicitly FAILed jobs.
- see the 'retry' option in the job payload.
from faktory.
Started this page: https://github.com/contribsys/faktory/wiki/Job-Errors
from faktory.
So there is currently no way to limit retrying of Non-ACKed jobs right? If a job doesn't complete within the reserve_for timeline faktory will enqueue it again and again? This can lead to a scenario where if there is a job which doesn't complete due some bug, all worker processes will eventually fetch that and get stuck processing that job.
from faktory.
If you are re-enqueuing quickly, every N seconds, as you want to do, yes, a poison pill can take down all your workers quickly. If you are reserving for 30 minutes by default, it's generally not a problem. Sidekiq does not limit either and no one's ever reported this as a problem.
from faktory.
Sidekiq retries only failed jobs. So a single job which never finishes doesn't take down all workers whereas it is a definite possibility in faktory. Does it matter whether it happens slowly with default limit of 30minutes or faster with a lower reserve_for?
Ideally I would like to have a new config (re-enqueue) to control how many times a job should be re-enqueued and a configurable lower reserve_for
from faktory.
from faktory.
Related Issues (20)
- Pro vs Enterprise versions? HOT 6
- Question: do multiple job invocations have different JIDs? HOT 1
- Duplicate JIDs don't get cleared from the busy section HOT 1
- Faktory crashing on startup. HOT 7
- Can't filter/search retrying jobs HOT 3
- Unit of statsd time metrics HOT 1
- Question regarding "reserve_for" in cron HOT 2
- Issues / Feature request HOT 2
- DB persistence not working HOT 14
- Faktory can't use the IPV4 network mode HOT 1
- Options for `TARGETPLATFORM` in dockerfile HOT 3
- Wouldn't it be possible to configure the client using ways other than environment variables? HOT 4
- Autoscaling faktory in kubernetes HOT 5
- Faktory closing connection HOT 1
- Best practices for Faktory worker library command retry behavior HOT 1
- Unable to run example code files HOT 1
- 1.7.0 Metrics Name-spacing is Broken HOT 7
- StatsD metrics parsing errors after upgrade to v1.7.0 HOT 7
- Factory can not be run as a second user without a computer restart HOT 3
- I use docker desktop mac version to start faktory container, can't open web with browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faktory.