180 likes | 311 Views
Fakultät Informatik, Institut für Systemarchitektur, Professeur Rechnernetze. A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices. Mobilis Project. Jordan Janeiro jordan.janeiro@tu-dresden.de. Agenda. Motivation Goals Moratus SACS Evaluation
E N D
Fakultät Informatik, Institut für Systemarchitektur, Professeur Rechnernetze A Middleware Service for Coordinated Adaptation of Communication Servicesin Groups of Devices Mobilis Project Jordan Janeiro jordan.janeiro@tu-dresden.de
Agenda • Motivation • Goals • Moratus • SACS • Evaluation • Future Work
Motivation • In ubiquitouscomputing, contextinformationisimportanttoexecutedynamicadaptations • Bandwidth rate isconsideredascontext (localcontext) • Low transmissionrates -> Bettermessagecompressionservice • A deviceadaptationisbased on ist context • In a groupcommunication, toassumetheoverallgroupcontextmaybesuitable • Collaborative applications • Co-editionofPresentations
Goals • Determination of the overall group context • Global Context • Adaptation of communication services in all group members
Related Work • Graceful Adaptation Protocol • Does not tolerante disconnection • Ensemble • Not transparent adaptation • NeCoMan • Does not tolerante disconnection • Pair-to-Pair Adaptation
Moratus • Protocol forcoordinatedserviceadaptation, among mobile groupmembers, based on global context • Communication servicesarecalled Message Transformation Services (MTS) • Optimizewirelessgroupcommunication • Compressionandsegmentation • Divided in 2 modules: • Encoder and Decoder • Assumes a reliablegroupcommunicationservice • Jgroups • Divide in 2 steps: • Global contextelection • Coordinatedadaptation
Global Context Election • Anycontext variable mightbeused • RSSI in thiscase • Starts upon a significantcontextvariation • RSSI valueranges • Different global contextcalculationsmightbeimplemented • Mean, lowervalueandhighestvalue • Handle devicedisconnection • Contextofdeviceis not considered
Global Context Calculated Global Context Calculated Global Context Election Global Context Calculated Global Context Calculated
Global Context Calculated Global Context Election - Disconnection Global Context Calculated Global Context Calculated
Coordinated Adaptation • Divided in 4 stepstoallow transparent adaptation: • Service installation • Activationofnewdecoder • Activationofnewencoder • Deactivationoftheolddecoder • Oneofthegroupdevicescoordinatestheprocess • Handle devicedisconnection
Service Instaled Service Instaled Coordinated Adaptation New Decoder Activated New Decoder Activated Group is ready to start the adaptation Service Instaled Install Service Activate New Decoder Coordinator New Decoder Activated
Service for Coordinated Service Adaptation • Used by distributed applications • Transparent communication
Communication Service • The use of Jgroups middleware • Proposes a protocol stack • Allows reliable group communication • NACKACK protocol • Disconnection handling • FAILURE_DETECTOR protocol • Heartbeat message • Helps to refreshs list of group members
Evaluation • Scalability tests • Executed in a cluster with 30 machines • Groups of 5, 10, 15, 20, 25 and 30 elements
Conclusion • Development ofMoratusprotocol • Adaptation based on thegroupcontext • Executionofcoodinatedadaptation • ImplementationofMoratusas a middlewareservice • Applicationsusethemiddlewaretransparently • LimitationsusingJgroups in wirelessnetworks • Constant delaysforprotocolconvergence
Future Work • Detecttheconsumptionof all messagesbeforeconcludingthecoordinatedadaptation • Try toavoidconsecutiveandunnecessaryadaptations • Calculate global contextconsidering multiple variables • Battery, bandwidthandprocessing
Discussion • Questions? • Comments? jordan.janeiro@tu-dresden.de