On Tue, 23 Mar 2010 14:12:19 +0100, Manik Surtani <manik(a)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_Clie...
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(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache