<s>
Rinda	B-Operating_System
is	O
a	O
software	O
library	O
for	O
creating	O
modular	O
and	O
distributed	O
co-operating	O
services	O
in	O
Ruby	B-Language
using	O
the	O
tuple	B-Operating_System
space	I-Operating_System
or	O
Linda	B-Language
distributed	B-Architecture
computing	I-Architecture
paradigm	O
.	O
</s>
<s>
Based	O
on	O
a	O
source	O
code	O
initially	O
released	O
to	O
the	O
Ruby	B-Language
community	O
by	O
Masatoshi	O
SEKI	O
in	O
2000	O
,	O
Rinda	B-Operating_System
was	O
later	O
absorbed	O
into	O
Ruby	B-Language
's	O
core	O
distributed	B-Operating_System
Ruby	I-Operating_System
(	O
DRb	O
)	O
module	O
.	O
</s>
<s>
Rinda	B-Operating_System
has	O
been	O
distributed	O
as	O
part	O
of	O
the	O
core	O
Ruby	B-Language
library	O
since	O
Ruby	B-Language
1.8	O
.	O
</s>
<s>
Rinda	B-Operating_System
provides	O
a	O
framework	O
by	O
which	O
multiple	O
Ruby	B-Language
processes	O
(	O
which	O
or	O
may	O
not	O
be	O
running	O
on	O
the	O
same	O
machine	O
)	O
can	O
add	O
,	O
access	O
and	O
modify	O
tuples	B-Application
(	O
an	O
ordered	O
list	O
of	O
elements	O
)	O
stored	O
in	O
a	O
shared	O
data	O
repository	O
(	O
the	O
tuplespace	B-Operating_System
)	O
.	O
</s>
<s>
For	O
example	O
,	O
the	O
following	O
program	O
creates	O
a	O
new	O
Rinda	B-Operating_System
tuplespace	B-Operating_System
and	O
initializes	O
a	O
DRb	O
service	O
that	O
waits	O
for	O
requests	O
coming	O
over	O
the	O
network	O
.	O
</s>
<s>
Using	O
Rinda	B-Operating_System
,	O
other	O
applications	O
can	O
poll	O
the	O
tuplespace	B-Operating_System
for	O
tuples	B-Application
that	O
match	O
specific	O
criteria	O
.	O
</s>
<s>
For	O
example	O
,	O
the	O
program	O
below	O
connects	O
to	O
a	O
Rinda	B-Operating_System
service	O
and	O
listens	O
for	O
any	O
tuple	B-Application
composed	O
an	O
arithmetic	O
operator	O
followed	O
two	O
numbers	O
(	O
such	O
as	O
the	O
sequence	O
"	O
+	O
2	O
4	O
"	O
)	O
When	O
such	O
a	O
tuple	B-Application
is	O
discovered	O
the	O
program	O
computes	O
the	O
result	O
of	O
the	O
mathematical	O
operation	O
(	O
for	O
example	O
,	O
processing	O
"	O
+	O
2	O
4	O
"	O
into	O
"	O
6	O
"	O
)	O
and	O
stores	O
it	O
in	O
tuplespace	B-Operating_System
.	O
</s>
<s>
Finally	O
,	O
Rinda	B-Operating_System
applications	O
can	O
add	O
or	O
remove	O
tuples	B-Application
from	O
the	O
tuplespace	B-Operating_System
.	O
</s>
<s>
For	O
instance	O
,	O
the	O
following	O
program	O
posts	O
prefix	O
arithmetic	O
tuples	B-Application
to	O
the	O
tuplespace	B-Operating_System
and	O
reads	O
back	O
the	O
result	O
(	O
posted	O
by	O
the	O
program	O
above	O
)	O
.	O
</s>
