need advice: http client / async / danga socket

Martin Atkins mart at degeneration.co.uk
Sun Oct 29 12:11:52 UTC 2006


Brad Fitzpatrick wrote:
> On Sun, 29 Oct 2006, Martin Atkins wrote:
> 
>> oliver oli wrote:
>>> Martin Atkins wrote:
>>>> The current "solution" to this problem is to use Gearman, which is an
>>>> out-of-process distributed job server — also a Danga thing — that can
>>>> run asynchronously. This is how LJ Talk authenticates against
>>>> LiveJournal.
>>> is there ruby support for gearman? the website says it's language
>>> agnostic, but i guess someone has to write a ruby client :-).
>> I imagine it wouldn't be too hard to write a Gearman job server in Ruby.
>> Gearman's protocol's not that complicated. But I don't know Ruby. :)
> 
> Actually he'd want to write a Gearman::Client in Ruby, and just use the
> gearmand (the job server) that's already in Perl.
> 
> And that'd be easier.
> 

Oh yes. I got muddled up about how Gearman worked for a moment there.

But wouldn't it be a Ruby version of Gearman::Worker in this particular 
case?
Gearman::Client(::Async) is used at the DJabberd end, presumably.




More information about the Djabberd mailing list