Did we run any performance tests on this one? What would be the impact of window length etc on the performance?
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
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
