[Gluster-users] How gluster parallelize reads
Gandalf Corvotempesta
gandalf.corvotempesta at gmail.com
Mon Oct 3 18:21:29 UTC 2016
2016-10-03 20:13 GMT+02:00 Alastair Neil <ajneil.tech at gmail.com>:
> I think this might give you something like the behaviour you are looking
> for, it will not balance blocks across different servers but will distribute
> reads from clients across all the servers.
>
> cluster.read-hash-mode 2
>
> 0 means use the first server to respond I think - at least that's my guess
> of what "first up server" means
> 1 hashed by GFID, so clients will use the same server for a given file but
> different files may be accessed from different nodes.
I think that 1 is better.
Why "0" is the default ?
More information about the Gluster-users
mailing list