[
https://issues.apache.org/jira/browse/GEODE-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388934#comment-15388934
]
ASF subversion and git services commented on GEODE-1669:
--------------------------------------------------------
Commit 686db9c07eda35a435f9cf7ba8745f1c79f14000 in incubator-geode's branch
refs/heads/feature/GEODE-1673-PR-212 from [~agingade]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=686db9c ]
GEODE-1669: Made changes to add/remove list of interested keys using addAll()
and removeAll()
The client interests are managed in "FilterProfile" class on server side. These
are maintained
using the concurrent data structures CopyOnWriteHashSet and
CopyOnWriteHashMap...
When set of keys are registered from client, the keys are added to
CopyOnWriteHashSet one by
one (FilterProfile.registerClientInterestList()); Where a new HashSet is
created each time when
an entry is added, which could impact performance based on the number of keys
registered.
Testing:
precheckin
Added new unit test.
> Performance issue with Interest registration with impact on client side event
> processing.
> -----------------------------------------------------------------------------------------
>
> Key: GEODE-1669
> URL: https://issues.apache.org/jira/browse/GEODE-1669
> Project: Geode
> Issue Type: Bug
> Components: client queues
> Reporter: Anilkumar Gingade
> Assignee: Anilkumar Gingade
> Fix For: 2.0.0-incubating
>
>
> The client interests are managed in "FilterProfile" class on server side.
> These are maintained using the concurrent data structures CopyOnWriteHashSet
> and CopyOnWriteHashMap...
> When set of keys are registered from client, the keys are added to
> CopyOnWriteHashSet one by one (FilterProfile.registerClientInterestList());
> Where a new HashSet is created each time when an entry is added, which could
> impact performance based on the number of keys registered.
> This will have implication on the client side event processing; as the event
> processing gets blocked when a interest registration is in progress by other
> thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)