GemStone Reveals Plans for MagLev Ruby VM at RailsConf 2008

| by Nick Laiacona Follow 0 Followers on May 31, 2008. Estimated reading time: 2 minutes |

At RailsConf on Friday, Avi Bryant and Bob Walker of GemStone revealed plans for the MagLev project. MagLev will run Ruby on Rails within GemStone's distributed object technology. The MagLev VM, although only partially implemented, so far outperforms MRI 1.8.

MagLev is a Ruby VM based on the GemStone S64 VM, which runs Smalltalk. The Smalltalk VM has been extended with special byte codes to make it Ruby compatible. GemStone's Smalltalk VM has been used for over 20 years in sectors such as real time financial markets and the worldwide shipping industry. It as a mature, fast, stable, distributed, and transactional data store which can hold over a trillion objects or 17PB (Petabytes) worth of information. The goal of the MagLev project is to bring this distributed object technology to the world of Ruby on Rails.

Avi Bryant, core team member on Dabble DB and SeaSide, demonstrated MagLev's distributed object technology running Ruby. Using an irb session on one Ruby VM, he was able to share object data to an irb session in another VM by simply instantiating global objects. Avi then demonstrated the BEGIN, COMMIT, and ABORT keywords that provide a fully transactional and ACID compliant concurrency strategy. He was also able to access persistent data storage using this same mechanism. In essence, MagLev was filling the roles not just of the VM but also the caching and persistent storage layers.

Bob Walker, who is the project manager for the MagLev project at GemStone, then spoke about the progress of the effort. As of today, Bob Walker's team has MagLev running about 36 of the Ruby Shootout Benchmarks significantly faster than MRI 1.8. They plan to use the Rubinius project's Ruby Specs in order to verify compatibility. They are currently three months into implementation. Portions of the project will be open source, but the core VM, which is written in C, will likely remain closed source.

GemStone is still pondering a pricing model for MagLev. Bob Walker did state that there will be a free version available. GemStone management speculates that a two or three tier pricing model is possible with either storage size or number of transactions defining the tiers. GemStone has set up a project page where they promise ongoing information about the project will be available soon.

Read InfoQ's exclusive interview with Gemstone's Bob Walker on MagLev.

Rate this Article

Adoption Stage

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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you