Hi all,
It has been a requirement to implement a feature for keeping track of the
various types of latency metrics in WSO2 GW. At the moment I am involved in
implementing this latency metrics calculation feature according to the
architecture proposed at [1].
As the first step I am capturing the raw data required for calculating
various latency values. These raw data being collected as follows at the
moment,

*Server Side*

   - Source Connection Creation time
   - Source Connection life time
   - Request header read time
   - Request body read time
   - Request read time


*Client Side*

   - Client connection creation time
   - Client Connection life time
   - Response header read time
   - Response body read time
   - Response read time


I am going to keep track of these raw data and then transport these data
through the carbon message, as the initial step. Then a latency calculation
engine is going to be implemented to calculate the various types of latency
values such as,

   - Average Throughput of a connection
   - Average Latency of a connection
   - Average jitter of a connection
   - Message build time
   - Message encoding time
   - Message mediation time
   - etc

Then a data publisher component is going to be implemented for publishing
data to  JMX and DAS.

During the implementation additional raw data will be needed to be captured
according to the type of metrics we are going to calculate. In such
situation, will update with the latest status and findings.

[1] [Architecture] Implementing Latency Metrics Calculation Feature in GW

Regards

*Nadeeshaan Gunasinghe*
Software Engineer, WSO2 Inc. http://wso2.com
+94770596754 | [email protected] | Skype: nadeeshaan.gunasinghe <#>
<http://www.facebook.com/nadeeshaan.gunasinghe>
<http://lk.linkedin.com/in/nadeeshaan>  <http://twitter.com/Nadeeshaan>
<http://nadeeshaan.blogspot.com/>
Get a signature like this: Click here!
<http://ws-promos.appspot.com/r?rdata=eyJydXJsIjogImh0dHA6Ly93d3cud2lzZXN0YW1wLmNvbS9lbWFpbC1pbnN0YWxsP3dzX25jaWQ9NjcyMjk0MDA4JnV0bV9zb3VyY2U9ZXh0ZW5zaW9uJnV0bV9tZWRpdW09ZW1haWwmdXRtX2NhbXBhaWduPXByb21vXzU3MzI1Njg1NDg3Njk3OTIiLCAiZSI6ICI1NzMyNTY4NTQ4NzY5NzkyIn0=>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to