I'm trying to understand Gearman but until now I can't figure out what's the difference between task and job.
I'm trying to create a client which will parse periodically (every 10 minutes) a XML page. Which is the best approach?
The manual offers a terrific explanation:
Jobs vs. Tasks
A task is any request or communication between the client and the job server. A task is usually communication about a job. Tasks might be
please run this job
orwhat is the status of this job
. A job is something the worker does, continuously waiting on the job server to tell him when to start and with what arguments. Clients submit jobs and ask for status about jobs (both of those things are considered tasks). Workers actually perform the jobs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With