Submitted by Sen Zhang
This image was created using online mockup tool Moqups.Linda Tuple Space is a distributed P2P system to provide a conceptually “global” tuple space which the remote process can access the matched tuples in tuple space.
- Concurrency
- Scalability
- Fault tolerance
- Transparency
- Write the tuple into the tuple space
linda> out (<item> [<item>, <item> ...])
- Read the tuple from the tuple space
linda> rd (<item> [<item>, <item> ...])
- Read the tuple with type match from the tuple space
linda> rd (<?<var>:<type>> [<item>, <item> ...])
- Delete the tuple from the tuple space
linda> in (<item> [<item>, <item> ...])
- Delete the tuple with type match from the tuple space
linda> in (<?<var>:<type>> [<item>, <item> ...])
- Bootup/reboot the node
$ java P2 <hostName>
- Add the nodes into the tuple space
linda> add (<hostName>, <iPAddress>, <portNum>) [(<hostName>, <iPAddress>, <portNum>) ...]
- Delete the nodes from the tuple space
linda> delete (<hostName> [, <hostName>, <hostName>])
Copyright 2017 Sen Zhang