Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Current state: Under Discussion

Discussion thread:

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-15541

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Public Interfaces

New Metrics

NameTypeScopeDescription
number-open-iteratorsValuestream-state-metricsThe current number of Iterators on the store that have been created, but not yet closed.
iterator-duration-avgAveragestream-state-metricsThe average time spent between creating an Iterator and closing it, in milliseconds.
iterator-duration-totalTotalstream-state-metricsThe total time spent between creating Iterators and closing them, in milliseconds.

Proposed Changes

The number-open-iterators metric will periodically record the difference between the NO_ITERATOR_CREATED and NO_ITERATOR_DELETED RocksDB Tickers. This value is likely to be non-zero in any application that heavily uses Iterators, even if they're being used properly and are not a performance concern. Users would want to monitor this metric and take action if:

...