[infinispan-dev] Trigger NBST for Auto-Placer

Pedro Ruivo pruivo at gsd.inesc-id.pt
Thu Feb 7 15:05:33 EST 2013


Hi,

I'm working in a way to rebase auto-placer on top of NBST and I have one 
question...
If you have already forgot, auto-placer analyzes the workload and tries 
to move the most remote accessed keys to the corresponding requester.

After calculating the new mappings, I want to trigger the NBST with this 
mapping. I'm thinking to add a new method in the ClusterTopologyManager, 
something like:

triggerAutoPlacer(String cacheName, Mappings newMappings);

and this method it will be a duplicate of triggerRebalance but instead 
of doing chFactory.rebalance(CH) (in the startRebalance() method) I'm 
thinking to do chFactory.autoPlacer(CH, Mappings). The last method will 
override the defautl CH location.

Question: will this solution trigger the NBST or do I have to create the 
triggerAutoPlacer() method in another class?

ps. forget the methods names... I will think in better names later

Thanks!!

Cheers,
Pedro


More information about the infinispan-dev mailing list