Description
ns-server polls cbft every second for stats, and cbft in turn calls metakv to retrieve the latest indexDefs and planPIndexes... which can be expensive.
for stats, consider caching those for a bit (or until there's a runObserveChildren event/change) in order to hit ns-server/metakv less often.
Attachments
For Gerrit Dashboard: MB-18680 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
61404,2 | MB-18546, MB-18680 - ns-server stats-related defs caching | master | cbft | Status: MERGED | +2 | +1 |