franz1981 commented on issue #2730: ARTEMIS-2399 Fix performance degradation when there are a lot of subscribers URL: https://github.com/apache/activemq-artemis/pull/2730#issuecomment-505880494 > For the created page reference, we can record the file offset which can be used to seek and read file if message is removed by gc. But for the message not yet depaged or not committed in a page transaction, how do we read message and create reference just according to page number and message number? I need to look better how paging works to answer on this :) Looking just at your question I can tell that we need something like this: https://github.com/real-logic/agrona/blob/master/agrona/src/main/java/org/agrona/collections/BiInt2ObjectMap.java If we care about memory footprint, but I believe there must be a way to make it simpler too
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
