ajn11 bt appengine sdk updates

18
appengine sdk update appengine ja night #11 2010.10.16 @tagomoris

Upload: satoshi-tagomori

Post on 22-May-2015

925 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: ajn11 BT appengine SDK updates

appengine sdk updateappengine ja night #11

2010.10.16 @tagomoris

Page 2: ajn11 BT appengine SDK updates

What isappengine sdk update

?

Page 3: ajn11 BT appengine SDK updates

appengine sdk updateって?sdkの最近のアップデート内容について

1.ざっとまとめてみる

2.面白そうな項目についてgdgdトーク

というのが毎回短い時間であってもいいんじゃないかな

Page 4: ajn11 BT appengine SDK updates

最初にやっておけば次からは誰かがやってくれるよね

Page 5: ajn11 BT appengine SDK updates

先行者メソッド

Page 6: ajn11 BT appengine SDK updates

本題

Page 7: ajn11 BT appengine SDK updates

recent updates• 04.21 1.3.3• 05.19 1.3.4• 06.30 1.3.5

• Task Queue (Storage limit, high qps)• Blobstore (BlobReader / BlobInputStream)• Bulkloader, Remote API, Admin Console• (py) pre compilation (, ComputedProperty?)

• 08.17 1.3.6• Datastore (namespace, over-1000 for count/offset)• Custom static error pages• Images API (Automatic image thumbnailing)• Bulkloader, Remote API, Admin Console• (java) app.yaml

• 08.30 1.3.7• Bugfix for namespace manager

Page 8: ajn11 BT appengine SDK updates

1.3.8

(on 10.14, pre on 10.05)ひさびさに大めのアップデート

リリースノート全部読んだ人は?

Page 9: ajn11 BT appengine SDK updates

1.3.8 java• You can run task queue tasks immediately from the admin console.

• Added an OutputSettings class to the Images API to specify the JPEG encoding quality when running in production.

• Support for login of multiple Google accounts within an app, and longer login sessions.

• In queue.xml, the maximum allowed bucket size is now 100.

• Removed limits on zigzag merge-join queries. Therefore the error "The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query." will no longer be thrown in most cases, enabling more types of queries without indexes.

• The whitelist has been updated to include java.net.InetAddress and some interfaces and abstract classes in javax.xml.soap, including javax.xml.soap.SOAPMessage.

• Fixed an issue reserving App Ids by owners of emails containing periods, multiple cases, and googlemail.com address.

• Fixed an issue where TaskOptions had no public getters, making testing impossible.

• Fixed an issue on the development server where PNGs were being returned as JPEGs.

Page 10: ajn11 BT appengine SDK updates

1.3.8 py• Builtin app.yaml handlers are available for common application functions, such as appstats.

• The Admin Console now provides an experimental tool to delete all entities in the datastore or all entities of a given type. This is available only if enabled using the datastore_admin builtin. Deleting entities will count against application quota.

• You can run task queue tasks immediately from the Admin Console.

• You can now specify the quality of JPEG images via the Image API's execute_transforms function. Available in production only.

• Support for login of multiple Google accounts within an app, and longer login sessions.

• In queue.yaml, the maximum allowed bucket size is now 100.

• Precompilation is now enabled by default. To disable, use the --no_precompilation flag when updating your app.

• BlobInfo now has an open() method that returns a BlobReader.

• BlobReader now accepts a BlobInfo.

• Removed limits on zigzag merge-join queries. Therefore the error "The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query." will no longer be thrown in most cases, enabling more types of queries without indexes.

• Fixed an issue with task queue tasks not running on the dev_appserver when using Python 2.6.

• Fixed an issue on the dev_appserver where auto task running wasn't working for BulkAdd.

• Fixed an issue reserving App Ids by owners of similarly-named mails accounts containing periods, multiple cases, and googlemail.com address.

• Fixed an issue on the development server where PNGs were being returned as JPEGs.

Page 11: ajn11 BT appengine SDK updates

Channel API ><

Page 12: ajn11 BT appengine SDK updates

Instances ConsoleThis release includes a new page in the Admin Console, called the Instances page.

This page allows you to view information about all server instances currently in use by your application. This information can be useful in debugging your application and also understanding its performance characteristics.

There’s no configuration needed for this feature. Just click the “Instances” link on the left hand navigation of the Admin Console to see Average QPS, latency, and memory for an instance.

Page 13: ajn11 BT appengine SDK updates

removed limits on zigzag merge-join queryRemoved limits on zigzag merge-join queries.

Therefore the error "The built-in indices are not

efficient enough for this query and your data.

Please add a composite index for this query." will no longer be thrown in many cases, enabling more types of queries without indexes.

Page 14: ajn11 BT appengine SDK updates

run task queue immediately

You can run task queue tasks immediately from the admin console

In queue.(yaml/xml), the maximum allowed bucket size is now 100.

(50 ⇒ 100)

"Task Queues out of labs/experimental for an upcoming

release slated for November."

Page 15: ajn11 BT appengine SDK updates

delete all entities (/ of a given type) (py)

The Admin Console now provides an experimental tool to delete all entities in the datastore or all entities of a given type.

This is available only if enabled using the datastore_admin builtin. Deleting entities will count against application quota.

Page 16: ajn11 BT appengine SDK updates

and...• Builtin app.yaml handlers are available for

common application functions, such as appstats. (py)

• Support for login of multiple Google accounts within an app, and longer login sessions.

• Precompilation is now enabled by default. To disable, use the --no_precompilation flag when updating your app. (py)

Page 17: ajn11 BT appengine SDK updates

appcfg.py download_app

The developer who uploaded an app version can download that version's code using the appcfg.py download_app command.

You can use this to download both Python and Java application code.

Page 18: ajn11 BT appengine SDK updates

Thanks!