[Osaka/Yokohama] Looking for infrastructure/server side engineers!

[Osaka/Yokohama] Looking for infrastructure/server side engineers!

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Successor to CentOS] AlmaLinux OS server construction/migration service

[Successor to CentOS] AlmaLinux OS server construction/migration service

[For WordPress only] Cloud server “Web Speed”

[For WordPress only] Cloud server “Web Speed”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Reservation system development] EDISONE customization development service

[Reservation system development] EDISONE customization development service

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[Global exclusive service] Beyond's MSP in North America and China

[Global exclusive service] Beyond's MSP in North America and China

[YouTube] Beyond official channel “Biyomaru Channel”

[YouTube] Beyond official channel “Biyomaru Channel”

【まとめ】Fastly(ファストリー) の特徴・機能【CDN】

技術営業部の大原です。

今回は Fastly(ファストリー)のCDNの特徴・機能について記載します。

Fastly CDN の特徴

Fastly CDNは、Webサイトのコンテンツを世界中のサーバーに保存し、そのコンテンツをユーザーにすばやく配信することで、迅速に機能します。
これには、オープンソースのWebアプリケーションアクセラレータである「Varnish」を使用されており、
一時的に中間の場所にコピーを自動的に保存することにより、そのコンテンツ(コンテンツオブジェクト)の送信をより効率的にします。

各ユーザーの地理的位置を追跡し、ユーザーが最も近いサーバーに接続していることを確認します。
これにより、サーバーからユーザーにデータが送信されるのを待つ時間が短縮され、サイトが高速化されます。

また、サーバーからのコンテンツをいつどのように保存するかを完全に制御できます。
サイト上の任意のパスに存続時間(TTL)を設定し、PurgeAPI を使用してサイト上の任意のパスを即座に無効化またはパージできます。

これらのツールを使用することにより、何百万ものページビューに対してサイトのページを1回生成するだけで済みます。
これにより、ユーザーからのリクエストとサーバーの利用料に掛かるランニングコストを低減できます。

Fastly CDN の機能

Fastly CDN、データへのアクセス方法を監視し、コンテンツ配信をカスタマイズするのに役立つ多くの高度な機能も提供します。

● Instant Purging コンテンツをいつどのように更新するかをより適切に制御できます。
エッジでデータを変更するために最大24時間待つのではなく、必要なときに必要な頻度でデータを更新できます。
● Real Time Analytics ネットワークとサイトのパフォーマンスのトップレベルのビューを提供します。
毎秒、すべてのトラフィックに関する関連データを読みやすいレポートにまとめます。
● Conditions リクエストのルーティング方法、送信するヘッダー、コンテンツのキャッシュ方法が変わります。
● Health Checks サーバーに問題が発生した場合でも、すぐにそれを知ることができます。
● Streaming Log サーバーからどこにでも、必要な形式で情報を送信するようにすばやく簡単に構成できます。
● Varnish Configuration Language(VCL) HTTP要求と応答のほぼすべての側面を変更できます。特殊な構成のVCLファイルをアカウントにアップロードできます。
● Fastly API Fastly が公開するAPIで、プログラムの設定を処理することができ、基本的な構成タスクを処理し、独自の管理ビューを作成するためのスクリプトを作成できます。

Fastly CDN の仕組み

Fastly の CDN は、主要なアクセスポイントから「POP(ポイントオブプレゼンス)」と呼ばれるインターネットにCDNサービスを提供し、
インターネットへの接続により、エンドユーザーにコンテンツを配信する際のネットワーク通過時間が短縮される場所にPOPをすばやく配置します。

各POPには、Fastlyキャッシュサーバーのクラスターがあり、エンドユーザーがコンテンツオブジェクトを要求すると、
各エンドユーザーに最も近いキャッシュの場所からコンテンツオブジェクトを高速に配信します。

Fastly のキャッシュは、以下のようなコンテンツオブジェクトに対するエンドユーザーのリクエストのみを受信して​​処理します。

■ どのオブジェクトをキャッシュするか
■ どのくらいの期間・誰がそれらにアクセスできるか
■ インターネット経由で送信するときにオブジェクトを暗号化するかどうか
■ オブジェクトをキャッシュサービスからいつ削除するか  ・・・など

これらの要件を使用して Fastly のCDNサービスを具体的に構成することにより、
これらの決定を行います。この構成プロセスを「プロビジョニング」と呼びます。

Fastly の CDNサービスをプロビジョニングするには、
さまざまなドメインごとに、元のコンテンツオブジェクトを提供するアプリケーションサーバーを特定する必要があります。

アプリケーションサーバーは、データセンターやホスティング施設の物理サーバー、
AWS や GCP などのクラウドサービスで実行されるアプリケーション、またはそれらの任意の組み合わせにすることができます。
これらのソースサーバーを「オリジンサーバー」と「バックエンドサーバー」と同じ意味で高速に参照します。

まとめ

Fastly の CDNでは、独自のサーバーをソースとして使用することに加えて、
Amazon S3 や Google Cloud Storage(GCS)など、様々なクラウドストレージのサービスをオリジンとしての利用もサポートされています。

本記事を参考にFastly の CDNに興味を持っていただければと幸いです。

この記事がお役に立てば【 いいね 】のご協力をお願いいたします!
2
読み込み中...
2 票, 平均: 1.00 / 12
6,152
X facebook はてなブックマーク pocket
[2024.6.30 CentOS support ended] CentOS server migration solution

[2024.6.30 CentOS support ended] CentOS server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

The person who wrote this article

About the author

ohara

I started my career in the telecommunications industry as a salesperson in charge of introducing IT products such as NW services, OA equipment, and groupware for corporations.

After that, he worked as a pre-sales engineer for physical servers/hosting services and as a customer engineer for SaaS-type SFA/CRM/BtoB e-commerce at an SIer-based data center business company, before joining his current company, Beyond.

Currently, I am stationed in Shenzhen, China, the Silicon Valley of Asia, and my daily routine is to watch Chinese dramas and billbill.

Qualification: Second class bookkeeping