AWSの各サービスのアーキテクチャに触れれるような示唆が得られたのでメモ。 Snapshotsから復元したRDSやEBSに対してReadの操作を行った際、初回アクセス時のレイテンシの悪化が見られた。 これがファーストタッチペナルティと呼ばれるもので、公式Doc には以下の記述がある。 The first time a DB instance is started and accesses an area of disk for the first time, the process can take longer than all subsequent accesses to the same disk area. This is known as the “first touch penalty.” つまり、復元後の最初のアクセスのみレイテンシが悪化し、以降同じディスク領域へのアクセスを
![AWS First Touch Penalty](https://cdn-ak-scissors.b.st-hatena.com/image/square/6e1f38012b39d3f0761d1252aa31ee52a5c4356b/height=288;version=1;width=512/http%3A%2F%2Fesola.co%2Fimg%2Favatar-icon.png)