[ 
https://issues.apache.org/jira/browse/GEODE-6807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darrel Schneider updated GEODE-6807:
------------------------------------
    Labels: performance  (was: )

> changing advisors to cache advice can improve performance
> ---------------------------------------------------------
>
>                 Key: GEODE-6807
>                 URL: https://issues.apache.org/jira/browse/GEODE-6807
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Darrel Schneider
>            Priority: Major
>              Labels: performance
>
> Cluster messaging uses advisors to know what member of the cluster should be 
> sent a message.
> Currently, every time and advisor is asked for advice to iterates over its 
> profiles building up the advice in a HashSet that is returned.
> I found on a partitioned region client/server put benchmark (32 client 
> threads, 2 servers with redundancy 1) that if I changed the method 
> adviseAllEventsOrCached to remember what it computed, that it caused the put 
> throughput to increase by 8%.
> Advisors know when a profile is added, removed, or modified. When that 
> happens any advice it has cached can be dropped. Also, the requestors of 
> advice need to expect the Set they get back to be unmodifiable. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to