CardinalityEstimator

com.netflix.atlas.core.util.CardinalityEstimator
See theCardinalityEstimator companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Create a new estimator instance using the CPC algorithm.

Create a new estimator instance using the CPC algorithm.

Value parameters

lgK

Higher lgK means higher accuracy but higher space (2^lgK bytes), can be in range of [4,26]. For lgk=9, accuracy is more than 97% for SHA1 hashed tags.

Attributes

Returns

estimator instance