Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Presentation_-_コンテナイメージ高速化技術.pptx.pdf

Avatar for clouddev-code clouddev-code
October 15, 2025
9

 Presentation_-_コンテナイメージ高速化技術.pptx.pdf

Avatar for clouddev-code

clouddev-code

October 15, 2025
Tweet

Transcript

  1. 自己紹介 1. Soushi Hiruta 2. AWS Community Builder 2025 3.

    X @web_se 4. GitHub clouddev-code 5. Zenn clouddev-code
  2. Docker Layer Docker images are structured using a layered architecture,

    where each layer represents a set of filesystem changes. This design allows for efficient storage and retrieval, as layers can be reused across different images. Understanding this structure is crucial for optimizing image builds and performance. Developers can leverage layer caching to enhance build efficiency and reduce deployment times significantly.
  3. Union File System( overlay ) 効率性 このアプローチは、ストレージの使用効率 を向上させ、オーバーヘッドを低減します。 03 コピーオンライト

    Copy-on-Write戦略では、元のデータを変 更する代わりに新しいデータを作成しま す。 02 Union File Systemは、複数のファイルシ ステムを統合し、仮想的な一つのファイル システムを提供します。 構造 01
  4. Docker Layer技術 の重要性 柔軟性 レイヤー化により、再利用性が高まり、ア プリケーションの迅速な展開が実現可能に なります。 03 スピード この技術により、イメージのプルや起動時

    間が短縮され、開発プロセスが加速しま す。 02 Docker Layer技術は、コンテナイメージの 効率的な管理を可能にし、リソースの最適 化を図ります。 効率性 01
  5. Image Snapshotter 利点 Image Snapshotterを使用することで、スト レージの効率化や起動時間の短縮が可能 となります。 03 種類 Snapshotterには、StargzやNydusなどの

    異なる種類があり、選択肢に応じた機能が 提供されます。 02 ContainerdのImage Snapshotterは、コン テナイメージのスナップショットを管理し、 効率的に保存します。 役割 01 https://www.youtube.com/watch?v=Dc6S4vU9GiM&t=534s
  6. Lazy Pulling 適用シナリオ Ideal for environments with frequent scaling, where

    rapid deployment of containers is essential for performance. 03 制約 Dependency on network quality may lead to performance variability, affecting overall container startup efficiency. 02 Lazy Pulling significantly reduces startup times, allowing faster access to containerized applications when needed. 利点 01
  7. SOCI Index Structure SOCI utilizes a sophisticated Index structure (zTOC)

    designed for effective metadata management. This structure streamlines the process of partial image acquisition by organizing metadata for efficient range requests. The zTOC maintains essential data such as layer information and file offsets, enabling fast access to specific parts of container images, significantly enhancing performance in cloud environments like AWS.
  8. SOCIの動作 ダウンロード方式 This method allows for partial downloads, optimizing network

    usage and significantly reducing initial load times. 03 インデックス構造 The zTOC index structure organizes metadata to facilitate quick access to specific image layers and their components. 02 SOCI utilizes Range Requests to download only the necessary parts of an image, enhancing efficiency and speed. Range Requests 01
  9. SOCI Parallel Pull Mode EKS Ultra Cluste 02 使用可能なCPU、IOを有効に活用するよう でリソースにもきにつけたほうがよさそう

    レイヤーイメージを並列にダウンロード 01 https://aws.amazon.com/blogs/containers/introducing-seekable-oci-parallel- pull-mode-for-amazon-eks/