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
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to