Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Version finale
[gpc2011.git] / xwch.tex
1 %------------------------------------
2 % The XtremWeb-CH environment
3 %------------------------------------
4 XtremWeb-CH (XWCH) is a volunteer computing inspired, large-scale
5 computing platform for distributed applications. It consists of three
6 components: one coordinator, a set of workers and at least one
7 warehouse. Client programs use these components.
8
9 The coordinator is the main component of the XWCH platform. It
10 controls user access and schedules jobs to workers. It provides a web
11 interface for managing jobs and users, and a set of web
12 services. These are user service and worker/warehouse services
13 implemented using WSDL (Web Service Description Language)
14 \cite{WebServ2002}, that simplifies client development for languages
15 that support it (and most popular programming languages do).
16
17 A worker is a Java daemon that runs on the user machine. Assumed to be
18 volatile, the workers report periodically themselves to the
19 coordinator, accept jobs, retrieve input, compute jobs, and store the
20 results of the computation on warehouses. If the coordinator does not
21 receive a signal from a worker, it will simply remove it from the
22 scheduling list, and if a job had been assigned to that worker, it
23 will be re-assigned to another one. A schema of the architecture is
24 shown in Figure \ref{xwch}.
25
26 \begin{figure}[htp]
27 \label{xwch}
28  \begin{centering}
29     \includegraphics [scale=0.2]{figures/xwcharchitecture.pdf}
30     \caption{The XtremWeb-CH architecture}
31  \end{centering}
32 \end{figure}
33
34 A warehouse is a file server that acts as a data storage system for
35 workers and client programs. Workers may not necessarily be able to
36 communicate directly with each others, due to firewalls and NAT
37 sub-networks. For these reasons, warehouses are used as intermediaries
38 to exchange, store and retrieve data.
39
40 Job submission is done by a client program which is written using a
41 flexible API, available for Java and C/C++ programs. The client
42 program runs on a “client node” and calls the user services to submit
43 jobs (Figure \ref{xwch}, (1)). The main flexibility provided by the use of this
44 architecture is to control and generate dynamically jobs especially
45 when their number cannot be known in advance. Communications between
46 the coordinator and the workers are always initiated by the workers
47 following a pull model (Figure \ref{xwch}, (2)):
48 \begin{itemize}
49 \item Workers receive jobs (Figure \ref{xwch}, (3)) only if they send a “work
50   request” signal;
51 \item When a worker finishes its job, it stores its output file on
52   a warehouse and sends a “work result” signal to the coordinator;
53 \item During its execution, a worker (respectively warehouse)
54   periodically sends “work alive” to the worker service (respectively
55   warehouse service) to report itself to the coordinator.
56 \end{itemize}
57
58 As a whole, XWCH is easy to install, maintain and use. Its components
59 are programmed mainly using Java, and their process memory sizes in a
60 typical 32-bit GNU/Linux computer are:
61 \begin{itemize}
62  \item Coordinator 190 MB including the Glassfish Java container;
63  \item Worker 40 MB;
64  \item Warehouse 80 MB.
65 \end{itemize}
66  
67 Experiments presented in \cite{ccgridpaper} show that the
68 performance of XWCH is comparable with Condor \cite{Condor1988},
69 another non-intrusive computing system that has similar functionality
70 but is somewhat more difficult to install.
71
72 The main characteristics of the new version of XWCH, compared to
73 previous ones, are: dynamic job generation, flexible data sharing
74 (data replication) and persistent jobs. These features are presented
75 in \cite{VEZGrid} and will not be detailed in this paper.