Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-21 Thread Isuru Perera
Hi IsuruR, As you said, please try to use Metrics feature. In Metrics, you can use a reporter [1] and it will periodically report metrics. [1] http://dropwizard.github.io/metrics/3.1.0/manual/core/#reporters On Tue, Dec 22, 2015 at 6:28 AM, Imesh Gunaratne wrote: > > > On Wed, Dec 16, 2015 at

Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-21 Thread Imesh Gunaratne
On Wed, Dec 16, 2015 at 12:38 PM, Isuru Ranawaka wrote: > > >- Data receiver needs to be Asynchronously collect the data without >blocking GW threads. > > What would be the approach we are planning to take here? Thanks > >- Latency Calculation Engine should be configurable (such as

Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-18 Thread Isuru Ranawaka
HI Nadeeshan, According to offline chat had with IsuruP carbon-metrics wrapped the [1] and we can use all the existing functionalities of [1] and there we can publish data via JMX . We need to check weather we can extend the functionality to update metrices per request based . (Timely based up

Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-17 Thread Isuru Perera
Yes. It's better if GW can use Carbon Metrics [1]. If there are missing features, we may be able to implement in Metrics. I had a discussion with ESB team before and there were some requirements, which could not be done with [1]. As I remember, they wanted per request metrics. Shall we have a meeti

Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-17 Thread Dinesh J Weerakkody
[Adding IsuruP] Can't we use existing metrics feature for this? Thanks *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com On Thu, Dec 17, 2015 at 2:18 PM, Nadeeshaan Gunasinghe wrote: > Hi all, > > At

Re: [Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-17 Thread Nadeeshaan Gunasinghe
Hi all, At the moment I am involved in implementing this feature. As the first step I am going to capture the raw metrics related data which we need to have in order to calculate the various latency values such as *Average throughput, Average Latency, Average Jitter of the connections, etc. *All t

[Architecture] Implementing Latency Metrics Calculation Feature in GW

2015-12-15 Thread Isuru Ranawaka
Hi all , We can include feature for Latency measurement of GW requests and other relevant parameters related to connections. I have came up with a initial architecture diagram of the module as below ​ - Each message going through GW should be able to store timestamps related to transport