[infinispan-dev] Collocated nodes

Vladimir Blagojevic vblagoje at redhat.com
Tue Sep 28 16:28:32 EDT 2010


We just concluded the sketches of the design :) I was fixing up bugs I introduced in eviction. Now when that is done I want to find the cause for ISPN-668 and fix it.

I should start impl towards the end of the week!

Cheers
 
On 2010-09-28, at 2:50 PM, Manik Surtani wrote:

> How are things looking on the impl anyway?
> 
> On 28 Sep 2010, at 18:02, Vladimir Blagojevic wrote:
> 
>> Manik,
>> 
>> I believe this is going to work as well. As long as hash is placing nodes to same positions in subsequent views and we deterministically devise the neighbour picking algorithm we should be fine. Your suggestion indeed seems elegant and simple.
>> 
>> Cheers,
>> Vladimir
>> 
>> 
>> On 2010-09-27, at 12:05 PM, Manik Surtani wrote:
>> 
>>> 
>>> Perhaps even a simpler idea would be to naively place nodes on the hash wheel, and when you need to select nodes as hosts, pick the first one as usual, and for subsequent nodes, walk clockwise and pick nodes, discarding them if they have the same rack id and machine id.  Once you cycle back to the first node selected, repeat but this time discarding only for a machine id match.  And again, if you cycle back to the first node selected, don't discard any nodes, regardless of machine id/rack id match.  
>>> 
>>> Thoughts?
>>> 
>>> 
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
> 
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Vladimir Blagojevic
JBoss Clustering Team
JBoss, by Red Hat







More information about the infinispan-dev mailing list