Here are a number of common scenarios where you’ll find gearman is an excellent fit. Each example strives to have code samples in multiple languages. If your favorite is missing, please help out with a pull request!

Foreground Jobs

This basic request pattern will send a job to to gearman and block until a response (or timeout) occurs.

Background Jobs

Background Jobs will send a job to be processed to gearman and immediately return when gearman has the message.


Execute multiple jobs in parallel as Tasks. Great for speeding up lots of small calls which done in serial take a long time.

Advanced Foreground Jobs

There are a number of more advanced techniques you can employ on foreground jobs such as…

Gearman In The Wild

Links to write ups about how gearman is being used at companies to get real work done.