그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그

  17 minute read  

Network Latency analysis: sn-etcd-sz vs mn-etcd-sz vs mn-etcd-mz

This page captures the etcd cluster latency analysis for below scenarios using the benchmark tool (build from etcd benchmark tool).

sn-etcd-sz -> single-node etcd single zone (Only single replica of etcd will be running)

mn-etcd-sz -> multi-node etcd single zone (Multiple replicas of etcd pods will be running across nodes in a single zone)

mn-etcd-mz -> multi-node etcd multi zone (Multiple replicas of etcd pods will be running across nodes in multiple zones)

PUT Analysis

Summary

  • sn-etcd-sz latency is ~20% less than mn-etcd-sz when benchmark tool with single client.
  • mn-etcd-sz latency is less than mn-etcd-mz but the difference is ~+/-5%.
  • Compared to mn-etcd-sz, sn-etcd-sz latency is higher and gradually grows with more clients and larger value size.
  • Compared to mn-etcd-mz, mn-etcd-sz latency is higher and gradually grows with more clients and larger value size.
  • Compared to follower, leader latency is less, when benchmark tool with single client for all cases.
  • Compared to follower, leader latency is high, when benchmark tool with multiple clients for all cases.

Sample commands:

# write to leader
benchmark put --target-leader --conns=1 --clients=1 --precise \
    --sequential-keys --key-starts 0 --val-size=256 --total=10000 \
    --endpoints=$ETCD_HOST 


# write to follower
benchmark put  --conns=1 --clients=1 --precise \
    --sequential-keys --key-starts 0 --val-size=256 --total=10000 \
    --endpoints=$ETCD_FOLLOWER_HOST

Latency analysis during PUT requests to etcd

  • In this case benchmark tool tries to put key with random 256 bytes value.
    • Benchmark tool loads key/value to leader with single client .

      • sn-etcd-sz latency (~0.815ms) is ~50% lesser than mn-etcd-sz (~1.74ms ).
        • mn-etcd-sz latency (~1.74ms ) is slightly lesser than mn-etcd-mz (~1.8ms) but the difference is negligible (within same ms).
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611leader1220.05200.815mseu-west-1cetcd-main-0sn-etcd-sz
        1000025611leader586.5451.74mseu-west-1aetcd-main-1mn-etcd-sz
        1000025611leader554.01556544426341.8mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool loads key/value to follower with single client.

      • mn-etcd-sz latency(~2.2ms) is 20% to 30% lesser than mn-etcd-mz(~2.7ms).
      • Compare to follower, leader has lower latency.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611follower-1445.7432.23mseu-west-1aetcd-main-0mn-etcd-sz
        1000025611follower-1378.93667476107892.63mseu-west-1cetcd-main-0mn-etcd-mz
        Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611follower-2457.9672.17mseu-west-1aetcd-main-2mn-etcd-sz
        1000025611follower-2345.65861298257962.89mseu-west-1betcd-main-2mn-etcd-mz
    • Benchmark tool loads key/value to leader with multiple clients.

      • sn-etcd-sz latency(~78.3ms) is ~10% greater than mn-etcd-sz(~71.81ms).
      • mn-etcd-sz latency(~71.81ms) is less than mn-etcd-mz(~72.5ms) but the difference is negligible.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000leader12638.90578.32mseu-west-1cetcd-main-0sn-etcd-sz
        1000002561001000leader13789.24871.81mseu-west-1aetcd-main-1mn-etcd-sz
        1000002561001000leader13728.44643639522372.5mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool loads key/value to follower with multiple clients.

      • mn-etcd-sz latency(~69.8ms) is ~5% greater than mn-etcd-mz(~72.6ms).
      • Compare to leader, follower has lower latency.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000follower-114271.98369.80mseu-west-1aetcd-main-0mn-etcd-sz
        1000002561001000follower-113695.9872.62mseu-west-1aetcd-main-1mn-etcd-mz
        Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000follower-214325.43669.47mseu-west-1aetcd-main-2mn-etcd-sz
        1000002561001000follower-215750.40949040747563.3mseu-west-1betcd-main-2mn-etcd-mz
  • In this case benchmark tool tries to put key with random 1 MB value.
    • Benchmark tool loads key/value to leader with single client.

      • sn-etcd-sz latency(~16.35ms) is ~20% lesser than mn-etcd-sz(~20.64ms).
      • mn-etcd-sz latency(~20.64ms) is less than mn-etcd-mz(~21.08ms) but the difference is negligible..
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011leader61.11716.35mseu-west-1cetcd-main-0sn-etcd-sz
        1000100000011leader48.41620.64mseu-west-1aetcd-main-1mn-etcd-sz
        1000100000011leader45.751734166480221.08mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool loads key/value withto follower single client.

      • mn-etcd-sz latency(~23.10ms) is ~10% greater than mn-etcd-mz(~21.8ms).
      • Compare to follower, leader has lower latency.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011follower-143.26123.10mseu-west-1aetcd-main-0mn-etcd-sz
        1000100000011follower-145.751734166480221.8mseu-west-1cetcd-main-0mn-etcd-mz
        1000100000011follower-145.3322.05mseu-west-1cetcd-main-0mn-etcd-mz
        Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011follower-240.051824.95mseu-west-1aetcd-main-2mn-etcd-sz
        1000100000011follower-243.2857315570983823.09mseu-west-1betcd-main-2mn-etcd-mz
        1000100000011follower-245.9221.76mseu-west-1aetcd-main-1mn-etcd-mz
        1000100000011follower-235.570528.1mseu-west-1betcd-main-2mn-etcd-mz
    • Benchmark tool loads key/value to leader with multiple clients.

      • sn-etcd-sz latency(~6.0375secs) is ~30% greater than mn-etcd-sz``~4.000secs).
      • mn-etcd-sz latency(~4.000secs) is less than mn-etcd-mz(~ 4.09secs) but the difference is negligible.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100300leader55.3736.0375secseu-west-1cetcd-main-0sn-etcd-sz
        10001000000100300leader67.3194.000secseu-west-1aetcd-main-1mn-etcd-sz
        10001000000100300leader65.919141679575944.09secseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool loads key/value to follower with multiple clients.

      • mn-etcd-sz latency(~4.04secs) is ~5% greater than mn-etcd-mz(~ 3.90secs).
      • Compare to leader, follower has lower latency.
      • Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100300follower-166.5284.0417secseu-west-1aetcd-main-0mn-etcd-sz
        10001000000100300follower-170.64934618563323.90secseu-west-1cetcd-main-0mn-etcd-mz
        10001000000100300follower-171.953.84secseu-west-1cetcd-main-0mn-etcd-mz
        Number of keysValue sizeNumber of connectionsNumber of clientsTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100300follower-266.4474.0164secseu-west-1aetcd-main-2mn-etcd-sz
        10001000000100300follower-267.530380863694843.87secseu-west-1betcd-main-2mn-etcd-mz
        10001000000100300follower-268.463.92secseu-west-1aetcd-main-1mn-etcd-mz


Range Analysis

Sample commands are:

# Single connection read request with sequential keys
benchmark range 0 --target-leader --conns=1 --clients=1 --precise \
    --sequential-keys --key-starts 0  --total=10000 \
    --consistency=l \
    --endpoints=$ETCD_HOST 
# --consistency=s [Serializable]
benchmark range 0 --target-leader --conns=1 --clients=1 --precise \
    --sequential-keys --key-starts 0  --total=10000 \
    --consistency=s \
    --endpoints=$ETCD_HOST 
# Each read request with range query matches key 0 9999 and repeats for total number of requests.  
benchmark range 0 9999 --target-leader --conns=1 --clients=1 --precise \
    --total=10 \
    --consistency=s \
    --endpoints=https://etcd-main-client:2379
# Read requests with multiple connections
benchmark range 0 --target-leader --conns=100 --clients=1000 --precise \
    --sequential-keys --key-starts 0  --total=100000 \
    --consistency=l \
    --endpoints=$ETCD_HOST 
benchmark range 0 --target-leader --conns=100 --clients=1000 --precise \
    --sequential-keys --key-starts 0  --total=100000 \
    --consistency=s \
    --endpoints=$ETCD_HOST 

Latency analysis during Range requests to etcd

  • In this case benchmark tool tries to get specific key with random 256 bytes value.
    • Benchmark tool range requests to leader with single client.

      • sn-etcd-sz latency(~1.24ms) is ~40% greater than mn-etcd-sz(~0.67ms).

      • mn-etcd-sz latency(~0.67ms) is ~20% lesser than mn-etcd-mz(~0.85ms).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611truelleader800.2721.24mseu-west-1cetcd-main-0sn-etcd-sz
        1000025611truelleader1173.90810.67mseu-west-1aetcd-main-1mn-etcd-sz
        1000025611truelleader999.30201891786930.85mseu-west-1aetcd-main-1mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is ~40% less for all cases

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611truesleader1411.2290.70mseu-west-1cetcd-main-0sn-etcd-sz
        1000025611truesleader2033.1310.35mseu-west-1aetcd-main-1mn-etcd-sz
        1000025611truesleader2100.24263620120250.47mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower with single client .

      • mn-etcd-sz latency(~1.3ms) is ~20% lesser than mn-etcd-mz(~1.6ms).
      • Compare to follower, leader read request latency is ~50% less for both mn-etcd-sz, mn-etcd-mz
      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611truelfollower-1765.3251.3mseu-west-1aetcd-main-0mn-etcd-sz
        1000025611truelfollower-1596.11.6mseu-west-1cetcd-main-0mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is ~50% less for all cases
      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000025611truesfollower-11823.6310.54mseu-west-1aetcd-main-0mn-etcd-sz
        1000025611truesfollower-11442.60.69mseu-west-1cetcd-main-0mn-etcd-mz
        1000025611truesfollower-11416.390.70mseu-west-1cetcd-main-0mn-etcd-mz
        1000025611truesfollower-12077.4490.47mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to leader with multiple client.

      • sn-etcd-sz latency(~84.66ms) is ~20% greater than mn-etcd-sz(~73.95ms).

      • mn-etcd-sz latency(~73.95ms) is more or less equal to mn-etcd-mz(~ 73.8ms).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000truelleader11775.72184.66mseu-west-1cetcd-main-0sn-etcd-sz
        1000002561001000truelleader13446.959873.95mseu-west-1aetcd-main-1mn-etcd-sz
        1000002561001000truelleader13527.1981060535373.8mseu-west-1aetcd-main-1mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is ~20% lesser for all cases

      • sn-etcd-sz latency(~69.37ms) is more or less equal to mn-etcd-sz(~69.89ms).

      • mn-etcd-sz latency(~69.89ms) is slightly higher than mn-etcd-mz(~67.63ms).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000truesleader14334.902769.37mseu-west-1cetcd-main-0sn-etcd-sz
        1000002561001000truesleader14270.00869.89mseu-west-1aetcd-main-1mn-etcd-sz
        1000002561001000truesleader14715.28735402386967.63mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower with multiple client.

      • mn-etcd-sz latency(~60.69ms) is ~20% lesser than mn-etcd-mz(~70.76ms).

      • Compare to leader, follower has lower read request latency.

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000truelfollower-111586.03260.69mseu-west-1aetcd-main-0mn-etcd-sz
        1000002561001000truelfollower-114050.570.76mseu-west-1cetcd-main-0mn-etcd-mz
      • mn-etcd-sz latency(~86.09ms) is ~20 higher than mn-etcd-mz(~64.6ms).

        • Compare to mn-etcd-sz consistency Linearizable, Serializable is ~20% higher.*
      • Compare to mn-etcd-mz consistency Linearizable, Serializable is ~slightly less.

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000002561001000truesfollower-111582.43886.09mseu-west-1aetcd-main-0mn-etcd-sz
        1000002561001000truesfollower-115422.264.6mseu-west-1cetcd-main-0mn-etcd-mz
    • Benchmark tool range requests to leader all keys.

      • sn-etcd-sz latency(~678.77ms) is ~5% slightly lesser than mn-etcd-sz(~697.29ms).

      • mn-etcd-sz latency(~697.29ms) is less than mn-etcd-mz(~701ms) but the difference is negligible.

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        2025625falselleader6.8875678.77mseu-west-1cetcd-main-0sn-etcd-sz
        2025625falselleader6.720697.29mseu-west-1aetcd-main-1mn-etcd-sz
        2025625falselleader6.7701mseu-west-1aetcd-main-1mn-etcd-mz
        • Compare to consistency Linearizable, Serializable is ~5% slightly higher for all cases
      • sn-etcd-sz latency(~687.36ms) is less than mn-etcd-sz(~692.68ms) but the difference is negligible.

      • mn-etcd-sz latency(~692.68ms) is ~5% slightly lesser than mn-etcd-mz(~735.7ms).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        2025625falsesleader6.76687.36mseu-west-1cetcd-main-0sn-etcd-sz
        2025625falsesleader6.635692.68mseu-west-1aetcd-main-1mn-etcd-sz
        2025625falsesleader6.3735.7mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower all keys

      • mn-etcd-sz(~737.68ms) latency is ~5% slightly higher than mn-etcd-mz(~713.7ms).

      • Compare to leader consistency Linearizableread request, follower is ~5% slightly higher.

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        2025625falselfollower-16.163737.68mseu-west-1aetcd-main-0mn-etcd-sz
        2025625falselfollower-16.52713.7mseu-west-1cetcd-main-0mn-etcd-mz
      • mn-etcd-sz latency(~757.73ms) is ~10% higher than mn-etcd-mz(~690.4ms).

      • Compare to follower consistency Linearizableread request, follower consistency Serializable is ~3% slightly higher for mn-etcd-sz.

      • Compare to follower consistency Linearizableread request, follower consistency Serializable is ~5% less for mn-etcd-mz.

      • *Compare to leader consistency Serializableread request, follower consistency Serializable is ~5% less for mn-etcd-mz. *

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        2025625falsesfollower-16.0295757.73mseu-west-1aetcd-main-0mn-etcd-sz
        2025625falsesfollower-16.87690.4mseu-west-1cetcd-main-0mn-etcd-mz


  • In this case benchmark tool tries to get specific key with random `1MB` value.
    • Benchmark tool range requests to leader with single client.

      • sn-etcd-sz latency(~5.96ms) is ~5% lesser than mn-etcd-sz(~6.28ms).

      • mn-etcd-sz latency(~6.28ms) is ~10% higher than mn-etcd-mz(~5.3ms).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011truelleader167.3815.96mseu-west-1cetcd-main-0sn-etcd-sz
        1000100000011truelleader158.8226.28mseu-west-1aetcd-main-1mn-etcd-sz
        1000100000011truelleader187.945.3mseu-west-1aetcd-main-1mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is ~15% less for sn-etcd-sz, mn-etcd-sz, mn-etcd-mz

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011truesleader184.955.398mseu-west-1cetcd-main-0sn-etcd-sz
        1000100000011truesleader176.9015.64mseu-west-1aetcd-main-1mn-etcd-sz
        1000100000011truesleader209.994.7mseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower with single client.

      • mn-etcd-sz latency(~6.66ms) is ~10% higher than mn-etcd-mz(~6.16ms).

      • Compare to leader, follower read request latency is ~10% high for mn-etcd-sz

      • Compare to leader, follower read request latency is ~20% high for mn-etcd-mz

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011truelfollower-1150.6806.66mseu-west-1aetcd-main-0mn-etcd-sz
        1000100000011truelfollower-1162.0726.16mseu-west-1cetcd-main-0mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is ~15% less for mn-etcd-sz(~5.84ms), mn-etcd-mz(~5.01ms).

      • Compare to leader, follower read request latency is ~5% slightly high for mn-etcd-sz, mn-etcd-mz

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        1000100000011truesfollower-1170.9185.84mseu-west-1aetcd-main-0mn-etcd-sz
        1000100000011truesfollower-1199.015.01mseu-west-1cetcd-main-0mn-etcd-mz
    • Benchmark tool range requests to leader with multiple clients.

      • sn-etcd-sz latency(~1.593secs) is ~20% lesser than mn-etcd-sz(~1.974secs).

      • mn-etcd-sz latency(~1.974secs) is ~5% greater than mn-etcd-mz(~1.81secs).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truelleader252.1491.593secseu-west-1cetcd-main-0sn-etcd-sz
        10001000000100500truelleader205.5891.974secseu-west-1aetcd-main-1mn-etcd-sz
        10001000000100500truelleader230.421.81secseu-west-1aetcd-main-1mn-etcd-mz
      • Compare to consistency Linearizable, Serializable is more or less same for sn-etcd-sz(~1.57961secs), mn-etcd-mz(~1.8secs) not a big difference

      • Compare to consistency Linearizable, Serializable is ~10% high for mn-etcd-sz(~ 2.277secs).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truesleader252.4061.57961secseu-west-1cetcd-main-0sn-etcd-sz
        10001000000100500truesleader181.9052.277secseu-west-1aetcd-main-1mn-etcd-sz
        10001000000100500truesleader227.641.8secseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower with multiple client.

      • mn-etcd-sz latency is ~20% less than mn-etcd-mz.

      • Compare to leader consistency Linearizable, follower read request latency is ~15 less for mn-etcd-sz(~1.694secs).

      • Compare to leader consistency Linearizable, follower read request latency is ~10% higher for mn-etcd-sz(~1.977secs).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truelfollower-1248.4891.694secseu-west-1aetcd-main-0mn-etcd-sz
        10001000000100500truelfollower-1210.221.977secseu-west-1cetcd-main-0mn-etcd-mz
        Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truelfollower-2205.7651.967secseu-west-1aetcd-main-2mn-etcd-sz
        10001000000100500truelfollower-2195.22.159secseu-west-1betcd-main-2mn-etcd-mz
      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truesfollower-1231.4581.7413secseu-west-1aetcd-main-0mn-etcd-sz
        10001000000100500truesfollower-1214.801.907secseu-west-1cetcd-main-0mn-etcd-mz
        Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        10001000000100500truesfollower-2183.3202.2810secseu-west-1aetcd-main-2mn-etcd-sz
        10001000000100500truesfollower-2195.402.164secseu-west-1betcd-main-2mn-etcd-mz
    • Benchmark tool range requests to leader all keys.

      • sn-etcd-sz latency(~8.993secs) is ~3% slightly lower than mn-etcd-sz(~9.236secs).

      • mn-etcd-sz latency(~9.236secs) is ~2% slightly lower than mn-etcd-mz(~9.100secs).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        20100000025falselleader0.51398.993secseu-west-1cetcd-main-0sn-etcd-sz
        20100000025falselleader0.5069.236secseu-west-1aetcd-main-1mn-etcd-sz
        20100000025falselleader0.5089.100secseu-west-1aetcd-main-1mn-etcd-mz
      • Compare to consistency Linearizableread request, follower for sn-etcd-sz(~9.secs) is a slight difference 10ms.

      • Compare to consistency Linearizableread request, follower for mn-etcd-sz(~9.113secs) is ~1% less, not a big difference.

      • Compare to consistency Linearizableread request, follower for mn-etcd-mz(~8.799secs) is ~3% less, not a big difference.

      • sn-etcd-sz latency(~9.secs) is ~1% slightly less than mn-etcd-sz(~9.113secs).

      • mn-etcd-sz latency(~9.113secs) is ~3% slightly higher than mn-etcd-mz(~8.799secs).

        Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        20100000025falsesleader0.511259.0003secseu-west-1cetcd-main-0sn-etcd-sz
        20100000025falsesleader0.49939.113secseu-west-1aetcd-main-1mn-etcd-sz
        20100000025falsesleader0.5228.799secseu-west-1aetcd-main-1mn-etcd-mz
    • Benchmark tool range requests to follower all keys

      • mn-etcd-sz latency(~9.065secs) is ~1% slightly higher than mn-etcd-mz(~9.007secs).

      • Compare to leader consistency Linearizableread request, follower is ~1% slightly higher for both cases mn-etcd-sz, mn-etcd-mz .

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        20100000025falselfollower-10.5129.065secseu-west-1aetcd-main-0mn-etcd-sz
        20100000025falselfollower-10.5339.007secseu-west-1cetcd-main-0mn-etcd-mz
      • Compare to consistency Linearizableread request, follower for mn-etcd-sz(~9.553secs) is ~5% high.

      • Compare to consistency Linearizableread request, follower for mn-etcd-mz(~7.7433secs) is ~15% less.

      • mn-etcd-sz(~9.553secs) latency is ~20% higher than mn-etcd-mz(~7.7433secs).

      • Number of requestsValue sizeNumber of connectionsNumber of clientssequential-keysConsistencyTarget etcd serverAverage write QPSAverage latency per requestzoneserver nameTest name
        20100000025falsesfollower-10.47439.553secseu-west-1aetcd-main-0mn-etcd-sz
        20100000025falsesfollower-10.55007.7433secseu-west-1cetcd-main-0mn-etcd-mz





NOTE: This Network latency analysis is inspired by etcd performance.