Xing
agent 是用于维持 gearman 的连接的。由于 gearman 的协议设计(任务没有 UUID),无法并发的处理多个任务。对于延迟敏感的应用,我建议使用 MQ 来代替 gearman。例如利用 MQTT 作为基础协议重新设计这部分功能,来代替 gearman。
How about using a channel and a goroutine to collect results? `JobHandler` receives the data and sends to the chan, then you can put a timeout into the `select` goroutine.
Since all the questions belong to the gearmand usage, please check the document here: http://gearman.org/getting-started/ I don't think we can do such things in gearmand (not sure about the newest...
Your solution should be right. But I need some days to think about this issue. If I can make sure there are no other problems, would you please make a...
I've made a pull request and merged it. Could you please do a test for this?
I‘ve no idea why it would hang on reading. Could you tell me witch line is blocked, [L171](https://github.com/mikespook/gearman-go/blob/master/worker/agent.go#L171) or [L181](https://github.com/mikespook/gearman-go/blob/master/worker/agent.go#L181)?
Already fixed, but I think it still needs more testing.
Cause I don't have a windows environment to run a test-case, could you please show me your environment's details? And also it would be great if you can run test-cases...
Does the string "2553" have any special meaning in your application? I read the source code of [gearmand](https://github.com/ngaut/gearmand/blob/master/server/session.go#L56). It may a byte alignment problem. Have you tried [the gearmand(C)](http://gearman.org/download/).
I built a 32bit testing environment in VBox: `Linux i386 3.2.0-4-486 #1 Debian 3.2.65-1+deb7u2 i686 GNU/Linux` However, both python client and golang client are worked fine. ![screenshot - 240315 -...