Hi Malith,

Please find my replies in line.

On Wed, Jun 14, 2017 at 4:17 PM, Malith Jayasinghe <[email protected]> wrote:

> Did we run any performance tests on this one?
>

I haven't done any performance tests on the extension yet.

What would be the impact of window length etc on the performance?
>

The implementation of the extension is such that, it returns the median for
each event arrival and expiry. So, it is not recommended to use for large
window sizes.


>
> On Tue, Jun 13, 2017 at 10:43 AM, Nihla Akram <[email protected]> wrote:
>
>> Hello All,
>>
>> We are developing a median extension for siddhi. Median is the middle
>> number in a sorted list of numbers.
>>
>> Here, we implement a simple extension to return the median. The
>> implementation uses AttributeAggregator as the base class and values are
>> aggregated over the specified window to give the median. In the case of
>> having two middle numbers, the extension gives the average of the two as
>> the median.
>>
>> Supported data types
>>
>> Int, Double, Long, Float
>>
>> Return data type
>>
>> Double
>>
>>
>>
>> The median extension can be used for any given window implementation i.e.
>> sliding time, time batch, external time and sliding length and length batch.
>>
>> Thanks,
>> Nihla
>>
>> --
>> *Nihla Akram*
>> Software Engineering Intern
>>
>> +94 72 667 9482 <%2B94%2072%6679482>
>>
>>
>
>
> --
> Malith Jayasinghe
>
> WSO2, Inc. (http://wso2.com)
> Email   :[email protected]
> Mobile :0770704040
> Blog     :https://medium.com/@malith.jayasinghe
> <https://medium.com/@malith.jayasinghe>
> Lean . Enterprise . Middleware
>



-- 
*Nihla Akram*
Software Engineering Intern

+94 72 667 9482 <%2B94%2072%6679482>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to