<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://ss7api.null.ro/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ss7api.null.ro/index.php?action=history&amp;feed=atom&amp;title=Diameter_Latency_determination</id>
		<title>Diameter Latency determination - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ss7api.null.ro/index.php?action=history&amp;feed=atom&amp;title=Diameter_Latency_determination"/>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php?title=Diameter_Latency_determination&amp;action=history"/>
		<updated>2026-04-27T18:01:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>https://ss7api.null.ro/index.php?title=Diameter_Latency_determination&amp;diff=558&amp;oldid=prev</id>
		<title>Oana: Created page with &quot;The purpose of latency determination is to estimate how much time takes for a message to be processed by a Diameter application.  The xml_tcp module computes average applicati...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php?title=Diameter_Latency_determination&amp;diff=558&amp;oldid=prev"/>
				<updated>2016-09-09T14:37:17Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;The purpose of latency determination is to estimate how much time takes for a message to be processed by a Diameter application.  The xml_tcp module computes average applicati...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The purpose of latency determination is to estimate how much time takes for a message to be processed by a Diameter application.&lt;br /&gt;
&lt;br /&gt;
The xml_tcp module computes average application processing latency by handling timestamps from messages exchanged on that connection.&lt;br /&gt;
* Each message sent by the module can be timestamped with the server's current time&lt;br /&gt;
* Application copies the timestamp from the received XML to the one it responds with&lt;br /&gt;
* If the module receives a timestamp it will compute the difference from the current time and adjust average latency&lt;br /&gt;
&lt;br /&gt;
The timestamps need to be enabled in the xml_tcp.conf module. This can be done per Diameter listener&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
    [listener s6a]&lt;br /&gt;
    type=diameter&lt;br /&gt;
    ...&lt;br /&gt;
    add-timestamp=yes&lt;br /&gt;
&lt;br /&gt;
If enabled the timestamps are added in their own XML element named timestamp-send:&lt;br /&gt;
    &amp;lt;m&amp;gt;&lt;br /&gt;
        &amp;lt;timestamp-send&amp;gt;1377071763411706&amp;lt;/timestamp-send&amp;gt;&lt;br /&gt;
        ...&lt;br /&gt;
    &amp;lt;/m&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The application is supposed to copy the received timestamp to the response in a timestamp-recv element:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;m&amp;gt;&lt;br /&gt;
        &amp;lt;timestamp-recv&amp;gt;1377071763411706&amp;lt;/timestamp-recv&amp;gt;&lt;br /&gt;
        ...&lt;br /&gt;
    &amp;lt;/m&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These are exposed through the status of the xml_tcp module.&lt;/div&gt;</summary>
		<author><name>Oana</name></author>	</entry>

	</feed>