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 のディスクを使用している複数のデータセンターにまたがるクラスターデプロイメントを使用すると、サービスに影響を与える障害が高まり、コントロールプレーンが持続できるネットワークレイテンシーが大幅に短縮されます。