- 1、本文档共36页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Building integrated apps on Google cloud platform.pdf
Andrew Gerrand
Building integrated apps on
Googles cloud platform (with Go)
About me
Name Andrew Gerrand adg@
Occupation Go programmer
Developer Advocate
Google Sydney
Google+
Twitter @go_nuts / @enneff
Outline of this talk
● Meet the platform
○ App Engine
■ The new Go runtime
■ Channel API
■ Task Queue API
■ Backends
○ Google Cloud Storage
● Each technology demonstrated in the context of
an example program.
What is App Engine?
● Platform as a Service
● Build web services on Googles infrastructure
● Let developers be developers, not sysadmins
● Forget about maintaining your own machines -
we hold the pager so you dont have to
● Pay only for what you use
App Engine services
● Datastore - structured, indexed data store
● Blobstore - unstructured key/value store
● Channel - push data from the server to the browser
● Task Queues - process jobs asynchronously
● Backends - long-running processes
● and many more!
App Engine history
The Go App Engine runtime
● Launched to Trusted Testers at Google I/O 2011
● Generally available in July 2011
● Near feature parity with Python and Java SDKs
What is Go?
● Go is a modern, general-purpose language
● Compiles to native machine code
● Statically typed
● Lightweight syntax
● Simple type system
● Concurrency primitives
● Cool mascot (the gopher)
● A canonical language at Google
Hello, App Engine!
package hello
import (
fmt
http
)
func init() {
http.HandleFunc(/, handler)
}
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, Hello, world!)
}
Why use the Go runtime?
● Better performance for CPU-bound tasks*
● Lower memory footprint*
● Faster start-up time
● A simpler language
● And I think it
您可能关注的文档
- Articulate_Video_Encoder_'09_功能简介.doc
- artificial cervical disc arthroplasty.pdf
- as3教程_flash_ActionScrip_3.pdf
- ASH Determination - A Useful Standard or a Flash in the Pan.doc
- ASHRAE Laboratory Design Guide review.pdf
- ASHRAE-DC waterside economizer.pdf
- Asia begins to set global beauty trends.pdf
- Asia-Connect-Comparative Employment Risks in the BRIC Countries-Part2.pdf
- ASIC逻辑综合及Synopsys DC.pdf
- ASME B16.21-Nonmetallic Flat gaskets for pipe flanges-2016.pdf
- 北师大版小学数学三年级上册《寄书》教学设计.docx
- 统编版(部编版)语文二年级上册《雪孩子》教学设计.docx
- 统编版(部编版)语文二年级上册《八角楼上》教学设计.docx
- 北师大版小学数学三年级上册《长方形周长》教学设计.docx
- 北师大版小学数学三年级上册《丰收了》教学设计.docx
- 统编版(部编版)语文二年级上册《夜宿山寺》教学设计.docx
- 统编版(部编版)语文二年级上册《风娃娃》教学设计.docx
- 统编版(部编版)语文二年级上册《朱德的扁担》教学设计.docx
- 统编版(部编版)语文二年级上册《难忘的泼水节》教学设计.docx
- 统编版(部编版)语文二年级上册《纸船和风筝》教学设计.docx
文档评论(0)