Using libgearman in C++ and Qt plus several Questions about Gearman

Asked by Adam on 2013-11-24

Hello Gearman-Team,

I hope this is the right place for my question.
I'm a media engineering student from Germany. Me and my team are considering using Gearman for our "Blender Renderfarm" project, but struggle a little bit in using it for our needs. That's why I have some questions:

1.) Is there any IRC, Forum, MailingList or social community website where people can exchange their questions, code and such about Gearman?

2.) There is very little documentation available about using Gearman with C++. Are there any helpful ressources out there we haven't looked at? Up until now, we have been working with and the examples bundeled with Gearman (along with a japanese OpenCV website: :) ).

3.) Now a bit more technical stuff: We are using Gearman with QT 5.1.1 (C++) on Ubuntu 13.10. I am responsible for the worker part. The client is basically sending a string (char* from "") which I need to reconstruct to a QByteArray again. Unfortunately this doesn't work, since there is some kind of escape character (I believe) cutting of the rest after some 3 to 17 Bytes. What is the best way to put a custom data type (in our case the QByteArray) into gearman on the client side and receive it on the worker side? Are there some "Best Practice" advices?

Thank you for taking the time to read through my post. And if there are developers of Gearman out here: Thank you for your great effort. We would love to contribute some documentation from our project if we get Gearman running on our side.

Also, if you need some code, better explanation or info, feel free to tell me.

Looking forward to your answers.

Sincerely, Adam

Question information

English Edit question
Gearman Edit question
No assignee Edit question
Last query:
Last reply:
the-noob (the-noob) said : #1

Hi Adam,


2) Same site ( ) has/had a good documentation section that is being updated/ported so there might be some bugs.

3) My understanding of the way Gearman works (not using it with C/C++) is that you have to handle workload encoding /decoding in client/worker.


Can you help with this problem?

Provide an answer of your own, or ask Adam for more information if necessary.

To post a message you must log in.