-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
worker support? #1
Comments
Absolutely. That's the next step after I'm done working on the client. Pull requests are always welcome. |
ok .. I'll take a look into this. |
I pushed to a feature branch with a little readme work on a proposed API: 5d34589 I'd like to use the native EventEmitter API as closely as possible, but I haven't quite worked out exactly how to implement things like RESET_ABILITIES with that. This Issue can stay open until there's a working implementation. |
I decided it would be fun to write a full Gearman client and worker in CoffeeScript. So I did that today instead of forking your project. Sorry that I was a tease! |
You're still a tease until you link to the code ;) I debated using CS originally, and I'm still thinking about a port. It's not too late for a rewrite, and the goal is to have a working node implementation, so the language doesn't matter. |
Any updates on a gearman worker? Also, the proposed API would not properly work for async jobs. We should probably have a callback argument which we can call to return the payload. The callback would be in the form of For instance, the reverse worker would become: worker.on("test", function (data, done) {
done(null, data.toString("utf8").split("").reverse().join(""));
}); Thoughts? |
Any progress on this? Its fairly useless without a worker API. |
@perezd Project seems dead :S |
Project is not dead (or useless IMO.) Just haven't had time to work on it much lately. Sorry, but that's just what's going on. Pull requests are welcome, and I hope to get around to making updates at some point. |
+1 on this from me |
https://github.com/andris9/node-gearman does support workers, though there are no plans on that for some other features: background jobs, priorities, status updates, etc. |
Full protocol support for clients and workers https://github.com/mreinstein/node-gearman |
Are you planning to add support for Node.js based workers?
The text was updated successfully, but these errors were encountered: