I thought about defaulting read-whole-page to false could make existing tests cover for new added lines of code. I didn't consider the implications of it.
There is a tradeoff between the use of this feature for performance gain in case of many subscribers, and the increasing off-heap memory and page file handles. But what you've said makes sense to me. I agree with your suggestions. nigro_franz <[email protected]> 于2020年3月21日周六 下午11:26写道: > After reading > > http://activemq.2283324.n4.nabble.com/Improve-paging-performance-when-there-are-lots-of-subscribers-td4751333.html > of Wei Yang I'm not 100% sure that defaulting read-whole-page is a good > idea > although I'm concerned about the existing off-heap memory implications of > it > for users. Any ideas/exprience in production with this feature on? > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html >
