3.3. ディスクレイテンシーが etcd に与える影響
etcd クラスターは、ディスクのレイテンシーの影響を受けます。コントロールプレーン環境で etcd に発生しているディスクレイテンシーを把握するには、fio テストまたはスイートを実行します。
次の例に示すように、最終レポートでディスクが etcd に適切であると分類されていることを確認します。
... 99th percentile of fsync is 5865472 ns 99th percentile of the fsync is within the recommended threshold: - 20 ms, the disk can be used to host etcd
...
99th percentile of fsync is 5865472 ns
99th percentile of the fsync is within the recommended threshold: - 20 ms, the disk can be used to host etcd
高レイテンシーのディスクが使用されている場合、次の例に示すように、そのディスクは etcd には推奨されないというメッセージが表示されます。
... 99th percentile of fsync is 15865472 ns 99th percentile of the fsync is greater than the recommended value which is 20 ms, faster disks are recommended to host etcd for better performance
...
99th percentile of fsync is 15865472 ns
99th percentile of the fsync is greater than the recommended value which is 20 ms, faster disks are recommended to host etcd for better performance
推奨レイテンシーを満たさない etcd 用ディスクを使用しているデータセンターを複数またぐクラスターデプロイメントを使用すると、サービスに影響する障害が発生する可能性が高まり、コントロールプレーンが維持できるネットワークレイテンシーが大幅に減少します。