Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Distributed Remote Futures

Distributed programming: Simple, efficient and very fast.

<!-- [![Build Status](]( -->


The project "DistributedRemoteFutures" provides a programming model that seamlessly integrates additional cloud computing resources
but without tampering with distributed models and code. It does so by extending Scala's Futures towards a remote execution for simply
adding more computational power according to changing demand. In the end, distributed remote futures allow you:

  • simple and efficient distributed execution
  • very fast to program
  • easy to maintain.

Mailing list!forum/remotefutures

Project website

Usage and syntax

A simple future that is executed remotely

val rf: Future[String] = Remote {
  Future {"asdf"}

A simple future that is executed remotely and then mapped locally

val rf : Future[Int] = Remote {
  Future {"asdf"}
}.map( x => x.length )

A simple future that is executed remotely and then mapped remotely

val rf : Future[Int] = Remote {
  Future {"asdf"}.map( x => x.length )

Two simple futures, both executed remotely, but joined locally

val rf1 = Remote { Future { "asdf" }}
val rf2 = Remote { Future { "ghjk" }}

val lf : Future[String] = for {
  v1 <- rf1
  v2 <- rf2
} yield v1 + v2

A collection that executes the map function remotely

// setup input list to compute Fibonacci numbers for
val xs: List[Long] = (1000000 to (1000000 + 1000)).toList

// type of fs is List[Future[BigInt]]
val fs = Remote(x => Future{FibonacciComputations.fibBigInt(x)}) )

val r: Future[List[BigInt]] = Future sequence (fs)

More examples are in the repo


Futures are the abstraction of asynchronous execution of code, whose result will be eventually available.

The main purpose of this project is to extend the execution context of futures to gain advantage from the computational power of remote nodes.
Instead of using the local machine's capabilities only, the execution of futures is extended towards a distributed system
while still fulfilling a concise, but not intrusive syntax and programming model.

Thus, extending this context of execution yields substantial gain in execution speed and performance
by the extension to nodes of a distributed system, without introducing more complexity from the developer's perspective.


1) JDK 7 Download

2) SBT 0.13 [Download] (

3) Scala 2.10 / 2.11 [Download] (

Getting started

git clone
sbt compile




This software is licensed under the Apache 2 license.

Docker Pull Command