Ruby Video
Talks
Speakers
Events
Topics
Leaderboard
Sign in
Talks
Speakers
Events
Topics
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
MagLev is a Ruby implementation built on top of a mature VM which offers native object persistence. Working with these live objects is awesome - but this image-based development is very different than traditional file-based development. MagLev uses both which has broad reaching effects - from design to deployment. In traditional applications, data and code are separate. Deployments involve pulling new code, updating or migrating the data-store, and restarting or reloading the application which creates a new runtime with this new code. MagLev's transient objects behave in this same manner, but committed objects are always there. Migrating these live, persistent objects is quite different. Your 'data' migrations involve things like instance variables, method definitions and class hierarchies, rather than creating tables or updating column definitions. In this talk we will walk through a number of examples including a simple job and worker which use persisted blocks, and how to deploy an application and migrate persisted objects. Help us caption & translate this video! http://amara.org/v/FG2K/
Date
Summary
Markdown supported
In the presentation titled "MagLev - From Download to Deploy," Johnny T discusses MagLev, a Ruby implementation built on top of the GemStone S virtual machine, emphasizing its unique approach to object persistence and deployment. The talk begins with a brief introduction to Ruby's history, including its creation by Yukihiro Matsumoto and the pivotal role of David Heinemeier Hansson in popularizing Ruby through Ruby on Rails. Johnny explains that while traditional applications have distinct separations between data and code, MagLev's transient and committed objects allow for a different approach where live objects are preserved across sessions. Key points covered in the talk include: - **History of Ruby**: Ruby was developed in 1996, aimed at being a fun and enjoyable scripting language, with significant contributions from its creator, Matz. - **The Significance of GemStone**: GemStone S, established in 1986, enhances Ruby by providing a robust VM capable of managing large datasets, which is integral to MagLev's performance. - **MagLev Operations**: The installation of MagLev involves downloading the GemStone and Ruby core, allowing them to work together seamlessly. This setup draws parallels to traditional data store installations like PostgreSQL. - **Object Persistence**: The presentation illustrates how persistent changes in MagLev require specific blocks to commit data, contrasting this with traditional transient states where data is lost once the process ends. - **Demonstrations**: Johnny presents practical examples of MagLev, such as creating a persistable 'hat' object and implementing a job queue system that allows for persistent execution of code blocks, thus demonstrating MagLev's capabilities in managing persistent data effectively. - **Advanced Applications**: The speaker also delves into geo-hashing as a method for efficient geographic data encoding, further showcasing MagLev’s performance in handling location-based data tasks. The conclusion of the presentation underscores the innovative aspects of MagLev, particularly how it changes the paradigm of data and code integration in Ruby development. Johnny expresses gratitude for the audience's involvement and hints at future discussions on these technologies.
Suggest modifications
Cancel