Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pull request Compare This branch is 10 commits ahead, 250 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Maglev_c_extensions.md
README.rdoc
applications.rdoc
benchmarks.rdoc
build.rdoc
debug_from_smalltalk.rdoc
debugging.rdoc
developer_notes.rdoc
file_layout.rdoc
github.rdoc
maglev-server.rdoc
maglev_bootstrap.rdoc
persistence-api.rdoc
prerequisites.rdoc
release_notes.rdoc
remote-stone.rdoc
ruby_and_smalltalk.rdoc
rubyspecs.rdoc
smalltalk_ffi.rdoc
topaz_tasks.rdoc

README.rdoc

MagLev

MagLev is a fast, stable, Ruby implementation with integrated object persistence and distributed shared cache. MagLev is currently in public Alpha. If you are interested in persistent distributed Ruby objects, give it a try.

Quickstart

  1. Install MagLev with RVM:

    rvm install maglev

    (or follow the more detailed instructions).

  2. Setup your environment:

    export MAGLEV_HOME=<path_to_the_directory_containing_this_README>
    export PATH=$MAGLEV_HOME/bin:$PATH
  3. Start the MagLev server

    $ cd $MAGLEV_HOME
    $ rake maglev:start
  4. Check status of MagLev server

    $ cd $MAGLEV_HOME
    $ rake
    Status   Version    Owner    Pid   Port   Started     Type  Name
    ------- --------- --------- ----- ----- ------------ ------ ----
      OK    3.0.1     pmclain   33046 58301 Jul 19 12:31 Stone  maglev
      OK    3.0.1     pmclain   33047 58291 Jul 19 12:31 cache  maglev~d646de6d79d7b341

    If the server is not running, you'll see output like:

    $ rake
    gslist[Info]: No GemStone servers.
  5. Run some Ruby!

    $ maglev-ruby $MAGLEV_HOME/examples/hello_maglev.rb
    RUBY_VERSION:  1.8.7
    RUBY_ENGINE:   maglev
    Hello from MagLev

Then go play with the examples[examples] and read the documentation[docs] and further docs

License

Please see LICENSES.txt in this directory.

Something went wrong with that request. Please try again.