[jboss-jira] [JBoss JIRA] (JGRP-1982) RequestCorrelator: use IntHashMap / LongHashmap for request correlation

Bela Ban (JIRA) issues at jboss.org
Fri Dec 25 10:01:04 EST 2015


    [ https://issues.jboss.org/browse/JGRP-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144140#comment-13144140 ] 

Bela Ban commented on JGRP-1982:
--------------------------------

An interesting property of RequestCorrelator is that all requests (uni- or multi-cast) are _monotonically increasing_. This means we could use something like {{Table}} (with a modified {{remove()}} method)...

> RequestCorrelator: use IntHashMap / LongHashmap for request correlation
> -----------------------------------------------------------------------
>
>                 Key: JGRP-1982
>                 URL: https://issues.jboss.org/browse/JGRP-1982
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.6.7
>
>
> In RequestCorrelator (and possibly other classes), use an IntHashMap or LongHashmap for the request table. Goal: use less space when we have a lot of requests.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list