[Gluster-users] How gluster parallelize reads
Gandalf Corvotempesta
gandalf.corvotempesta at gmail.com
Mon Oct 3 09:24:41 UTC 2016
Hi to all.
I know that when writing, a client is writing to all replica at once,
thus the transfer rate is total_bandwidth/replica_count
But what about reads? Client is able to read from multiple nodes at
once? Which kind of data is reading?
Let me try to explain:
let's assume a 3MB file stored on 3 bricks on 3 servers (1 brick per
server). For semplicity, let's assume 1MB stored on each brick.
When client reads, will read the first MB from all of 3 servers in
parallel, then it moves to the secodn MB and so on, or is smart enough
to read the first MB from server1, the second from server2 and the
third from server3 at the same time?
I think that second case is way faster than first.
More information about the Gluster-users
mailing list