Skip to content
xr204Public

About

Streaming EWMA smoothing for metrics or prices — dependency-free.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Exponential moving average

We regard streaming EWMA as a smoothing primitive for metrics or prices that should stay free of external dependencies, because each added managed component increases on-call surface area without clear SLO gain. From a capacity-planning standpoint the memory per series is trivial, so self-hosting this logic on the platform avoids lock-in and keeps the patch burden on our team alone.

The TypeScript Ewma code relies solely on the standard library present in the runtime, meaning there is no service to provision or dependency to track in the supply chain.

ewma.ts

Run the TypeScript Ewma test located beside the implementation when you need concrete examples of the smoothing behavior under load.

About

Streaming EWMA smoothing for metrics or prices — dependency-free.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages