摘要 |
<p>The present invention relates to methods, systems, computer readable medium and a computer program product for measuring latency in computer systems, such as electronic trading systems. The method for measuring latency in a computer network system (10, 20) communicating with a plurality of clients (12a, 12b, 12c) by means of multicasting via a communication network (25), the system (10, 20) comprising a sending host (21) including a sending application (23) adapted to distribute messages to a receiving application (35) of a receiving host (22) of a client (12a, 12b, 12c), is characterized by the steps of: providing (40) a message to be sent from the sending application (23) to the receiving application (3) with a time stamp indicating the point of time the message was sent; transferring (42) the message together with the time stamp from a multicast framework (27) of the sending host (21) to a multicast framework (29) of the receiving host (22); extracting (44) the time stamp from the message when the message is received by a receiving application (35) of the receiving host (22); and comparing (46) the point of time indicated by the extracted time stamp with a current time of the receiving host (22) in order to calculate a latency for the message.</p> |