InfoQ Homepage News Erlang and Ruby Roundup: Vertebra, Scaling with Fuzed, Github

Erlang and Ruby Roundup: Vertebra, Scaling with Fuzed, Github

Recently a few projects of Ruby teams have started using Erlang in different ways. Let's have a look at three different ways Erlang is used.

EngineYard's Vertebra is based on a combination of Ruby and Erlang. From our previous coverage:
The security/discovery mechanism, the state machine workflow system and the distributed key-value storage system are all written in Erlang. The agent framework for writing agents is all ruby though and the actual functionality of the agents is ruby.
The system is also built around the Erlang-based ejabberd which implements messaging using XMPP. Another messaging system written in Erlang is RabbitMQ, which implements AMQP, an Internet Protocol for Business Messaging

The search engine Powerset (Microsoft recently acquired Powerset) is built on a host of technologies, including Erlang and Ruby. A part of this infrastructure is now available at Github under the name Fuzed. From the project's Readme:
Fuzed is an Erlang-based clustering system designed to let several single-threaded processes (which may or may not be reliable) form into a pool which can serve requests to remote hosts. These resources need not be homogeneous, Fuzed breaks them up into homogeneous pools internally and serves out requests without "crossing the streams" of different software/versions of software.
This is a release of Powerset's internal clustering software which has been adapted for use with Rails, but see the generic_json_responder to see exactly how it is used internally.
Fuzed makes use of Erlectricity (RubyForge project), a library that connects Ruby and Erlang, similar to the JInterface library which connects Java and Erlang. These libraries are built on Erlang's ports and messaging system. For a quick overview, read Scott Fleckenstein's introduction to Erlectricity. Scott Chacon wrote up his experience in using Fuzed on Amazon EC2.

Finally, Tom Preston-Werner mentioned on the github blog he's working on egitd:
Over the past several weeks I’ve been working on a secret Erlang project that will allow us to grow GitHub in new and novel ways. The project is called egitd and is a replacement for the stock git-daemon that ships with git.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.