Tuesday, March 17, 2009

The starting point

It has been a long journey to get where I'm now, the beginning of the "last mile" to complete my PhD thesis.

In this first post, I want to describe what the starting point of this journey is and how it looks the the road ahead. So far I have define in a very precise way the objective of my theses, I have a road map to completion and I have all the necessary tools.

The objective is to develop a set of abstractions and its realization in a framework to support self-adaptive distributed computations using an application-driven overlay level adaptation. Let's dissect this in parts.

A distributed computation is a set of components distributed over a set of network nodes, which communicate to achieve a common goal. One simple example is a group of tasks that form a parallel job, which process a group of datasets to produce a result, much like a MapReduce process.

The overlay is the logical communication topology and the communication protocols used to communicate the components of the distributed computation. The topology determines the (potentially dynamic) location of each component in the network and the "neighbors" or preferred nodes to communicate with. The protocols define how information flows across the topology.

The idea is that this overlay's topology adapts to the requirements of the distributed computation expressed as a metric (for example, the throughput) using an application supplied function that evaluates alternatives and gives a valuation based on some application specific criteria (for example, prefer fast processors, but maintain tasks that share some data close) .

The key challenge here is to find a generic set of abstractions and algorithms that allows such adaptation in general cases. So far this has been achieved either in very particular cases (for example, key based routing in a DHT) or using hand crafted solutions that are not easy to generalize.

I have already come to a set of basic abstractions, which are the Collectives framework and its Application Aware Adaptive Overlay (A3O). the framework is implemented in a 80% (the thoughtest part, corresponding to the overlay).

The roadmap to completion can be summarize as
  1. Prove the generality of the A3O's concepts by applying it to diverse scenarios. The key based routing is done. I'm considering alternatives, like semantic search using bloom filters and a gradient information collection for sensor networks.
  2. Apply the Collectives+A3O to address two specific cases of distributed computation: bag of tasks (large groups of independent tasks) and parallel jobs that have dependencies and also share data.
  3. Wrap this all in the final publication/theses.
To help me in doing so, I have developed a powerful simulation framework to speed up the definition and execution of experiments. I just validated the bold idea reproducing a self-adaptive routing algorithm in this simulator and it took me a couple of days, including the debugging of the framework itself.

From this point on, I'll be keeping a record of my progress (or lack of, thereof), troubles I found, solutions, side-ideas, my "internal weather" report (a.k.a emotional state) and insights about both my theses' subject and the process of completing it.

I leave this trace mostly to myself, but I hope others enjoy it and found it interesting.

The long walk of the last mile beings.

No comments:

Post a Comment