Open nulltoken opened 2 days ago
More documentation can't really hurt. The current state somewhat convers all the features but doesn't give a guideline on how to reach certain things. Exactly like you explained.
I am all in if you have concrete ideas/examples.
If you want, you can easily play around with the documentation without any setup. We have devcontainer support and predefined tasks for serving the docs.
Just a random thought. Concurrency may happen when running multiple times the same job on one instance. It may also happen would the host application be deployed in a web farm.
Designing this sort of jobs properly may require some
experienceprior painful production burn scars.I wonder if an example (or a high level pseudo code) may help the reader understand what should be to be taken care of.
For instance, given a process feeding a database with things to process in a state
A
, how to safely design a job that could process those things and bring them to a stateB
in a conccurently-aware way: