Example demonstrates how to use gearman for multiple tasks with priorities and achieve the result in client.