JuxMEM and DIET

JuxMem (Juxtaposed Memory) is a peer-to-peer architecture developed by PARIS team which provides memory sharing service allowing peers to share memory data, and not only files (Note that from DIET view a memory sharing or a file sharing have similar behavior).

Overview of JuxMem design

JuxMEM overview

Figure 1: JuxMEM overview

The above figure shows the hierarchy of the entities defined in the architecture of JuxMem. This architecture is made up of a network of peer groups (cluster groups A, B and C), which generally correspond to clusters at the physical level. All the groups are inside a wider group which includes all the peers which run the service (the JuxMem group). Each cluster group consists of a set of nodes which provide memory for data storage. We will call these nodes providers. In each cluster group, a node is in charge of managing the memory made available by the providers of the group. This node is called cluster manager. Finally, a node which simply uses the service to allocate and/or access data blocks is called client. It should be stressed that a node may at the same time act as a cluster manager, a client, and a provider. However, each node only plays a single role in the example illustrated on the figure for the sake of clarity.When allocating memory, the client has to specify on how many clusters the data should be replicated, and on how many nodes in each cluster. This results into the instantiation of a set of data replicas. The allocation operation returns a global data ID. This ID can be used by other nodes in order to identify existing data. To obtain read and/or write access to a data block, the clients only need to use this ID. It is JuxMem’s responsibility to localize the data, and then perform the necessary data transfers.

Layers of a JuxMem peer

JuxMEM Peer Layers

Figure 2: JuxMEM Peer Layers

The above figure shows all the layers of a JuxMem peer (client, provider or cluster manager, that does not matter). The goal of the JuxMem core layer is to hide JXTA to upper layers, therefore making them independant of the P2P library used, and also to adapt JXTA to grid architectures. This layer is developped by Mathieu Jan. The goal of the self-organizing group and glue layer is to transparently allow consistency protocol to be fault-tolerant. This layer is developped by Sebastien Monnet. The consistency protocol layer implements consistency models available in JuxMem. Currently JuxMem implements an entry consistency model through a hierarchical consistency protocol developped by Jean-François Deverge.

 

Bindings

There is 2 bindings of JuxMem: a Java binding (JuxMem-J2SE) and a C binding (JuxMem-C). The Java binding implements all the entities of JuxMem, whereas the C binding fully implements only the client side of JuxMem (the full core layer of JuxMem is implemented in JuxMem-C but not higher level layers on the cluster manager and provider sides). So even if you want to use the C library of JuxMem, you need to deploy a JuxMem-J2SE network.

Questions about JuxMem can be directed to icon_email  juxmem-discuss@lists.gforge.inria.fr