Skip to content

A simple service that produces the sliding window average for a data stream

Notifications You must be signed in to change notification settings

OpenChirp/math-avg-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Math Average OpenChirp Service

Overview

This service applies a simple sliding window average.

Service Config

Key Name Key Description Key Example Is Required?
InputTopics Comma separated list of input topics temp,frequency Required
OutputTopics Comma separated list of corresponding output topics temp_avg, frequency_avg Optional
WindowSizes Comma separated list of corresponding window sizes 2, 4 Optional
(in number of samples) Optional

Design Decision

The decision has been made to allow producing startup averages with less than the specified window size in order to always give the user output. The alternative approach would have been to wait for the window to become full before we could generate our first averaged output.

About

A simple service that produces the sliding window average for a data stream

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published