summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/changelogagent.py
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2019-06-19 15:11:59 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2019-06-20 12:30:59 +0000
commit2e11f61029d0b36893c4aa859f99c22b6202ad12 (patch)
tree632750b74d48b29d7ebf644886603467279eeb12 /geo-replication/syncdaemon/changelogagent.py
parentbcdb77023e2efbbf06ad576851f0f38a0b8b11ab (diff)
afr/read: Implement latency based read child selection
Network latency is an important factor selecting a read subvolume. So this patch is adding two new policy. 1) We measure the latency of a child during a GF_DUMP rpc call. Then use this latency to pick a read subvol having the least latency. 2) Second one is an hybrid mode where it calculates the effective latency by multiplying outstanding pending read request and latency, and choose the least one. Change-Id: Ia49c8a08ab61f7dcdad8b8950aa4d338e7accf97 fixes: #520 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/changelogagent.py')
0 files changed, 0 insertions, 0 deletions