Priyesh K created HDDS-13845:
--------------------------------

             Summary: Introduce caching layer at Recon for consolidated 
capacity distribution data 
                 Key: HDDS-13845
                 URL: https://issues.apache.org/jira/browse/HDDS-13845
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Recon
            Reporter: Priyesh K
            Assignee: Priyesh K


To improve performance and reduce frequent DN endpoint calls, SCM calls and OM 
db reads and introduce a caching layer in Recon to store consolidated capacity 
distribution data.
This cache will hold precomputed storage metrics such as total used space, free 
space, capacity, and per-datanode distribution.

The cache should be periodically refreshed based on a configurable interval or 
triggered by data updates.
Recon APIs serving capacity distribution details should first check the cache 
before querying the underlying data store.

*Goals:*
 * Reduce call to DN endpoints, SCM and OM db hits and API latency.

 * Improve responsiveness of capacity distribution dashboard.

 * Ensure data consistency with periodic refresh or event-based updates.

*Acceptance Criteria:*
 * A caching layer implemented for consolidated capacity distribution data.

 * Configurable cache refresh interval.

 * APIs read from cache instead of direct DB calls.

 * Metrics/logs added to monitor cache hit/miss ratio.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to