scylladb / scylla-jmx

Scylla JMX proxy
GNU Affero General Public License v3.0
29 stars 52 forks source link

JMX footprint work #136

Closed elcallio closed 4 years ago

elcallio commented 4 years ago

Fixes #133 Fixes #134 Refs #135

Makes CF mbean refresh code synchronized and tries to remove reductant calls if we contend. Adds background reaping of dead objects to reduce memory load in (test) scenarios where we manage to refresh to add, but not cause removal (i.e. no wildcard queries).

TableMetricsObjectName serialization is fixed in the series because without it we see loads of exceptions when refreshing the mbean set.

elcallio commented 4 years ago

Fixed the above notes.