Comments (2)
This issue is more important than I realized.
Currently, a common pattern is to have a web client offloading work to a set of workers.
The case where a web client schedules tasks, but does not also listen for tasks causes the scheduled tasks never to be run.
from gofer.net.
In solving this issue, an important design consideration came up regarding recurring tasks.
I'm writing about it here to record the tradeoffs in case the consideration should be revisited.
In the event of all task schedulers failing or being turned off, and then being turned on after some non-negligible amount of time, the consideration is whether or not the recurring tasks should run for any missed intervals during that time off.
What was implemented does not run missed intervals for recurring tasks but will start running the next intervals as soon as at least one scheduler comes back up.
The motivating scenario was if the schedulers are manually turned off for an evening (or so) then when they get switched back on for the next day, a flood of recurring tasks should not then be poured into the task queue.
An important tradeoff here is that a task scheduler that is backed up may skip recurring task intervals.
from gofer.net.
Related Issues (20)
- Add Support for overloaded Methods HOT 1
- Improve Documentation
- Re-enable At-Least-Once Processing
- Exceptions cannot be passed as as arguments.
- Task execution with argument of type System.Type throws exception HOT 4
- Roadmap to 1.0 Stable Release HOT 1
- Test Gofer.NET with Redis Cluster HOT 1
- TaskClient should run TaskScheduler in its own thread.
- Ensure ScheduledTasks are queued in order of timestamp.
- Add Windows Build
- [FeatureRequest] Add overload with cancellation token to the Listen() method HOT 8
- Can't use connection strings with passwords HOT 3
- Priority tasks
- Simple way to get Queue Depth? HOT 5
- Example of running multiple job listeners in a single process? HOT 5
- Add a configurable delay if there are no jobs in the queue HOT 2
- Recommended strategy to split producer code and worker code ? HOT 4
- Add TaskQueue.Enqueue(Expression<Func<T>>) to suppress warning CS4014 HOT 2
- Dashboard for monitoring
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 gofer.net.