SIP-based context distribution: Does aggregation pay off?
2010 (English)In: Computer communication review, ISSN 0146-4833, E-ISSN 1046-4833, Vol. 40, no 5, 35-46 p.Article in journal (Refereed) Published
Context-aware applications need quickly access to current context information, in order to adapt their behavior before this context changes. To achieve this, the context distribution mechanism has to timely discover context sources that can provide a particular context type, then acquire and distribute context information from these sources to the applications that requested this type of information. This paper reviews the state-of-the-art context distribution mechanisms according to identified requirements, then introduces a resource list-based subscription/notification mechanism for context sharing. This SIP-based mechanism enables subscriptions to a resource list containing URIs of multiple context sources that can provide the same context type and delivery of aggregated notifications containing context updates from each of these sources. Aggregation of context is thought to be important as it reduces the network traffic between entities involved in context distribution. However, it introduces an additional delay due to waiting for context updates and their aggregation. To investigate if this aggregation actually pays off, we measured and compared the time needed by an application to receive context updates after subscribing to a particular resource list (using RLS) versus after subscribing to each of the individual context sources (using SIMPLE) for different numbers of context sources. Our results show that RLS aggregation outperforms the SIMPLE presence mechanism with 3 or more context sources, regardless of their context updates size. Database performance was identified as a major bottleneck during aggregation, hence we used in-memory tables & prepared statements, leading to up to 57% database time improvement, resulting in a reduction of the aggregation time by up to 34%. With this reduction and an increase in context size, we pushed the aggregation payoff threshold closer to 2 context sources.
Place, publisher, year, edition, pages
2010. Vol. 40, no 5, 35-46 p.
Aggregation, Context distribution, RLS, SIMPLE, XCAP
Computer and Information Science
IdentifiersURN: urn:nbn:se:kth:diva-148940DOI: 10.1145/1880153.1880159ISI: 000284877800005ScopusID: 2-s2.0-84873688435OAI: oai:DiVA.org:kth-148940DiVA: diva2:738082
QC 201408152014-08-152014-08-142015-11-13Bibliographically approved