Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route_sender: replace min/max with TDigests #351

Merged
merged 1 commit into from
Oct 30, 2018
Merged

route_sender: replace min/max with TDigests #351

merged 1 commit into from
Oct 30, 2018

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Oct 30, 2018

https://github.com/tdunning/t-digest

A new data structure for accurate on-line accumulation of rank-based
statistics such as quantiles and trimmed means. The t-digest algorithm is also
very parallel friendly making it useful in map-reduce and parallel streaming
applications.

This introduces a few new dependencies:

tdigest (https://github.com/castle/tdigest)
|__rbtree (https://rubygems.org/gems/rbtree)

I am locking the tdigest dependency because it doesn't seem to follow
semver. It also is not in active development, so a sudden minor bump may break
Airbrake Ruby for a lot of customers. This is especially true since we
monkey-patch the class to pack tdigests how we need.

https://github.com/tdunning/t-digest

> A new data structure for accurate on-line accumulation of rank-based
> statistics such as quantiles and trimmed means. The t-digest algorithm is also
> very parallel friendly making it useful in map-reduce and parallel streaming
> applications.

This introduces a few new dependencies:

tdigest (https://github.com/castle/tdigest)
|__rbtree (https://rubygems.org/gems/rbtree)

I am locking the `tdigest` dependency because it doesn't seem to follow
semver. It also is not in active development, so a sudden minor bump may break
Airbrake Ruby for a lot of customers. This is especially true since we
monkey-patch the class to pack tdigests how we need.
@kyrylo kyrylo merged commit b6d1e60 into master Oct 30, 2018
@kyrylo kyrylo deleted the tdigests branch October 30, 2018 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant