Comments (2)
cc @bsless
from goose.
Questions
- Callbacks make more sense in context of a batch. Should we only reserve them for Batches(#105) or allow individual Jobs to have callbacks as well?
- Should a callback be
(A) a simple function that's provided when creating a Batch
or(B) 2-way communication between Application<>Worker over the message broker
?A
is easier to implement, won't affect performance of Application and will solve most use-casesB
is more difficult to implement, will affect performance of Application- I suggest we do
A
. Users wantingB
will have to add an API to their Application and call it from the Callback function in Worker
from goose.
Related Issues (20)
- A Goose worker can update a batch's state via middleware after the execution of a job
- A Goose worker can execute a callback function when all the jobs in a batch have completed
- A user can check the status of batch via an API
- A user can delete a batch via an API
- Document Batching feature
- Design batch life cycle
- Move orphan jobs to front of queue
- Spec, integration and unit tests for batching client and broker
- Cleaning up batch data from redis
- [Redis] Add Metrics for batching
- Message Broker implementation for in-process use case HOT 2
- Create Jobs via HTTP endpoint HOT 1
- Create landing page for Redis implementation
- Create enqueued page for Redis implementation
- [Bug] HOT 1
- Create landing page for Rmq implementation
- console/app-handler throws error for jdk < 18
- View dead jobs for Redis & Rmq
- Add dead jobs console API
- Parallel request to replay dead job enqueues same job twice in the ready queue (in redis)
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 goose.