210 likes | 379 Views
Team Lime. Adam Bazinet Hau San Si Tou. Agenda. Review of Concepts Characteristics of our TupleSpace Strategies for Application Development. Initial Concepts. Querying. Reply. TupleSpace. 3 fundamental elements: Field Tuple Tuple Space Field – has a type and a value
E N D
Team Lime • Adam Bazinet • Hau San Si Tou
Agenda • Review of Concepts • Characteristics of our TupleSpace • Strategies for Application Development
TupleSpace • 3 fundamental elements: • Field • Tuple • Tuple Space • Field – has a type and a value • Accessors: getType, getValue • Mutators: set, setActual, setFormal, setNullActual • isFormal, matches, toString
TupleSpace • Tuple – ordered sequence of typed fields • Accessors: get, getField • Mutators: set(Field field, int index) • Comparision: matches, matchField (private) • add, insertAt, removeAt, length, toString • Tuple Space • Accessors: getName, • Functions: ing, inp, out, outg, rdg, rdp • count, toString
Development • TupleChatApplication • Modified from the M2MChatApplication • Uses TupleSpaces and Probing • “Proof of Concept”
Development • TupleSketchApplication • Modified from the M2MSketchApplication • Uses TupleSpaces and Registered Reactions
Probing • A proactive method for retrieving data • Each node has a separate thread that constantly probes remote spaces
Reactions • Reaction: a pre-defined set of actions that will occur when a given operation is performed on a tuple space • Should be implemented at the tuple space level • registerReaction() • Takes in the unihandle and the type of reaction
Probing vs. Reactions • Major issues: • Flexibility • Efficiency • Adaptability • Bandwidth Consumption
Next Week • Summary from start to finish • Application Demo • Future Improvements