next up previous contents
Next: Problems to be addressed Up: Requirements Analysis Previous: Objectives   Contents

System Operation

Since any server represents a point of failure, a peer-to-peer solution appears to be an ideal method of obtaining high reliability. Unfortunately there are problems with node discovery, (particularly for those people using dynamically allocated IP addresses2.1) and mobility since all state would have to be stored by the client. Chatterbox[Bel] makes use of a UDP broadcast message with a small ``hops-to-live'' value to discover other nodes, but this is impractical when scaled beyond a small LAN. Therefore, it seems the client-server paradigm is necessary, but the problem of the server being a point of failure must be solved.

Looking at how existing (open) systems structure their network, the IM system Jabber[SA01] uses the e-mail analogy: every user has a single ``home'' server which they must log into in order to use the system. This removes the single point of failure for the whole network, but there is still a single point of failure for each user. Perhaps a closer analogy to what is required here is IRC (Internet Relay Chat). While most IRC servers stand alone, there is a protocol[RFC00] that allows multiple servers to be joined into a network. The key difference between IRC and IM is that in IRC all communication takes place in forums (called channels) that are hosted on the server. A user joins a channel and then communicates to all other users in that channel via the server. In contrast, IM communication is entirely peer-to-peer: the server is only used to ``introduce'' clients to each other and inform users of other users' current status.

Replicating the server around the Internet would offer the most flexibility and solve most of the problems described above. It is possible to imagine a network of servers such that a user may log into any one of them and use the system as normal. This fits well with the objectives since if there is a sufficient number of servers, the system will be reliable while at the same time offering greater availability than e-mail. If your e-mail server is down then you cannot access it, whereas with this system as long as one server is available then you can communicate.

Although the IRC-SERVER[RFC00] protocol is very similar to this system it suffers from a number of problems:

While using the IRC-SERVER protocol to form a network of IM servers would allow the authentication problem to be solved, netsplits would remain a serious problem. Due to the unreliable nature of the underlying network, it is impossible to prevent netsplits altogether, but the problem with IRC networks is that every connection must be manually initiated by the administrator (and the other end must be prepared to accept a connection from the initiator). The network would be much more reliable if it was dynamic, i.e. if one server goes down then the rest of the network compensates by forming appropriate new connections.

In order to obtain maximum reliability, a large number of widely distributed servers would be required. In order to cater for the needs of the LAN user described in section 2.1.1 each LAN would have its own server and the administration of such a large system would be a nightmare. The big problem is trust, since any server administrator could tamper with the network or a user's data. Having to thoroughly vet every person who wants to run a server would be close to impossible and certainly a serious hindrance to wide scale adoption of the system.

This problem can be solved by removing the necessity of trusting the server administrator. This is not an easy task as the administrator could replace the server program with one that sent out false messages or arbitrarily modify any locally stored data.

Figure 2.1: Overview of system operation
\includegraphics[width=\textwidth]{structure1.eps}


next up previous contents
Next: Problems to be addressed Up: Requirements Analysis Previous: Objectives   Contents
Nathan Dimmock 2001-06-20