Current Parameters of the Protocol and Concluding Remarks
Current Parameters of the Protocol
In the initial implementation, the TIP sends its accumulated accounting data about once every half hour. If it gets no positive acknowledgement, it tries to send with greater frequency (about every 5 minutes) until it finally succeeds. It can then return to the normal waiting period. (A TIP user logout introduces an exception to this behavior. In order to re-use the TIP port and its associated counters as soon as possible, a user terminating his TIP session causes the accounting data to be sent immediately). initially, our implementation calls for each TIP to remember a "favored" accounting server. At the wait period expiration, the TIP will try to deposit the data at its "favored" site. If successful within a short timeout period, this site remains the favored site, and the wait interval is reset. If unsuccessful within the short timeout, the data can be sent to all servers*. The one replying first will update its file with the data and also become the "favored" server for this TIP. With these parameters, a host would have to undergo a proceedable service interruption of more than a year in order for the potential sequence number problem outlined in (6) above to occur.
Concluding Remarks
When the implementation is complete, we will have a general data accumulation and collection system which can be used to gather a wide variety of information. The protocol as outlined is geared to gathering data which is either independent of the previously accumulated data items (e.g. recording names), or data which adheres to a commutative relationship (e.g. counting). This is a consequence of the policy of retransmission of different versions of the data to different potential collectors (to relieve TIP buffering problems).
In the specified version of the protocol, care was taken to avoid duplicate data entries, at the cost of possibly losing some data through collector malfunction. Data collection problems which require avoiding such loss (at the cost of possible duplication of some data items) can easily be accommodated with a slight adjustment to the protocol. Collected data which does not adhere to the commutative relationship indicated above, can also be handled by utilizing more buffer space at the data generator sites.
The sequence number can be incremented for this new set of data messages, and the new data can also be sent to the slow host. In this way we won't be giving the tardy response from the old favored host unfair advantage in determining which server can respond most quickly. If there is no reply to this series of messages, the TIP can continue to resend the new data. However, the sequence number should not be incremented, since no reply was received, and since indiscriminate incrementing of the sequence number increases the chance of recycling during the lifetime of a message.