Significance of absolute accurate used_memory
?
#467
Labels
major-decision-pending
Major decision pending by TSC team
used_memory
?
#467
The problem/use-case that the feature addresses
Currently, when call the zmalloc/zfree related functions, it will call the zmalloc_size and atomic operations to update
used_memory
, these are all costly operations, is it worth to put such expensive operation in a frequently low API?Some pull requests are submitted to optimize for such kind of this issue.
#308
#453
Alternatives you've considered
Maybe we can consider to remove the absolute accurate property of
used_memory
to trade off between the performance?The text was updated successfully, but these errors were encountered: