App Engine 1.4.1 をリリースしました - High Replication Datastore の紹介 - Google Japan Developer Relations Blog(情報元のブックマーク数)
高い可用性をもってデータを書き込みするHigh Replication Datastoreってのがリリースされたそうです。
本日、新しい種類のデータストアである、High Replication Datastore が使用可能になりました。High Replication Datastore はデータの読み込み、書き込みにおいて、高い可用性を持っており、ただし引き換えに書き込みに要する時間は長くなり、また API におけるデータ整合性のレベルが変わります。High Replication Datastore ではデータのコピーを保持するデータセンターの数を増やし、リアルタイムに Paxos algorithm を使用してデータセンター間におけるデータの同期を行います。1 番大きなメリットは、計画されたメンテナンス期間だけでなく、インフラ側で突発的な問題が起きている間にも、殆どの場合には、アプリケーションの機能すべてが完全な形で利用可能になることです。この 2 つの選択肢のさらに詳しい比較については公式ドキュメントをご覧ください。
Google Developers Japan: App Engine 1.4.1 をリリースしました - High Replication Datastore の紹介
過去のDatastoreはMaster/Slave Datastoreとして登録されていて、今後変更は可能だが一度設定すると戻せないとのこと。
Datastore の設定は一度選択すると変更することができませんので、本日より前に作成したすべてのアプリケーションは Master/Slave Datastore を使用しています。既存のアプリケーションを High Replication Datastore へ移行するために、我々はいくつかのツールを用意しています。ひとつ目は、アプリケーション間でデータを安全にコピーするために、管理コンソールでの設定によりアプリケーションを読み込み専用モードにすることができる機能です。次に、データを 1 つのアプリケーションから別のアプリケーションへとコピーするために、Python SDK と一緒に使用することができるデータ移行ツールを提供します。Python と Java 版のアプリケーションに対して、このツールを使用する方法はこちらに記載があります。
Google Developers Japan: App Engine 1.4.1 をリリースしました - High Replication Datastore の紹介
Google App Engine SDK 1.4.1では、以下が変更されている模様。
ログイン - Google アカウントVersion 1.4.1 - January 05, 2011¶
- During application creation, developers can choose between two Datastore configurations: High Replication or Master/Slave.
- You can set your application's datastore to read-only mode in the Admin Console. Any writes attempted while the app is set to read-only will throw a CapabilityDisabledError. This feature can be helpful for migrating or copying data between two applications.
- The Datastore Admin tool has been updated to allow copying of one app's datastore to another. The destination app must have the Remote API enabled.
- The deadline for offline URL Fetch API requests for Python and Java have been increased to a maximum of 10 minutes. The default deadline for offline URL Fetch requests remains the same.
- Fixed an issue where an AttributeError was occasionally thrown on a datastore query.