oracle / coherence

Oracle Coherence Community Edition
https://coherence.community
Universal Permissive License v1.0
426 stars 70 forks source link

Is there a function to obtain hotkeys implemented #110

Open lvchongyi opened 1 year ago

lvchongyi commented 1 year ago

Is there a function to obtain hotkeys implemented

thegridman commented 1 year ago

That question does not make much sense. What do you mean by "obtain hotkeys implemented". Normally in Coherence a "hot key" refers to a key for an entry in a cache that is accessed far more often than the other entries in the cache, which then puts far more load on the cluster member that owns that key than the other members of the cluster. Is that what you are talking about? If you are then there is no API for this, Coherence does not keep access statistics for each entry.

thegridman commented 1 year ago

There are APIs in Coherence that you could use to implement this yourself though. It depends what exactly you are looking for,

rstafford commented 6 months ago

See https://medium.com/oracle-coherence/how-to-get-the-top-n-most-accessed-keys-in-a-coherence-cache-07113b591f4e