[infinispan-dev] HotRod, ClientIntelligence and client-side key location

Galder Zamarreno galder at redhat.com
Fri Mar 26 04:42:34 EDT 2010


On Tue, 23 Mar 2010 14:12:19 +0100, Manik Surtani <manik at jboss.org> wrote:

>
> On 23 Mar 2010, at 07:48, Galder Zamarreno wrote:
>
>>>
>>> * Hash space size (the modulus for all modular arithmetic, hard-coded
>>> for now, may change in future).  An int.
>>
>> That would need adding to the response header, wouldn't it?
>> http://community.jboss.org/wiki/HotRodProtocol#HashDistributionAware_Client_Topology_Change_Header
>
>
> Umm, not sure what you mean.  This is has nothing to do with server (or  
> even endpoint) count... I would have thought this is sent along with  
> hash function version.

Oh right, so what you're implying is that the version itself defines the  
corresponding hash space size? When I first read it, I thought clients  
could pass different space size for each version, hence why I was  
wondering if it should be part of the protocol.

>
> Cheers
> Manik
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
>
>
>
>


-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list