InfoQ

News

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

Posted by Werner Schuster on Jul 16, 2008 07:34 PM

Community
Architecture,
Ruby
Topics
Grid Computing ,
Performance & Scalability ,
Messaging ,
Ruby on Rails ,
Cloud Computing
Tags
Erlang ,
Ruby on Rails ,
git ,
AMQP ,
Rails ,
EC2 ,
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.

No comments

Watch Thread Reply

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.