A
Alexander Lamb
Hello,
I really tried to find some examples on Rinda. There is exactly one =20
page (727) in the programming Ruby book. So here is what I understood:
1.
Rinda is based on top of DRb
2.
With DRb, you can have clients notified of changes using observers (a =20=
class mixin I think)
3.
Rinda allows you to have a server of tuples.
4.
Rinda needs one Rinda service process, one tuplespace process and =20
then as many client processes as you want to connect to a tuplespace
5.
It seems rather simple to add tuples to the tuplespace then retrieve =20
them using patterns
6.
It "looks like" you can get notified, but how?
7.
It "looks like" you can set durations (validity) to tuples, but how?
What I miss here is:
An example of a tuplespace program (client and server) where:
- you can register (or unregister) as observer for a given pattern
- add or delete a tuple
- get notified of an addition or a deletion (either from timestamp =20
validity or because it has been deleted)
The idea is to have a tuplespace of all the status of the real time =20
monitoring we do of our systems. It can be simple pings, more =20
complexe HTTP/Get, etc... all this will be consolidated and we should =20=
be able to view "all the last situations on machine A" or "all the =20
probes giving an error", etc...
Many thanks,
Alex
--
Alexander Lamb
Service d'Informatique M=E9dicale
H=F4pitaux Universitaires de Gen=E8ve
(e-mail address removed)
+41 22 372 88 62
+41 79 420 79 73
I really tried to find some examples on Rinda. There is exactly one =20
page (727) in the programming Ruby book. So here is what I understood:
1.
Rinda is based on top of DRb
2.
With DRb, you can have clients notified of changes using observers (a =20=
class mixin I think)
3.
Rinda allows you to have a server of tuples.
4.
Rinda needs one Rinda service process, one tuplespace process and =20
then as many client processes as you want to connect to a tuplespace
5.
It seems rather simple to add tuples to the tuplespace then retrieve =20
them using patterns
6.
It "looks like" you can get notified, but how?
7.
It "looks like" you can set durations (validity) to tuples, but how?
What I miss here is:
An example of a tuplespace program (client and server) where:
- you can register (or unregister) as observer for a given pattern
- add or delete a tuple
- get notified of an addition or a deletion (either from timestamp =20
validity or because it has been deleted)
The idea is to have a tuplespace of all the status of the real time =20
monitoring we do of our systems. It can be simple pings, more =20
complexe HTTP/Get, etc... all this will be consolidated and we should =20=
be able to view "all the last situations on machine A" or "all the =20
probes giving an error", etc...
Many thanks,
Alex
--
Alexander Lamb
Service d'Informatique M=E9dicale
H=F4pitaux Universitaires de Gen=E8ve
(e-mail address removed)
+41 22 372 88 62
+41 79 420 79 73