-
Pull from github:
git clone git://github.com/fabiokung/clustered-jruby.git
-
Long time waiting, because terracotta-2.7.1 (vanilla) and jruby-complete (patched) are bundled.
-
Change to the project directory:
cd clustered-jruby
-
Build it:
mvn install
(although
mvn package
is enough) -
Change to the jmaglev demo directory:
cd jmaglev
-
Start the terracotta server:
lib/terracotta-2.7.1/bin/start-tc-server.sh
-
Open another two terminals
-
Run the simplified jirb inside them:
cd clustered-jruby/jmaglev ./bin/jmaglev jmaglev.rb
-
Follow the demo. You will be able to share global variables among all jmaglevs:
require 'hat' $hat require 'rabbit' $hat.put(Rabbit.new)
-
in the other terminal, try to see the magic hat contents:
$hat
forked from fabiokung/clustered-jruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Cluster Configuration for JRuby, using Terracotta.
anbazhagan/clustered-jruby
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cluster Configuration for JRuby, using Terracotta.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published