[infinispan-dev] Add another dependency?

Pedro Ruivo pedro at infinispan.org
Mon Jul 1 09:37:47 EDT 2013


Hi all,

In Extended Statistic Pull Request [1] I'm using a library called Stream 
Lib [2] for probabilistic + space-efficient top-key (i.e. for each key, 
it keeps the number of accesses). It allows us to set a bound for the 
number of key to keep track (memory constrains) with the cost of some 
errors in counters. The key more frequently accessed have a more 
accurate counter than the less frequently accessed.

It is not too difficult to implement it, so the question here is: Can I 
add this dependency or it is better to implement it myself?

Regards,
Pedro

[1] https://github.com/infinispan/infinispan/pull/1938
[2] https://github.com/clearspring/stream-lib


More information about the infinispan-dev mailing list