DRb Renaissance #
Wow, there’s really been a resurgence of DRb use lately. Which is great. It’s one of our most venerated protocols.
- Ezra’s BackgrounDRb plugin for Rails. For passing progress between Rails apps and running processes. Two videos: A progress bar and tailing logs.
- Robby and Ben’s svnwatch rbot plugin. Uses DRb on the post-commit hook!
- And, lastly, this series of scripts uses the protocol to convert Word documents on a remote machine.
FlashHater
Doesn’t DRb not work right through NAT though?
MenTaLguY
I don’t see why NAT would be a problem, except perhaps that DRb’s IP-based ACLs obviously won’t work.
There’s nothing in DRb proper that depends on IP addresses; you just need a bidirectional communication channel.
In fact, I’ve got a Rails project at work that uses DRb-over unix domain sockets (though, weirdly, Rails seems to break the parsing of drbunix: URIs in a few situations).
andre
I think the problem is that the server needs to open a connection back to the client, which would break with NAT . There is drbfire at rubyforge though.
robert
Gah. Loving this.
Comments are closed for this entry.