You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
版本:4.9.8
你好!我在学习MessageStore这部分的代码,在看到accessMessageInMemoryMaxRatio这个配置的时候有一些疑惑,从命名和我查阅的一些信息中都说明这个参数的作用是设置机器物理内存中能用于存储消息的最大百分比,默认Master为40,Broker为30,超过这个阈值的数据会被置换到磁盘。我确认了DefaultMessageStore、CommitLog和MappedFile都没有引用这个配置项,我想知道RocketMQ是如何被保证内存中的消息数据不会超过这个比例的以及默认值40的设置依据是什么?
Beta Was this translation helpful? Give feedback.
All reactions