InfoQ

News

GemStone Reveals Plans for MagLev Ruby VM at RailsConf 2008

Posted by Nick Laiacona on May 31, 2008

Community
Ruby
Topics
Ruby on Rails ,
Language
Tags
GemStone ,
MagLev ,
ACID

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.

No comments

Watch Thread Reply

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.