Skip to Main content Skip to Navigation
Reports

First Class Futures: a Study of Update Strategies

Muhammad Uzair Khan 1 Ludovic Henrio 1
1 OASIS - Active objects, semantics, Internet and security
CRISAM - Inria Sophia Antipolis - Méditerranée , Laboratoire I3S - COMRED - COMmunications, Réseaux, systèmes Embarqués et Distribués
Abstract : Futures enable an efficient and easy to use programming paradigm for distributed applications. A natural way to benefit from distribution is to perform asynchronous invocations to methods or services. Upon invocation, a request is en-queued at the destination side and the caller can continue its execution. But a question remains: ``what if one wants to manipulate the result of an asynchronous invocation?'' First-class futures provide a transparent and easy-to-program answer: a future acts as the placeholder for the result of an asynchronous invocation and can be safely transmitted between processes while its result is not needed. Synchronization occurs automatically upon an access requiring the result. As references to futures disseminate, a strategy is necessary to propagate the result of each request to the processes that need it. This report studies the efficient transmission of results: it presents three main strategies in a semi-formal manner, and provides a cost analysis with some experiments to determine the efficiency of each strategy.
Document type :
Reports
Complete list of metadata

Cited literature [16 references]  Display  Hide  Download

https://hal.inria.fr/inria-00435573
Contributor : Muhammad Uzair Khan <>
Submitted on : Tuesday, November 24, 2009 - 4:11:15 PM
Last modification on : Wednesday, October 14, 2020 - 4:24:18 AM
Long-term archiving on: : Tuesday, October 16, 2012 - 2:46:26 PM

File

RR-7113.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00435573, version 1

Collections

Citation

Muhammad Uzair Khan, Ludovic Henrio. First Class Futures: a Study of Update Strategies. [Research Report] RR-7113, INRIA. 2009. ⟨inria-00435573⟩

Share

Metrics

Record views

473

Files downloads

169