There needs to be a way to lookup a specific distributed service
Reported by Mark Bates | August 8th, 2008 @ 02:59 PM | in 0.7.0
Sometimes there might be two services posted to the ring server with the same name, but different hosts, like such:
Mack::Distributed::Utils::Rinda.register_or_renew(:space => :app_1, :klass_def => :Test, :object => "Hello World!")
Mack::Distributed::Utils::Rinda.register_or_renew(:space => :app_2, :klass_def => :Test, :object => "Hello WORLD!")
There should be a way to look them up:
Mack::Distributed.lookup("distributed://app_1/Test") # => "Hello World!"
Mack::Distributed.lookup("distributed://app_2/Test") # => "Hello WORLD!"
Comments and changes to this ticket
-

Mark Bates August 8th, 2008 @ 02:59 PM
- → State changed from new to open
-

Mark Bates August 8th, 2008 @ 03:02 PM
- → State changed from open to resolved
(from [ff5a4840acee04952c3c422f72f7dd2507b55e8d]) Added lookup method to Mack::Distributed. [#84 state:resolved] http://github.com/markbates/mack...
-

Mark Bates August 8th, 2008 @ 03:03 PM
(from [e773d47ce14b37d1bb8dded88c3944328fb2f8e0]) Updated CHANGELOG [#84] http://github.com/markbates/mack...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Mack is a Ruby web application framework focused on writing distributed, portal-like, applications. it's built on best of breed technologies, such as Rack, Cachetastic, and DataMapper.
People watching this ticket
Tags
Referenced by
-
#84 There needs to be a way to lookup a specific distributed service
(from [ff5a4840acee04952c3c422f72f7dd2507b55e8d]) Added l...
-
#84 There needs to be a way to lookup a specific distributed service
(from [e773d47ce14b37d1bb8dded88c3944328fb2f8e0]) Updated...