{"id":111,"date":"2012-09-28T08:38:05","date_gmt":"2012-09-28T00:38:05","guid":{"rendered":"http:\/\/down.cdhaha.net\/?p=111"},"modified":"2012-09-28T08:38:05","modified_gmt":"2012-09-28T00:38:05","slug":"google-app-engine-sdk","status":"publish","type":"post","link":"http:\/\/down.cdhaha.net\/?p=111","title":{"rendered":"Google App Engine SDK 1.7.2"},"content":{"rendered":"<p><a href=\"http:\/\/code.google.com\/intl\/zh-CN\/appengine\/\" target=\"_blank\"><img decoding=\"async\" class=\"alignright\" title=\"Google App Engine\" src=\"wp-content\/uploads\/2009\/12\/googleappengine.gif\" alt=\"Google App Engine\" \/><\/a>Google App Engine \u53ef\u8ba9\u60a8\u5728 Google \u7684\u57fa\u7840\u67b6\u6784\u4e0a\u8fd0\u884c\u60a8\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u3002App Engine \u5e94\u7528\u7a0b\u5e8f\u6613\u4e8e\u6784\u5efa\u548c\u7ef4\u62a4\uff0c\u5e76\u53ef\u6839\u636e\u60a8\u7684\u8bbf\u95ee\u91cf\u548c\u6570\u636e\u5b58\u50a8\u9700\u8981\u7684\u589e\u957f\u8f7b\u677e\u6269\u5c55\u3002\u4f7f\u7528 Google App Engine\uff0c\u5c06\u4e0d\u518d\u9700\u8981\u7ef4\u62a4\u670d\u52a1\u5668\uff1a\u60a8\u53ea\u9700\u4e0a\u4f20\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u4fbf\u53ef\u7acb\u5373\u4e3a\u60a8\u7684\u7528\u6237\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528 Google \u4f01\u4e1a\u5e94\u7528\u5957\u4ef6\u901a\u8fc7\u81ea\u5df1\u7684\u57df\u540d\uff08\u4f8b\u5982 http:\/\/www.example.com\/\uff09\u63d0\u4f9b\u5e94\u7528\u7a0b\u5e8f\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 appspot.com \u57df\u4e0a\u7684\u514d\u8d39\u57df\u540d\u6765\u4e3a\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u670d\u52a1\u3002\u60a8\u53ef\u4ee5\u4e0e\u5168\u4e16\u754c\u7684\u4eba\u5171\u4eab\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u53ef\u4ee5\u9650\u5236\u4e3a\u53ea\u6709\u8d35\u7ec4\u7ec7\u7684\u6210\u5458\u53ef\u4ee5\u8bbf\u95ee\u3002<br \/>\n<!--more--><br \/>\nGoogle App Engine \u652f\u6301\u4ee5\u51e0\u79cd\u7f16\u7a0b\u8bed\u8a00\u7f16\u5199\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u901a\u8fc7 App Engine \u7684 Java \u8fd0\u884c\u65f6\u73af\u5883\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6807\u51c6 Java \u6280\u672f\uff08\u5305\u62ec JVM\u3001Java servlet \u548c Java \u7f16\u7a0b\u8bed\u8a00\uff0c\u6216\u4f7f\u7528\u57fa\u4e8e JVM \u7684\u89e3\u91ca\u5668\u6216\u89e3\u8bd1\u5668\u7684\u4efb\u4f55\u5176\u4ed6\u8bed\u8a00\uff0c\u4f8b\u5982 JavaScript \u6216 Ruby\uff09\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002App Engine \u8fd8\u63d0\u4f9b\u4e00\u4e2a\u4e13\u7528\u7684 Python \u8fd0\u884c\u65f6\u73af\u5883\uff0c\u8be5\u73af\u5883\u5305\u62ec\u4e00\u4e2a\u5feb\u901f Python \u89e3\u91ca\u5668\u548c Python \u6807\u51c6\u5e93\u3002Java \u548c Python \u8fd0\u884c\u65f6\u73af\u5883\u6784\u5efa\u4e3a\u786e\u4fdd\u5e94\u7528\u7a0b\u5e8f\u5feb\u901f\u3001\u5b89\u5168\u8fd0\u884c\uff0c\u5e76\u4e0d\u53d7\u7cfb\u7edf\u4e0a\u7684\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u7684\u5e72\u6270\u3002<\/p>\n<p>\u5728 App Engine \u4e2d\uff0c\u60a8\u53ea\u9700\u4e3a\u60a8\u4f7f\u7528\u7684\u8d44\u6e90\u4ed8\u8d39\u3002\u6ca1\u6709\u8bbe\u7f6e\u6210\u672c\uff0c\u4e5f\u6ca1\u6709\u91cd\u590d\u7684\u8d39\u7528\u3002\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u7684\u8d44\u6e90\uff0c\u5982\u5b58\u50a8\u7a7a\u95f4\u548c\u5e26\u5bbd\u4ee5\u5343\u5146\u5b57\u8282\u8861\u91cf\uff0c\u5e76\u4ee5\u6709\u7ade\u4e89\u529b\u7684\u8d39\u7387\u6536\u8d39\u3002\u60a8\u53ef\u4ee5\u63a7\u5236\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u6d88\u8d39\u7684\u6700\u5927\u8d44\u6e90\u91cf\uff0c\u4f7f\u5176\u4e00\u76f4\u4fdd\u6301\u5728\u9884\u7b97\u8303\u56f4\u5185\u3002<\/p>\n<p>\u53ef\u4ee5\u514d\u8d39\u5f00\u59cb\u4f7f\u7528 App Engine\u3002\u6240\u6709\u5e94\u7528\u7a0b\u5e8f\u90fd\u53ef\u4ee5\u4f7f\u7528\u591a\u8fbe 500 MB \u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u4ee5\u53ca\u53ef\u652f\u6301\u6bcf\u6708\u7ea6 500 \u4e07\u9875\u9762\u6d4f\u89c8\u91cf\u7684\u8db3\u591f\u7684 CPU \u548c\u5e26\u5bbd\uff0c\u5b8c\u5168\u514d\u8d39\u3002\u4e3a\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u542f\u7528\u4ed8\u8d39\u540e\uff0c\u60a8\u7684\u514d\u8d39\u914d\u989d\u5c06\u63d0\u9ad8\uff0c\u60a8\u53ea\u9700\u4e3a\u4f7f\u7528\u7684\u8d85\u8fc7\u514d\u8d39\u6c34\u5e73\u7684\u8d44\u6e90\u4ed8\u8d39\u3002<\/p>\n<p>Google App Engine\u670d\u52a1\u5668\u7aef\u548cSDK\u5305\u5148\u540e\u66f4\u65b0\u5230\u4e861.4.0\u3002Google App Engine\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u5f00\u53d1\u5806\u6808\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Python\u6216Java\u6765\u6784\u5efa\u548c\u6258\u7ba1\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u4e00\u5b9a\u7684\u8d44\u6e90\u9650\u5236\u5185\u8fd9\u662f\u514d\u8d39\u7684\uff0c\u5982\u679c\u4f60\u7684\u5e94\u7528\u9700\u8981\u989d\u5916\u7684\u8ba1\u7b97\u8d44\u6e90\uff0c\u4e5f\u80fd\u591f\u4ee5\u6781\u5177\u7ade\u4e89\u529b\u7684\u5e02\u573a\u5b9a\u4ef7\u83b7\u5f97\u3002\u672c\u6b21\u662f\u4e00\u4e2a\u8f83\u5927\u7684\u7248\u672c\u66f4\u65b0\uff0c\u53d7\u5230\u5f00\u53d1\u4eba\u5458\u7684\u671f\u5f85\u3002<br \/>\nVersion 1.6.4 &#8211; March 27, 2012<\/p>\n<p>    Billed applications that have specified additional logs retention over 1 GB are now being charged for that storage at $0.24\/GB\/month (the first gigabyte of logs storage is free). All logs beyond an application&#8217;s specified storage limit will be deleted. Please examine your Application Settings page to verify you are retaining the desired amount of logs.<br \/>\n    Datastore statistics now show the amount of storage used by application indexes.<br \/>\n    We have released an experimental utility for migrating your application&#8217;s blobs at the same time you migrate your datastore data. You can opt-in to blob migration in the Admin Console when you start your migration.<br \/>\n    We have updated the experimental Backup\/Restore functionality to include the option to backup and restore to Google Cloud Storage.<br \/>\n    The NDB datastore API is now generally available. For full release notes on the version 0.9.9 and 1.0.0 fixes that have been integrated into the API see:<br \/>\n        http:\/\/code.google.com\/p\/appengine-ndb-experiment\/source\/browse\/RELEASE_NOTES?name=sandbox<br \/>\n    In the Python 2.7 runtime, Background threads are available as an experimental release when using App Engine backends.<br \/>\n    Using the Blobstore API&#8217;s serve_blob() method, your application can serve objects hosted on Google Storage for Developers.<br \/>\n    The Admin Console now provides a Memcache viewer that lists Memcache stats and can display Memcache content based on key.<br \/>\n    In the Capabilities API stub in the SDK, you can now enable or disable a capability using SetPackagedEnabled.<br \/>\n    The Windows installer now prompts to install Python 2.7 instead of Python 2.5.<br \/>\n    The Testbed API now supports the Capabilities API.<br \/>\n    GQL queries in the Admin Console no longer throw an error when a trailing semi-colon is included.<br \/>\n    The Datastore API now includes a NonTransactional decorator to ensure that a function is run outside of a transaction. Existing transactions are paused while the function is executing.<br \/>\n    The Datastore Admin tab in the Admin Console now shows entities from every namespace.<br \/>\n        http:\/\/code.google.com\/p\/googleappengine\/issues\/detail?id=3962<br \/>\n    Fixed an issue with _strptime when threadsafe was specified.<br \/>\n        http:\/\/code.google.com\/p\/googleappengine\/issues\/detail?id=6489<br \/>\n    Fixed an issue where DatastoreFileStub.del fails on tempfile.msktemp.<br \/>\n        http:\/\/code.google.com\/p\/googleappengine\/issues\/detail?id=6749<br \/>\n    WebOb 1.1.1 is now included in the SDK, and used by default there when Python 2.7 is specified.<br \/>\n        http:\/\/code.google.com\/p\/googleappengine\/issues\/detail?id=7014<br \/>\n    Fixed an issue where the index.yaml file was cleared if your skip_files entry differs from the default skip_files list.<br \/>\n        http:\/\/code.google.com\/p\/googleappengine\/issues\/detail?id=7031 <\/p>\n<p><strong>Google App Engine SDK for Python<\/strong><\/p>\n<div class=\"but_down\"><a href=\"http:\/\/googleappengine.googlecode.com\/files\/GoogleAppEngine-1.7.2.msi\"target=\"_blank\"><span>For Win<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/googleappengine.googlecode.com\/files\/GoogleAppEngineLauncher-1.7.2.dmg\"target=\"_blank\"><span>For Mac<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/googleappengine.googlecode.com\/files\/google_appengine_1.7.2.zip\"target=\"_blank\"><span>For Linux<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<div class=\"but_down\"><a href=\"http:\/\/googleappengine.googlecode.com\/files\/appengine-java-sdk-1.7.2.1.zip\"target=\"_blank\"><span>Google App Engine SDK for JAVA<\/span><\/a><div class=\"clear\"><\/div><\/div>\n<p>&nbsp;<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Google App Engine \u53ef\u8ba9\u60a8\u5728 Google \u7684\u57fa\u7840\u67b6\u6784\u4e0a\u8fd0\u884c\u60a8\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u3002App Engine \u5e94\u7528\u7a0b\u5e8f\u6613\u4e8e\u6784\u5efa\u548c\u7ef4\u62a4\uff0c\u5e76\u53ef\u6839\u636e\u60a8\u7684\u8bbf\u95ee\u91cf\u548c\u6570\u636e\u5b58\u50a8\u9700\u8981\u7684\u589e\u957f\u8f7b\u677e\u6269\u5c55\u3002\u4f7f\u7528 Google App Engine\uff0c\u5c06\u4e0d\u518d\u9700\u8981\u7ef4\u62a4\u670d\u52a1\u5668\uff1a\u60a8\u53ea\u9700\u4e0a\u4f20\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u4fbf\u53ef\u7acb\u5373\u4e3a\u60a8\u7684\u7528\u6237\u63d0\u4f9b\u670d\u52a1\u3002 \u60a8\u53ef\u4ee5\u4f7f\u7528 Google \u4f01\u4e1a\u5e94\u7528\u5957\u4ef6\u901a\u8fc7\u81ea\u5df1\u7684\u57df\u540d\uff08\u4f8b\u5982 http:\/\/www.example.com\/\uff09\u63d0\u4f9b\u5e94\u7528\u7a0b\u5e8f\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 appspot.com \u57df\u4e0a\u7684\u514d\u8d39\u57df\u540d\u6765\u4e3a\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u670d\u52a1\u3002\u60a8\u53ef\u4ee5\u4e0e\u5168\u4e16\u754c\u7684\u4eba\u5171\u4eab\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u53ef\u4ee5\u9650\u5236\u4e3a\u53ea\u6709\u8d35\u7ec4\u7ec7\u7684\u6210\u5458\u53ef\u4ee5\u8bbf\u95ee\u3002<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[141],"tags":[574,550,99,575],"_links":{"self":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/111"}],"collection":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":0,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/down.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}