You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/01/17 10:28:19 UTC
[GitHub] [activemq-artemis] franz1981 opened a new pull request #2944:
ARTEMIS-2602 Improve Journal loading heap usage
franz1981 opened a new pull request #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 commented on issue #2944: ARTEMIS-2602
Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575685732
@michaelandrepearce
I'm producing a journal to show the improvement :)
I like the "nice pretty part" :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 edited a comment on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 edited a comment on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575569797
@clebertsuconic @michaelandrepearce `LongHashSet` is a porting of https://github.com/real-logic/agrona/blob/master/agrona/src/main/java/org/agrona/collections/IntHashSet.java (and the tests too). Please rsuggest me the better way to deal this this :)
And I see that `AbstractJournalStorageManager::loadMessageJournal` needs some love 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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] asfgit closed pull request #2944: ARTEMIS-2602
Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] michaelpearce-gain commented on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
michaelpearce-gain commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575677832
@franz1981 i would add the lib as a library as its avaiable as a fair small jar in maven with not much dependency, the main reasons we didnt do that with the bookeeper one was it wasn;t nicely seperated code, also we had to make some fixes
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] michaelandrepearce commented on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
michaelandrepearce commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575683936
ah ok, gotcha i missed its not a copy, but a modifcation to use long. tbh lgtm then. as long as theres maybe a small comment in the code giving reference to original source of the idea, e.g. give credit due
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] clebertsuconic commented on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
clebertsuconic commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575723411
LGTM
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 commented on issue #2944: ARTEMIS-2602
Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575678397
@michaelpearce-gain the fact is that `LongHashMap` doesn't exists on Agrona: I've made it by myself...
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 commented on issue #2944: ARTEMIS-2602
Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575569183
I don't know why I cannot require the review from @wy96f, but I would like to ask for it :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 commented on issue #2944: ARTEMIS-2602
Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575569797
@clebertsuconic @michaelandrepearce `LongHashSet` is a porting of https://github.com/real-logic/agrona/blob/master/agrona/src/main/java/org/agrona/collections/IntHashSet.java (and the tests too). Please recommend me the better way to deal this this :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 edited a comment on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 edited a comment on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575569797
@clebertsuconic @michaelandrepearce `LongHashSet` is a porting of https://github.com/real-logic/agrona/blob/master/agrona/src/main/java/org/agrona/collections/IntHashSet.java (and the tests too). Please rsuggest me the better way to deal this this :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 edited a comment on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 edited a comment on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575678397
@michaelpearce-gain the fact is that `LongHashSet` doesn't exists on Agrona: I've made it by myself...
And I'm not user Martin T. will add it too, because Aeron (that's use Agrona) won't need it...
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] michaelandrepearce commented on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
michaelandrepearce commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575684552
btw do you have any nice pretty graphs to go with this PR showing the before and after on the heap......
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] clebertsuconic commented on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
clebertsuconic commented on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575765453
It wasn't clear it wasn't ready to me.. .please send another commit with further improvments
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] franz1981 edited a comment on issue #2944:
ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
franz1981 edited a comment on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575678397
@michaelpearce-gain the fact is that `LongHashSet` doesn't exists on Agrona: I've made it by myself...
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [activemq-artemis] michaelpearce-gain edited a comment on issue
#2944: ARTEMIS-2602 Improve Journal loading heap usage
Posted by GitBox <gi...@apache.org>.
michaelpearce-gain edited a comment on issue #2944: ARTEMIS-2602 Improve Journal loading heap usage
URL: https://github.com/apache/activemq-artemis/pull/2944#issuecomment-575677832
@franz1981 i would add the lib as a library/new dependency as its available as a fair small jar in maven with not much dependency, the main reasons we didnt do that with the collection we borrowed from bookeeper was that it wasn;t nicely seperated code it was with the rest of bookeeper and also came with a nasty amount of dependency tree, also we had to make some fixes
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services