I am definitely not an expert on gearman, but as I understand it
the main difference between foreground and background tasks is
that foreground tasks maintain a connection to the task and
returns a value. There is also a way to set tasks as high priority
so that it gets processed before other tasks. Not really sure what
you are asking but what I do with some of my tasks is I write in
such a way so that they can either be run directly or run by a
task. So there is sort of a stub that gearman deals with but it
hands of to a regular old perl subroutine to do the heavy lifting
that can be invoked directly. Good luck.
James
--
You received this message because you are subscribed to the Google Groups "Gearman" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gearman+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gearman/7c64d72f-bbf9-4e14-aefc-b7017d683571n%40googlegroups.com.
-- James D Bearden ja...@nontrivial.org
--