next up previous contents
Next: Measuring the RTT Between Up: Problems to be addressed Previous: Security   Contents

Communication

Since this system is designed to be used on the Internet, TCP and UDP are the only practical choices of protocol be used at the transport layer2.5. However, there is also the problem of what protocol is to be used at the presentation layer in order to allow the transfer of high level data between nodes (servers and clients).

For the transport layer, TCP is the best choice since communication is going to be taking place across large distances and being able to rely on messages arriving intact and in order makes programming much easier[CS96].

At the presentation layer there were a number of options. The protocol has to be very flexible and extensible so it can easily be changed to incorporate new system features. Flexibility is also critical because if the system is to be running continuously, servers running different versions of the system must be able to co-exist with each other on the network. This is important because without any central control it would not be possible to say, ``at time x every server will switch over to the latest version'' so any upgrade will be incremental.

XML[Wal98] has all of these attributes, plus being very structured and human-readable (a feature that was very useful during testing and debugging). There also exist very good tools(see 2.3.2) for parsing XML. The main disadvantage of XML is its verbosity compared to plain text and binary formats. However, it is quite compressible and this penalty is well worth paying for the advantages described above. To reduce the amount of reformatting that must be done between accessing the database and sending data over the network, XML will also be used as the data format for the user information database held by the server.


next up previous contents
Next: Measuring the RTT Between Up: Problems to be addressed Previous: Security   Contents
Nathan Dimmock 2001-06-20