Skip to main content

Major Performance Improvements for Cesium ion in Asia-Pacific

In order to better serve our users and partners, we are excited to share that Cesium has improved streaming speed in the Asia-Pacific region. Effective immediately, performance for existing Cesium ion applications in this area of the world have significantly improved. 

Users’ own assets as well as Cesium World Terrain, Cesium OSM Buildings, and more, will now stream to end users much faster. This update improves Cesium ion’s speed in Japan by up to 152%, Singapore by 43%, and Australia by 39%.

On the left, a view of Tokyo using Cesium OSM Buildings, Cesium World Terrain, and Sentinel-2 imagery being streamed from Cesium ion into CesiumJS before the change. On the right, the same exact view and application loading much faster after the performance improvements.

Cesium ion stores assets in an Amazon S3 bucket in the us-east-1 region (North Virginia).  In our initiative to drive down per-tile latency and improve streaming performance, we have replicated new and existing assets from us-east-1 to ap-northeast-1 (Tokyo, Japan). The replication will allow newly uploaded assets to be retrieved from ap-northeast-1 within roughly 15 minutes of being uploaded and existing objects should benefit from this immediately with no change to existing Cesium ion Clients.

To accomplish the latency reduction, Cesium ion implemented cross-region replication within Amazon S3 for newly uploaded objects and utilized S3 Batch with S3 inventory reports to replicate existing objects. This has allowed Cesium ion to replicate billions of objects to our destination region quickly and efficiently. To select the most optimal region to fetch assets from, we utilize Lambda@Edge functions to accomplish this and append the region to the request’s URI via our API server. Next, the request will be sent to our CDN that runs on Amazon CloudFront which checks the region in the URI and proxies the request to the appropriate region for origin requests.

Cesium ion streaming improvements for Asia-Pacific region.

Cesium strives to continuously reduce latency for users globally. Sign up for a free community account or sign in to experience these improvements.

アジア太平洋地域におけるCesium ionの大幅なパフォーマンス改善

皆さんにより良いサービスを提供するため、Cesiumはアジア太平洋地域、特に日本におけるCesium ion のストリーミング速度を大幅に改善しました。これにより、この地域でCesium ionをお使いの方には、アプリケーションのパフォーマンス改善を即座に実感いただけます。

ユーザー自身のアセットだけでなく、Cesium World Terrain、Cesium OSM Buildingsなどが、より速くエンドユーザーにストリーミングされるようになりました。このアップデートにより、日本では最大152%、シンガポールでは43%、オーストラリアでは39%、Cesium ionの速度が向上しました。

Cesium ionは、us-east-1リージョン(米国バージニア州北部)のAmazon S3バケットにアセットを保存しています。 タイルごとのレイテンシを削減し、ストリーミングパフォーマンスを向上させる取り組みとして、新規および既存のアセットをus-east-1からap-northeast-1(日本、東京)にレプリケートしました。このレプリケーションにより、新規にアップロードされたアセットは、アップロードされてからおよそ15分以内にap-northeast-1から取得できるようになり、既存のオブジェクトは、既存のCesium ionクライアントに変更を加えることなく、すぐに利用が可能です。

レイテンシの削減を達成するために、新しくアップロードされたオブジェクトにはAmazon S3内でクロスリージョンレプリケーションを実装し、既存のオブジェクトにはS3インベントリレポートとS3 Batchを利用しました。これにより、Cesium ionは何十億ものオブジェクトを迅速かつ効率的にデスティネーションリージョンにレプリケートできるようになりました。アセットをフェッチするために最適なリージョンを選択するには、Lambda@Edge関数を利用し、APIサーバー経由でリクエストのURIにリージョンを付加しています。次に、リクエストはAmazon CloudFront上で動作するCDNに送られ、CDNはURI内のリージョンをチェックし、オリジンリクエストに対して適切なリージョンにリクエストを送信します。